Developer forum

Forum » Ecommerce - Standard features » URL Provider for products

URL Provider for products

Tomas Gomez
Reply

Hi,

We need to set up the URL of the products as "domain/{product_brand}{product_model}". The problem is that this pattern is different from the product name, so we cannot use the standard Ecommerce UrlProvider to put the name in the root path.

One option is to develop a new UrlProvider. Another option is to set the name as "{product_brand}{product_model}" and change the templates of the frontend to display the real name of the product. Is there any other option? What would you recommend us to do?

Regards,
Tomas

 


Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

You can overwrite the name used in URLs in the user interface on the products "Meta data" section - see this section (scroll down to meta data):

https://doc.dynamicweb.com/documentation-9/ecommerce/product-catalog/products#sideNavTitle1-3

That will let you overwrite what is used in the URL.

Also note that Ecommerce URLs have a new feature in 9.7 that let you put the product name in the root of the domain/url structure, see this article:

https://doc.dynamicweb.com/documentation-9/platform/platform-tools/customized-urls#8707

BR Nicolai

Votes for this answer: 1
 
Tomas Gomez
Reply

Thanks, Nicolai!

The Meta data URL  is what I was looking for :-)

Regards,
Tomas

 

You must be logged in to post in the forum