|
|
|
|
"This contribution adds a tax infobox to your site
For my example I just replaced the languages box because my site did not need it but if your site needs this you can make your own box quite easily.
Checkout catalog/includes/column_right.php and catalog/includes/column_left.php
Add tax box header script to the head section of your catalog pages that you would like the taxbox to display on
For example index.php product_info.php etc, etc
Copy the file languages.php into your catalog/includes/boxes directory and replace the existing file or rename it and add a link to the file in either column_right.php or column_left.php
Example
require(DIR_WS_BOXES . 'taxbox.php');
You would add the code above in the place you would like the taxbox to appear
When you have copied the files to the correct locations and made your catalog page edits you can go to your store and test it out
The taxbox is set by default to UK vat but this is easy to change in the languages.php file
How to use
Enter your price in the top box
Choose VAT status i.e inc or ex vat
Click the calculate button and the price inc or ex vat will be dispayed in the grand total box" |
|
|
|
 |
| For more information, visit the official osCommerce contribution webpage. |
 |
|
|