Option Names and Display Names
Posted: Thu Dec 22, 2016 3:32 am
I am working on a site where we have multiple suppliers, who each provide widgets with different subsets of options.
For instance, Vendor 1 had Colors A B and C available, while Vendor 2 has colors B E and F available.
In the backend we call the Options ("Vendor 1 Colors" and "Vendor 2 Colors") and assign them to products. This VQMOD allows you to set a Display Name separate from the Option Name, so that both of those options will be displayed on the product page as "Color".
As I'm only a beginner as far as VQMOD's go, I don't know what the proper method is for adding a column to Opencarts database. Therefore, you must MANUALLY add a column called 'display' to the 'option_description' table, set as a VARCHAR(128).
I would GREATLY appreciate any assistance in how to add this at the VQMOD level.
The code is on Github, and I published it under GPL 3.0.
https://github.com/lucasjkr/opencart-op ... play-names
I would love to hear thoughts, feedback, or instruction on how to manipulate the database structure though VQMOD's.
Thanks
For instance, Vendor 1 had Colors A B and C available, while Vendor 2 has colors B E and F available.
In the backend we call the Options ("Vendor 1 Colors" and "Vendor 2 Colors") and assign them to products. This VQMOD allows you to set a Display Name separate from the Option Name, so that both of those options will be displayed on the product page as "Color".
As I'm only a beginner as far as VQMOD's go, I don't know what the proper method is for adding a column to Opencarts database. Therefore, you must MANUALLY add a column called 'display' to the 'option_description' table, set as a VARCHAR(128).
I would GREATLY appreciate any assistance in how to add this at the VQMOD level.
The code is on Github, and I published it under GPL 3.0.
https://github.com/lucasjkr/opencart-op ... play-names
I would love to hear thoughts, feedback, or instruction on how to manipulate the database structure though VQMOD's.
Thanks