Product Attributes
Changing Attributes
In changing an attribute the following needs to be taken into consideration:
-
Main image and thumbnails
-
Price
-
Stock availability
-
Delivery date
-
Other available attributes
Errors
If a customer does not select an option, then a variety of things can occur
-
Input field is highlighted in a certain colour
-
A nearby error is reported asking them to fill in the information. This should be done so that the rel of the input/select is linked to the class of the error.
For example:
<select name="attributes{if $product_id}[{$product_id}]{/if}[{$attribute.id}]" class="required" rel="error_colour">
</select>
<div class="error_colour errorbox">Please enter your colour</div>
Updated over 2 years ago