Hi,
I am importing a lot of ecommerce content (products, groups, categories etc.) and using the API for this.
After an import, many product URLs will not work (using new url format), because product or group names contains special characters.
What characters are valid/invalid for names in eCommerce?
Is there any way to validate product and group names to ensure that links will work?
BR.
Morten
Developer forum
E-mail notifications
Valid characters in eCommerce?
Posted on 23/02/2011 15:39:20
Replies
Nicolai Høeg Pedersen
Posted on 23/02/2011 16:28:21
The URL handler should handle invalid characters it self...
Dynamicweb.Base.UrlEnable handles the clean up and can be used by you also, but should not be needed. The same used for all other URLs in DW
What kind of characters are giving issues?
Dynamicweb.Base.UrlEnable handles the clean up and can be used by you also, but should not be needed. The same used for all other URLs in DW
What kind of characters are giving issues?
Posted on 23/02/2011 17:37:47
This is one of the product names that is causing problems...
Samsung XL2370HD 23" led
The problem here is the quotation mark, which is not encoded in any way.
The quotation mark closes the href attribute and thereby leaves out the rest of the link...
/Elektronik/TV/Samsung-XL2370HD-23
This is what the link looks like in the page source...
href="/Elektronik/TV/Samsung-XL2370HD-23"-led.aspx?PID=171"
/Morten
Samsung XL2370HD 23" led
The problem here is the quotation mark, which is not encoded in any way.
The quotation mark closes the href attribute and thereby leaves out the rest of the link...
/Elektronik/TV/Samsung-XL2370HD-23
This is what the link looks like in the page source...
href="/Elektronik/TV/Samsung-XL2370HD-23"-led.aspx?PID=171"
/Morten
Nicolai Høeg Pedersen
Posted on 23/02/2011 18:01:26
That is more a bug...
TFS6153, fixed - ready for next SR due next week.
Untill then - path encode in SEO url control panel might solve the problem as well.
TFS6153, fixed - ready for next SR due next week.
Untill then - path encode in SEO url control panel might solve the problem as well.
You must be logged in to post in the forum