Developer forum

Forum » Ecommerce - Standard features » Product link tag with Customized URLs

Product link tag with Customized URLs

Nuno Aguiar
Reply

Hi,

 

I was under the impression that the Ecom:Product.Link tag would be built considering the customized URL settings, meaning, if we had selected "Ecommerce group path (GroupID)", the tag would have "&GroupID=GROUP1" added automatically. Am I wrong?

 

So if we want to add the group path, would we always have to use the LinkGroup tag and if we deactivate the Group path in the Customized URLs we'd get something like www.website.com/products/product?GroupID=GROUP1

 

Best Regards,

Nuno Aguiar


Replies

 
Nicolai Pedersen
Reply

Yes, you are wrong. You should use the LinkGroup tag, and yes, if you disable the group path, this is what you get.

You have all the information in the tags to generate the exact URL you want. But as usual, I guarantee you are doing something that you should not since it is not needed :-).

 
Nuno Aguiar
Reply

HI Nicolai,

 

Good to know I was wrong and you pointed me to the proper tag. Thanks

 

In my defense about building the URL on my own, it's all about Items, feeds, URL patterns, 301 redirects... We do use the tag in the product catalogue module.

 

Best Regards,

Nuno

 

You must be logged in to post in the forum