Developer forum

Forum » Swift » Variant selector and pretty urls.

Variant selector and pretty urls.

Jack Hagedorn
Reply

Hello,

I have a standard Dynamicweb / swift solution and I've added a variant selector. But I'm encountering some issues when selecting the variants.

When I get to the product detail list the page and url looks like this

 

When I pick the first variant either color or volume of the product, everything is fine but when I choose the second variant option this happens:

The URL changes and the options dissapear.

 

But if I refresh the page, everything is fine.

 

This is a standard Dynamicweb / Swift solution there is no custom code inbedded in this.

Can someone please explain to me what is happening, or where I'm doing something wrong.


Replies

 
Suzi Louring
Suzi Louring
Reply

I think a change has been made in a newer version.

I have tested in Swift 1.17 and 1.19 and I get this result:

/swift-b2c-demo-shop/clothing/jerseys/terry-velocity-short-sleeve-jersey

Select color green and size M:
/swift-b2c-demo-shop/clothing/jerseys/terry-velocity-short-sleeve-jersey/green-m

/Suzi

 

You must be logged in to post in the forum