The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

Delivery Price

Johnny4BJohnny4B Member
in Help edited August 2013

Just came across an issue on a clients website.

We have set up multiple categories for products.

We have a default category which covers 90% of their product catalog.

We have a flat fee set for delivery of €8.90

Then we have a few categories which contain a few products which they have on special offer. We have also set the delivery to be a flat fee of €8.90

Problem is we only want the delivery charged once, for example if a client adds to cart a standard product .. the delivery charge is €8.90 as expected.

But if they also choose a product from the specials (another category), it adds an additional €8.90 to the delivery.

All we want is the deliverer to be €8.90, regardless of what categories, or multiple categories the customer buys products from

Can anyone advise please ?


  • winstonwinston FoxyCart Team

    Yep, we have just the thing for you. Check out this code snippet - you'll just need to modify it to be the pricing that you want, then add it to your Checkout template!
  • Thanks winston, not sure why I missed that within the snippets, but works a treat ...

    Unfortunately I have one more small issue ,while this script works great .... after speaking with the client yesterday ... we need to add one more new product category, which will be selling training courses, and as sods law would have it, this wont have a delivery charge !!!!!!

    Any quick fix, or long fix :-), which would allow me now to exclude a specific category we create for the training courses not to apply the delivery charge ..


  • winstonwinston FoxyCart Team

    Shouldn't be too hard - you'd just want to wrap the snippet code:
    FC.checkout.config.orderFlatRateShipping = 9;

    in a named function. Then, just iterate through all the products to check the category, and only add the flat rate shipping if there are products that AREN'T in the training courses catalog.

    That make sense?
  • @winston

    Sorry, yes we figured it out yesterday, thanks for the help

    We are all good now


Sign In or Register to comment.