I noticed on weight based shipping if i add 5:0.00 it will allow free shipping on anything 5 pounds or less, what would i need to change so it only gave free shipping on things that were exactly 5 pounds and ignored things of less weight?
i'm hoping its something simple like changing a '<=' to '='
Hi Q. Thanks for the quick reply but unfortunately that won't work for what I'm trying to do the 5:0.00 was just an example. i need the weight based shipping to ignore anything other than exact values. for example if an item weighed less than 4.99 in your example it would still get charged $2 shipping. I need a way for the $2 to only apply if the item weighed exactly 4.99 lbs or charge $20 if it weighed exactly 99999 but ignore everything between the 10 and 99999.
oh.. then then a code change..
1. EDIT: catalog/model/shipping/weight.php
2. FIND:
3. REPLACE WITH:
1. EDIT: catalog/model/shipping/weight.php
2. FIND:
Code: Select all
if ($data[0] >= $weight) {
Code: Select all
if ($data[0] == $weight) {
Who is online
Users browsing this forum: No registered users and 12 guests