Developer forum

Forum » Development » Problem with Linkgroup clean

Problem with Linkgroup clean


Reply
Hi DW,

I have a problem with the basket where I have used:

<!--@Ecom:Product.LinkGroup.Clean-->

The problem is that when the user click the "Add to basket" on the product card, and then go to the basket.
Then the link does not bring them back to the product card they came from.
The link is just: /Kurv/product.aspx

How can I fix this? I am using the SEO module.

//Peter

Replies

 
Reply
Hi Peter,
why don't you use Ecom:Order:OrderLine.ProductLink tag for this purpose?
 
Reply
Hej Yury,


ok, but that link goes directly from the orderline to the main www. -adress.

I have to investigate further.
 
Nicolai Høeg Pedersen
Reply
Order:OrderLine.ProductLink contains the referring page from which the product was added to the cart.

Product.LinkGroup.Clean contains &GroupID=XXX in the querystring based on the context of which group the product is shown - there is no group context in the cart.

So in cart Order:OrderLine.ProductLink should be used.

 

You must be logged in to post in the forum