\ColourDropdownField
extension of the dropdown field specifically for colour display in dropdown
Synopsis
class ColourDropdownField
extends DropdownField
{
- // members
- protected static String $js_location_for_select_styling = "ecommerce_product_variation_colours/javascript/ColourDropdownField.js";
- // methods
- public static void get_js_location_for_select_styling()
- public static void set_js_location_for_select_styling()
- public void Field()
Hierarchy
Extends
- DropdownField
Members
protected
- $js_location_for_select_styling
—
String
Location used for Javascript that transforms dropdown (you can set alternative location)
Methods
public
- Field() — The ONLY difference we are making here is to remove the "Convert::raw2xml($title)" and replace it with "$title"
- get_js_location_for_select_styling()
- set_js_location_for_select_styling()