Attribute Types (new in v4.950)
Return to Introduction  Previous page  Next page

If you want to create new Attribute Types for your products, you can create and enable objects by the following names:

·ATTRIBUTETYPES_LIST  
·ATTRIBUTETYPE_*  
·ATTRIBUTETYPEINDEXED_*  
·ATTRIBUTETYPE_TMPL_* (for future use only)  
·ATTRIBUTETYPEINDEXED_TMPL_* (for future use only)  

ATTRIBUTETYPES_LIST

This returns a comma-delimited list of new attribute types. Each entry is a colon-delimited list of the following fields:

·Attribute Type "Code" (short code, all ascii, no space or symbols) (reserved code are: memo, text, checkbox, select, radio)  
·Attribute Type Text "Name"  
·Attribute Type Text/HTML "Prompt"  
·Attribute Type Option Flag (does this Attribute Type have Options? 1 or 0)  
·Attribute Type Required Flag (does this Attribute Type have a "Reqd?" flag? 1 or 0)  

ATTRIBUTETYPE_*

This should output the HTML to display the Attribute Prompts on the shopper's screen(s). This is for normal Product Attributes on the Product, Missing Attributes, and Single-Product Upsell screens.

ATTRIBUTETYPEINDEXED_*


This should output the HTML to display the Attribute Prompts on the shopper's screen(s). This is for normal Product Attributes on the Multiple-Product Upsell screens.


 


Send feedback on this documentation.
© 2003 - 2000 Darren Ehlers & OpenUI Developer Consortium