Better Attributes Management

This mod, merges all those 3 concepts

  • "product groups",
  • "product options",
  • "product attributes"

into a single one :"attributes", based on the following idea: any product can have attributes, attributes can be either:

  • "Choosable" (an option)
  • "Not choosable" (a specification)

Both type can be part of "filtering" search (i.e. "product groups")

EDIT ON THE FLY

It adds the ability to edit/add products option groups/option values, on the fly while editing/adding a product using a popup, which is very useful against the current need of having correctly planned in advance the creation of all these parameters in the dedicated pages...

For this, I added 2 new "functions" types (to "select, checkbox, radio...") which are not displayed in the front-end but that are useful to compose, (and be treated as additional filters) the product's attributes as:

  • Specification: (not choosable, can be filtered), which is basically a unique set of paired "Name+Value"', but with the addition of being able to set the numerical value separately from the text + a "Quantity Unit" select box. E.g:


Power: 20 W 

  • Section: (can't be filtered) which takes the role of the "Title" in the formerly "product_attributes" field ("Motor" in the example bellow)


        Motor
        Power: 20 W
        Energetic class: A
I also managed "security things", by "locking" against removal in the edit_option_group.inc.php's popup, both "group" or "values" that are either used in DB's products_options_* or planned to be saved there after saving the product's edition (js).

RESTRICTING OPTIONS/VALUES
If you manage a big catalog with a lot of different type of product e.g: clothes, furniture, cars, it may be uncomfortable in admin to see, let's says in "size" everything like this in the select field:

Size
-100x250mm
-Highest Class
-L
-M
-Middle class
-S
-XL
Therefore I added the ability to define, if a option/value applies to any product, only a product or any  products in a category (+its sub)

INSTRUCTIONS:

This Zip contains a single xml file which should be Vqmod compliant, but you have work to do : everything is mentioned in a the top comment's section


Tags: attributes, options, groups, filters

Price: Free

Downloads

[+]

Version 2019-09-11 | Uploaded 11 Sep 2019 by michaelmo

Compatible Versions: 2.1.6
The package may be compatible with more versions than listed. Contact the author for more information.

Author

michaelmo

France

Contact

Mini Forum

Topic Last Post
Be the first to ask a question about this add-on.