Glossary Item Box

Squirrelcart v6.1.0

Option Quantities

Overview

Option quantity fields can be used to allow your customer to specify how many of a particular option they want to order. For example, suppose you have a product that is a computer. You may want to add options that allow them to specify how many hard drives they want, and of what size.

If you assign price(s) to an option and enable the quantity field for that option, the price of the option is multiplied by the quantity chosen, and multiplied again by the quantity specified for the product itself.

 

Example:

 

In the example above, the base price of the computer is $895. The option quantity field appears below the "500 GB" choice, with the label "# of drives". The customer chose (2) 500 GB hard drives at $149/each. That brings the total for this computer to $1193.00. If they then change the product's Quantity field to 2, the total for this product is going to be $2386.

How to Enable Option Quantities

  1. Open the product option record you wish to add a quantity field for
  2. In the Details fieldset, check the Show Quantity Field:
  3. A Quantity Field Settings fieldset will appear on the record:
  4. The default label for option quantity fields is "Quantity". If you want to use the default label, leave the Field Label field blank. If you want to use a custom label, enter one in the optional Field Label field.
  5. If you want a default value for the quantity field, enter it in the optional Default Value field
  6. You can make the quantity field a text input, or a select input (drop down) via the Field Format field. If you choose select, another field named Quantity Choices will appear below. You will need to enter each quantity number you wish to offer on it's own line.
  7. For text option quantity fields, you can optionally limit the quantities the customer can enter by checking Limit Quantities and setting a Minimum and/or Maximum quantity value.
  8. The Show ? and Help Text fields only appear when tooltips are enabled. They allow you to have a help icon appear that when moused over will display a help tooltip to assist the customer in choosing a quantity for the option. You can read more about this on the Tooltips topic in this documentation.
  9. Save the record

Hiding Checkboxes

Checkbox options are unique in that they are the only ones that directly represent a ON/OFF or YES/NO choice. By default, if you enable the quantity field for a checkbox option, it will appear in the store like this:

In this instance, the checkbox is redundant. You can use the quantity field alone to indicate if the option is chosen or not. To do this, simply check the Hide Checkbox field on the option record and the checkbox field will be hidden from view:

 

 

 

 


© 2001-2017 Lighthouse Development. All Rights Reserved.