Problems, need help? Have a tip or advice? Post it here.
4 posts Page 1 of 1
Hi KK, how are you?
We are having a problem with setting up the shipping cost.
What I need is:
If the total order is below £50 the delivery cost will be £4.95 and if it's above £50 it will be free. I know this problem can be solved with the cart_ex.php and the ‘shipping_by_order_total’ in config.php, but for some reason it is not showing in the Cart. I already replace the cart.php and the cart_ex.php for new files. Do you have any ideas, or do you need to see the code?

Thanks and all the best,
Tony & Rafael
PixelAce
Hi Tony, hi Rafael :)

Please make sure that the items (i.e. cloned pages representing the products) have the 'Requires shipping' region set to 'Yes' (else shipping won't be calculated for these items).

Next, if the 'cart/config.php' has the following setting, you should see the charges being incorporated in the cart -
Code: Select all
$pp['shipping_by_order_total'] = '[ 0=4.95 | 50=0 ]';

In case it does not work, feel free to PM me the FTP+Couch creds for your site and I'll take a look at the problem.
Hi KK,

I forgot to place the 'Requires shipping' code. I feel stupid.

Thanks for the help KK.

And sorry PixelAce and KK for the mistake.

All the best,

RafaelNC
Not a problem, Rafael :)
That is a very easy mistake to make.
4 posts Page 1 of 1