Screen: ShopSite > Products > Edit Product Info

Order Option Pricing

Say an XXL is slightly more expensive than a small T-shirt, or that it costs extra to get the T-shirt signed by the artist who designed it. You can adjust the price of the product depending on the option the customer chooses. Follow this procedure to do so:

  1. Decide which options you will use, and which ones will change the original price of the product. For instance, you want small, medium, large, XL, and XXL. XXL will be $2.00 more. You also want unsigned and signed ($5.00 extra).
  2.  

  3. Enter the options as usual, making sure to mention the price difference to the customer. (Unless you want to hide the charge and surprise them later!)
  4.  

    Small
    Medium
    Large
    XL
    XXL ($2.00 extra)

    Unsigned
    Signed ($5.00 extra)

  5. For every option that will change the base price, you need to add information to let the shopping cart know how to change the price. At the end of each line of an option that will cause a price change, add a semicolon ( ; ) followed by the numerical price difference:
  6.  

    Small
    Medium
    Large
    XL
    XXL ($2.00 extra);2.00

    Unsigned
    Signed ($5.00 extra);5.00

Note that you can only use a period as a decimal separator; you cannot use a comma.

That's it. The shopping cart will automatically adjust the price when the customer chooses the appropriate options. Note: The semicolon and what follows will not be displayed to the user.

You may also adjust the price with options that subtract from the base price, or even multiply or divide the base price. Simply add the appropriate mathematical symbol after the semicolon, and before the price difference. For example, to subtract $5.00 from the base price you enter:

This option subtracts $5.00;-5.00

You may also use any of the following symbols: +,-,*,x,X,/,% in the following ways:

This adds 2.50 to the price;2.50
This also adds 2.50 to the price;+2.50
This subtracts 2.50 from the price;-2.50
This multiplies the price by 2;*2
This also multiplies the price by 2;x2
This also multiplies the price by 2;X2
This divides the price in half;/2
This also divides the price in half;%2

Also, note that the options are added to the base price before the quantity is calculated.

per-attribute pricing


ShopSite Help and Resource Center
February 13, 2004
Give Feedback

© 2007, ShopSite, Inc.
ShopSite Shopping Cart Software