attributes.rst 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. **********
  2. Attributes
  3. **********
  4. ==========
  5. Attributes
  6. ==========
  7. Attributes in the Product Configurator have been enhanced a bit. Navigating to **Sales->Products->Attributes** we have the standard tree view. Creating a new attribute or clicking on an existing one now provides a form view.
  8. **Required** and **Multi** fields serve as default values when adding this attribute to a configurable template in the attribute lines.
  9. =============
  10. Custom values
  11. =============
  12. After adding the attribute to a configurable template and clicking the Custom boolean field both the frotend and backend configurator will check the custom field type. Depending on field type set you can have more options and different behavior in the configuration interfaces.
  13. **Integer** and **Float** values will permit a minimum and maximum value accepted for client-side and server-side validation
  14. **Color** field type provides a color picker widget
  15. **Searchable**: By default when a customer finishes configuration of a product, a search is made to see if there is such a product defined in the database already. This field determines if that search should include this custom value as well.
  16. ================
  17. Attribute Values
  18. ================
  19. Attribute values now have a link towards variants (product.product). Linking attribute values to products provides a large variety of benefits:
  20. 1. When selecting attributes in the frontend, the price of the related product is pulled and can offer a price for the selection as well as the final cost by adding everything up.
  21. 2. Images from the product variants can be used as thumbnails, it is a mandatory setup in order for the thumbnail view to work in the frontend.
  22. 3. Bom's can be computed by using all the related products from the attributes.