Community Forums 

Main Content

Price based on product selected

    Dec 02 2016 20:36:36



    Join date : 2016-12-02      Posts : 5


    Sorry, I know this has to have been asked before but I can't sem to find an answer. I want to submit a price that's dependent on the size of the product selected. I have this which allows the user to select either a 12 or 24 oz. bottle, but how to I integrate a price of $9.99 for the 12 oz. and $17.99 for the second?

    <select name="product">
    <option value="Puppy Shampoo 12 oz">Puppy Shampoo 12 oz</option>
    <option value="Puppy Shampoo 24 oz">Puppy Shampoo 24 oz</option>

    Of course, I do have my the POST, id, and submit information in my form but I can't seem to figure out how to submit the appropriate price based on the selection.



    Dec 02 2016 23:00:41



    Join date : 2008-09-18      Posts : 2973

    You might change to productpr, described at

    Some shipping help documents are available at

    Dec 03 2016 00:17:43



    Join date : 2016-12-02      Posts : 5

    Ah, thank you Alan. That was what I needed.