O
O
Oleg Olegovich2022-04-16 10:31:18
MODX
Oleg Olegovich, 2022-04-16 10:31:18

How to link products to other categories in minishop2?

When tobacco is added to the basket, you need to make it disappear from the list.
625a706f71881593788606.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danny Arty, 2022-04-16
@DanArst

Write your own snippet that displays these categories in the product card and will check if the product from this category is in the cart. If at least one product from the category is in the cart, then add the .hidden class to the category , for example, and simply hide this class in the list in CSS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question