Developer forum

Forum » Swift » Product link in cart uses full URL

Product link in cart uses full URL

Martin Ottesen
Martin Ottesen
Reply

Hi DW,

It seems that the product link from the cart differs from the actual product url.

We have solution where the product URL looks like this: https://goecker.dk/epson-surecolor-sc-p700-a3-printer

However when you go back to the product from the cart 

The URL ends up using the full URL, like this: https://goecker.dk/detalje/workflow/printere/epson-surecolor-sc-p700-a3-printer

 

I have tested it on a demo swift aswell, where I get similar results. 

This product: http://smartpage.swift.dwdemo.dynamicweb-cms.com/e-bikes/e-mountain-bikes/e-big-tour-400eq/s

Becomes this: http://smartpage.swift.dwdemo.dynamicweb-cms.com/special?productid=6110866994M&variantid=VO12

When you access it from the cart.

Im not sure whats causing it, but it would be preferable to keep the same URLs no matter where you access the products from.

 

 

 


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Yes - we are aware that this can happen in some setups.

We have made some changes to product URLs just in last sprint - they are coming in the next release if not already on Github.

Sorry about the inconvenience.

Votes for this answer: 1
 
Martin Ottesen
Martin Ottesen
Reply

That sounds good, thanks Nicolai.

 

You must be logged in to post in the forum