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.

Conditional Shipping?

sarnoldsarnold Member
in Help edited June 2011
Background: I'm using Foxycart w/ Foxee

Our store currently sells both books and tshirts. Our problem is that books can ship via media mail and tshirts can't. We'd like the customer to have the option to ship via media mail only if they have just a book in their cart. If they have a tshirt and book (or just a tshirt), media mail should not be an option.

I'm not quite sure how to start this one, any help would be great!
  • brettbrett FoxyCart Team

    Give the stuff over there a look to see if you can find something that'd make sense. If you need help just let us know.
  • lancelance Member, Community Support Member

    As Brett said, there are great snippets there. Are you using live rates?

    One thought that comes to mind immediately is that you can loop through the JSON object and, if there is any product that doesn't qualify for that option, you can hide the option using jQuery.

  • lancelance Member, Community Support Member
    You might want to check out this thread if you're looking for an example on how to review categories in the JSON object:

Sign In or Register to comment.