Show VAT separately

Sometimes it is desirable to show the price including vat in the shopping cart (and possibly in the rest of the order process like the order confirmation) and a separate vat amount. This can be done with the custom layout. There are two steps which should be taken to accomplish this.

Step 1, include information in Excel

Two columns with price information are included in the excel, the price including VAT and the price excluding VAT. The price including VAT will be used to show in the productlist, more info and shoppingcart. The price excluding VAT will be used for the VAT settings, see the example below.

Step 2, custom layout

Within the custom layout the code to show the VAT amount should be included. The example code below shows the VAT amount. For instance: there is a product in the shopping cart with a displayed price (including VAT) of $11,90. This code will then show the text ‘VAT 19%: $1,90’.

<table border="0" cellpadding="0" cellspacing="0">
        <tr style="myshop-repeat:vat-list;">
                <td colspan="4">
                        VAT <span style="myshop-value:vat-percentage"/>:&nbsp;
                        <span style="myshop-value:price-vat-formatted">vat</span>

Overview applicable extensions


Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Post Comment