osHelpers - Help for your osCommerce store
 
Google Base Feed Germany
iFrame Defender v1.2
oscommerce Seo
  Seo Pack 2
  SE Friendly URLs
  Session ID Removal
  Title and Meta Tags
  Google Sitemap
Magnum Shopping Cart
  Magnum MVS 8.4 Basic
osCommerce Services
  osc / cre patch
  Data Entry
  Data Extraction
  bugs and fixing
  Site Transfer
  creloaded Transfer
  Design Special
  Hosting
osCommerce Templates
osCommerce Contributions
  Credit Modules
  Features
  Images
  InfoBoxes
  Languages
  Order Total Modules
  Other
  Payment Modules
  Reports
  Shipping Modules
  Templates/Themes
  Zones
osCommerce Articles
osCommerce Tutorials
  Installing osCommerce
  Configuring your store
  Adding categories
  Adding products
  Adding product attributes
  Configuring currency
  Adding payment modules
  Adding shipping modules
  Configuring sales tax
  Editing your home page
  Editing columns
  Editing header and footer
  Creating specials
  Managing customers
  Sending out a newsletter
  Sending out email
  Managing your banners
  Backup database
CRELoaded Tutorials
  Add Administrators
  Add Article Author
  Additional Images
  Create a New Page
  Define Mainpage
  Disable cc Encryption
  Disable Company Field
  Disable Country
  Disable Date of Birth
  Display broken images
  Easypopulate Export
  Email confirmation
  Insert Faq
  Max Package Weight
  Require Terms of Use
  Affiliate Newsletter
  Enable Cache
CB Power Affiliate
Tell A Friend
 

Tell someone you know about this product.

   OSHELPERS | OSCOMMERCE CONTRIBUTIONS | INFOBOXES | 1914   


oscommerce Tax/VATCalculatorinfobox
[1914]
 
 
box_bg_l.gif.
"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.
box_bg_r.gif.
 

osHelpers

osHelpers