This topic has been marked as not a support question.
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
This topic has 2 voices, contains 2 replies, and was last updated by TB Support 4479 days ago.
ThemeBurn Support › Forums › OpenCart Themes › Shoppica OpenCart Theme › Color Swatches on product options
This topic has been marked as not a support question.
Opencart has the limitation of not allowing to control stocks in a hierarchical options mode that would permit to know the stock for each product by color and size. That’s why I’ve decided to create every product color as a new product and have options for sizes. But now I need to have a connection between the different colors of a given product. I was thinking in having little squares filled with the different colors available for a given product. Each of this squares would have a link to the product of that specific color. Any advice on how to acomplish this? |
|
February 1, 2012 at 5:26 pm #5799
|
|
Just a note of my progress… When creating product options, there is the possibility to create with the type “image”. I’ve added an option named COLOR and created the option values red, black, green, etc. For each of this options value I’ve added a square image of the corresponding color. I’ve decided to modify the product_options_tpl to have something simulating color swatches like this when the type of option is an image:
Since I don’t plan to use the award points functionally I was trying to use this field to put the destination product number. However I’m unable to get the rigth value when calling $option_value['points']. I’m uploading a screenshot, so you can better understand what I need. |
|
February 1, 2012 at 5:37 pm #5800
|
|
Hi, Unfortunately, you can’t use the You will have to mod:
in order to initialize it. Best regards, |
|
February 7, 2012 at 10:25 am #5946
|