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.

Drop Down Box with Price Options

weedygiraffeweedygiraffe Member
in General edited October 2009
I just signed up with Foxy Cart and I'm trying to set everything up with not-so-much luck.

Specifically, I am trying to add drop down boxes that will allow for different pricing options. Problem is, I have no clue how to do that. Any tips? Thanks so much!
  • tookingstookings Member
    edited October 2009
    Hi weedygiraffe. (Cool name, BTW :)

    Were you trying to modify the price of an item with options for that item? ie. view the page and source on something like this:

    The drop-down in this case will add different amounts to the base price using special codes in the form value setting. (The checkboxes do the same thing as well, but allow more than one option to be picked.) Taking the first option, this code:
    <select name="Size">
    <option value="Small{p+2.00}">Small (+$2)</option>
    <option value="Medium" selected="selected">Medium</option>
    <option value="Enormous{p+150.00}">Enormous (+$150)</option>

    ...handles the drop down box, along with the price changes. Take a single line:
    <option value="Enormous{p+150.00}">Enormous (+$150)</option>

    ...and the important part is this:

    ...the special code "{p+150.00}" tells foxycart that if that item is picked, to increase the overall price by $150.00. There are more options that can be changed, and a deeper overview here:

    Does that help you get started?
  • Huge help, exactly what I needed and it worked like a charm! Thank you so much!
  • Awesome. :)

    (Let us know what you create once you go live!)
Sign In or Register to comment.