Is there a way to have the URL change when user cl...
# replo-help
a
Is there a way to have the URL change when user clicks on different Product Variants (on a PDP built in Replo)?
Replo isnt updating the URL with the variant ID when i click on differnet variant selectors
p
Hi Andy, Leo here from the Replo team. At this time, this is not possible in Replo. Replo updates the selected variant on the component but it won't update the URL as a regular PDP from Shopify
a
thanks for clarifying @Leo Garcia (Replo Team)
can i ask u a question about the best way to handle custom variant selector content?
n
@Andy Fisher sorry to jump in here, but I think one clarification here - Replo should append the correct
?variant=
parameter to the URL, when you have the entire product page built in Replo which it looks like is the case here
I'm not completely sure why it's not, but going to look into it!
a
@Noah Gilmore thanks!
n
yep, confirming this is a bug with PDPs which have very specific configurations. Should be fixed presently!
Alright, should be fixed now! After republishing the template, you should see the ?variant= parameter working correctly 👍
a
awesome! thanks @Noah Gilmore
🙌 1