Bonus Punkte System und PDF Rechnung Plugin

 Im Rechnungstemplate folgendes eintragen:    VOR :  

{if count($data.taxes)}
                        {foreach from=$data.taxes item="tax" name="taxes"}
                            <li>inkl. Mwst. {$tax.rate_formatted}%:  {$tax.amount_formatted} {$data.invoice.invoice_currency}</li>
                        {/foreach}
                    {/if}
                     

 DIES EINBINDEN

 {if count($data.order.order_total_data)}
                        {foreach from=$data.order.order_total_data item="bonuseintrag" name="bonuseintraege"}
{if  $bonuseintrag.orders_total_key == 'pixbonus'}
                            <li>{$bonuseintrag.orders_total_name}:  {$bonuseintrag.orders_total_price.formated}</li>
  {/if}
                        {/foreach}
                    {/if}
   

DANN NACH

      <li><b><font size="3">{txt key=TEXT_XT_ORDERS_INVOICES_TOTAL}:  {$data.invoice.invoice_total_formatted} {$data.invoice.invoice_currency}</font></b></li>
 

DIES EINBINDEN:  

{assign var=summetotale value= $data.invoice.invoice_final_subtotal_price}
 {php}
 if(ACTIVATE_PIX_BONUS_PRODUCTFACTOR == 'true'){
$_pixtotal = $this->get_template_vars('summetotale') * (float)PIX_BONUS_FACTOR;
 
}
{/php}
 <li><b><font size="3">{txt key=TEXT_PIX_TOTALBONUSPOINTS}: {php} echo $_pixtotal{/php}</font></b></li>