Is there a way to conditionally check if i’m on product variation page url like
-
want to filter the output of the structured data only when i’m on page like this :
mydomain.com/myproduct?attribute_pa_color=red
A variation page with the attributes in the url
The reason is rules violations with Google Merchant, price missmatch- so need to change the data to show only the variation price in structured data – without this modification the data is inherit from the the parent product (lowest price and highest price etc)
Hope i’m clear Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Is there a way to conditionally check if i’m on product variation page url like’ is closed to new replies.