Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Curious problem - weight and price having tax added


bigbird_3156

Recommended Posts

Posted

Hi guys...

 

After much pain and trial I have added the 'Add Weight To Product Attributes v0.2' to my site so that I can as the name would suggest alter the weight as well as price with product attributes...

 

There is only 1 small problem, and I think but am not 100% that it stems from this add on ...

 

I have noticed that an additional 10% is added to the weight of all orders now when you go to the checkout... 10% is the amount of Aussie GST (tax) that is added to an item and i think that this is being added to the weight now as well as the price...

 

Does anyone have any idea where I could start in fixing this problem????

 

I have added an extra field to product_attributes in the SQL that accounts for the weight field, but that is the only real change I have made, besides of course uppdates to the following files..

 

admin/products_attributes.php

admin/includes/languages/english/products_attributes.php

includes/classes/shopping_cart.php

 

Thanks for any suggestions

  • 1 year later...
Posted

In the install.txt that accompanied the contribution there is a section:

===================

NOTES:

===================

IMPORTANT: 2.2MS2 does not give you direct access through the admin pages to 2 important variables, SHIPPING_BOX_WEIGHT (defaults to 3 as in 3lbs) and SHIPPING_BOX_PADDING (defaults to 10 as in 10%). To edit these values, find the respective configuration_key fields in the configuration table and edit the configuration_value. They will be added to your product's weight at weight calculation time. For more information on their usage see the file /catalog/includes/classes/shipping.php, method quote()

 

This may be your problem.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...