S
S
sergey2016-03-23 11:58:40
PHP
sergey, 2016-03-23 11:58:40

Why did the option disappear: the inscription color selection in the product card?

Actually, the choice itself is made and the selected color goes into the basket, but the inscription of the color selection next to the text disappeared: "You can see the color on the screen 5bf40b2933ae4a9e991da0c0a1f56bdf.png"
in scripts, etc., the inscription of the selected color suddenly disappeared.
Site on OpenCart bean bag
What could be the matter and why is this happening?
UPD: I rolled back the system before the start of adaptation, everything works, but only I make changes to the styles (I transfer them from the product.tpl markup to the style file, well, I upload them to the server, as the option stupidly disappears. I don’t know what could be wrong? Help someone in the topic. Thank you.
When viewing the markup of the rolled site, it is clear that in

<div class="options">
            <h2>Выберите цвет  {...тут добавляется новый класс....}</h2></div>

an additional class appears, with the selected color...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir, 2016-03-23
Khatter @mrKhatter

Look in the direction of z-index`a...
Although your lable element does not change with display:none on hover`e; on display:block; so something is wrong in js

V
Vitaly, 2016-03-23
@rim89

You need to look at their working code ... I would look in JS , where the value should be inserted when the option is selected

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question