S
S
Sergey Shkurikhin2020-06-28 14:19:42
JSON
Sergey Shkurikhin, 2020-06-28 14:19:42

How to make a product card image clickable?

Images of products in categories and in similar products under the description are not clicked and you have to click on the text under the image.

PS / This happened after disabling one of the theme's functions - Quick view. Previously, a preview of a short description was opened there. I turned it off to immediately go to the product page, but the pictures became not clickable. I don't want to change the subject. Turning Quick view back on is not an option, since it still doesn’t work correctly - on mobile devices, in any case, product card images are not clickable.

As an option, you need js, which, on clicking on .thunk-product-image, will jump to the href of the link immediately following this div.

An example of a link where pictures are not clicked: https://blagomart.ru/index.php/product-category/fa...
0

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg, 2020-06-28
@politon

View modules and wrap images directly into links, faith does not allow?

S
Sergey Shkurikhin, 2020-06-28
@shkyrikhin99

And which modules can be more detailed?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question