[SOLVED] Auto calculate Shipping
Posted: Wed May 25, 2016 10:20 pm
Hello,
I having been trying to find a way to apply shipping automatically instead of it appearing as an option in the checkout. I have setup a "Flat Rate" shipping of $10 [for eg.] and "Free shipping" for orders above $100.
At this point, in the checkout, if the orders are above $100, it shows both "Free and Flat Rate" shipping with a radio button and if it's below $100, it says "Flat Rate" shipping. I don't want this! I would like this to appear only on the "Confirm Order" section.
I looked for support in the forum and found similar issues, however, the solution provided was not for ver2.2. For e.g.,
http://forum.opencart.com/viewtopic.php ... 4&start=20
A lot of these topics have the same/ similar solution. So, I tried my luck and got the below error in the "Shipping Method" section of the checkout page:
Notice: Undefined variable: quote_data in /home/blingssf/public_html/DBTEST/catalog/controller/checkout/shipping_method.php on line 41
I also tried to hide "STEP 4: Shipping Method", but this means it doesn't add shipping at all to the order.
Has anyone had luck with this?
If this is not possible, can you suggest an extension that can auto calculate shipping removing section 4?
I tried a few extensions, even the single page ones, however, they either have the shipping method show up or it skips shipping completely.
Your help is much appreciated.
Thanks,
B
I having been trying to find a way to apply shipping automatically instead of it appearing as an option in the checkout. I have setup a "Flat Rate" shipping of $10 [for eg.] and "Free shipping" for orders above $100.
At this point, in the checkout, if the orders are above $100, it shows both "Free and Flat Rate" shipping with a radio button and if it's below $100, it says "Flat Rate" shipping. I don't want this! I would like this to appear only on the "Confirm Order" section.
I looked for support in the forum and found similar issues, however, the solution provided was not for ver2.2. For e.g.,
http://forum.opencart.com/viewtopic.php ... 4&start=20
A lot of these topics have the same/ similar solution. So, I tried my luck and got the below error in the "Shipping Method" section of the checkout page:
Notice: Undefined variable: quote_data in /home/blingssf/public_html/DBTEST/catalog/controller/checkout/shipping_method.php on line 41
I also tried to hide "STEP 4: Shipping Method", but this means it doesn't add shipping at all to the order.
Has anyone had luck with this?
If this is not possible, can you suggest an extension that can auto calculate shipping removing section 4?
I tried a few extensions, even the single page ones, however, they either have the shipping method show up or it skips shipping completely.
Your help is much appreciated.
Thanks,
B