Answer the question
In order to leave comments, you need to log in
How to display links to positions with the same color in the opencart product card?
It is necessary to display links to positions of a different color in the product card (there are three bags, one is white, the other is black, the third is red. I need to display links to black and white on the current page when I am inside the red one).
I thought that it is possible to write down the article + color in the model, select by this field (after cutting off the part with the color), and display it. but fails to implement.
Please tell me how this can be done. maybe you know a more beautiful way, some module, and share it, I will be grateful (:
Answer the question
In order to leave comments, you need to log in
That's not how it's done. Add "color" in the options and create the colors you need, then go to the product settings, option input and select add the colors you need there. As a result, you have one bag and several options for its color.
Alternatively, you can manually fill in related products for each bag with products with different colors, but this will not be correct, and in the future you will not be able to add any nail polish to the bag as related products.
If the option with options is not suitable... then I won’t tell you, alas, search on the official website in the extensions section or on Opencartforum, it seems like something came across, but I don’t remember.
I’m not familiar with opencar, but I suspect since this is a separate module, it means that it has its own class, so you can simply push off from it with css.some-wrap-component a { color: red;}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question