Q&A: popup for category and product page bug

PrestaShop user question

Hi, I am trying to define popup on all category pages and on product pages using category IDs
Only if viewed product is associated with category
Only on selected Category pages:
But if I switch on both nothing work. Only if I select one option and disable other option it work.
It should be possible use first OR second filter but also first AND second in same time - so the popup shows on product page and category/subsategory pages too ...


PrestaShop expert answer

Hello
"Only if viewed product is associated with category" excludes option "Only on selected Category pages" (and opposite).
"Only" in both cases means that it will work only if viewed page will meet selected rule.

If you're on category page: rule to show "only if viewed product is associated with category" is not met
if you're on product page: rule to show "only on selected category pages" is not met

In this case it is necessary to create two popups,
- one for rule: "Only if viewed product is associated with category"
- second for rule: "Only on selected Category pages"
Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment