You can create common attributes for an item, such as size, color, etc., by entering a selection of choices into the item's Options field.

For example, try editing an item and entering the following parameters into the Options field:

Size S M L

Color Red Blue "Sea Green"

When you click on "Update," you'll see that the "Order" button for this item is now accompanied by two menus, so that a shopper can select size and color when ordering.

An item can have as many options as you want, but each option should have a unique name. The example above shows Size and Color as option names (also called attribute names, or option labels), and each of these names (Size and Color) should be used only one time per item. Each set of options should begin with an attribute name that describe that option, followed by the attribute choices, separated by a single space. After the first set of options, add a full line break (carriage return), then start the next option set.

Syntax errors Any errors in syntax prevent Yahoo Store from recognizing an option and as a result the item can not be added to the shopping cart when your Item Option Validation is set to "not allow items with unrecognized options". In order to prevent valid item options from being rejected due to improper syntax, please review your item options for the following:

  • Do not add more than one space between attribute values (for example Size#S#M#L where the # sign represents one space).
  • Do not add HTML to the Options field.
  • Choices that contain multiple words and include spaces, like the color "Sea Green", must be enclosed by double-quotes. Failure to place these items in quotes will break the item into two or more separate choices in the menu.
  • Each series of options must be separated from the next by a full line break. Do not add extra line breaks other than those separating options.
  • Do not add spaces appearing at the end of a line; upon publish these spaces will be removed causing an unrecognized item option.
  • Do not use the HTML key "name=value" for any button or field name. (Yahoo Store looks for the "name=" key for options and thus using it within a form (such as for image order buttons) you create outside of the Store Editor will cause problems.
  • Do not use any of the Store-reserved names for button or field labels or names

Notes Regarding the Options field

  • Quantity discounts (for example 1 for $10 5 for $25, 10 for $40) are applied before incremental pricing. The shopping cart will use the quantity price first and then add the incremental price to each item with that incremental price option. For example, imagine you have a store selling t-shirts for $10 but for black t-shirts you add a $5 premium, and you offer a quantity discount of 5 for $25. If a customer orders 4 red shirts ($10 each) and one black ($15) then upon checkout the cart will show 4 red shirts totaling $20 ($5 each as 4 red + 1 black =5 shirts total and qualifies for the quantity pricing) and one black shirt at $10 total($5 quantity price plus an additional $5 for the incremental option).
  • If you have several options and would like each set of options to appear on its own line, you will need to set the Order-Style field in the Store Properties section of your Variables page to "Multi-line".
  • Was this article helpful?

  • Yes
  • No

Still need help?