categories – Hiding products with a specific tag and traffic UTM parameter from WooCommerce main shop page
Question
I want to hide all products with tags/categories from the shop page if users visit from a URL without UTM Parameter. If the user visits from a URL with a parameter, all hidden products above will visible
e.g: all product with tag “Tshirt”
url_1: “storexxx.com/product/product_abc” => hide product with tag “Tshirt”
url_2: “storexxx.com/product/product_abc/?utm_source=email” => unhide product with tag “Tshirt”
Please help me. Thank you!
0
1 year
2022-06-28T22:52:27-05:00
2022-06-28T22:52:27-05:00 0 Answers
0 views
0
Leave an answer