Issue 156: Product slug support patch
Status:  New
Owner: ----
Reported by ceager, Dec 8, 2008
As discussed in the group, having a way to include the full product name in the URL would 
optimize Substruct installations for search engines. This patch includes support for adding "slugs" 
to product links.

The method I used requires a uniform code length, which many stores already use. There are other 
ways of implementing this: all-numeric codes, delimiters, etc., but I think a uniform code length is 
the most common and most flexible in terms of code content.

To-do: add validation of product codes when this is enabled, so that they cannot be saved if they 
are not the proper length.
product_slug_patch
5.7 KB   View   Download
Dec 8, 2008
Project Member #1 subim...@gmail.com
I'd rather support a delimiter than a uniform code length.

Reason being, we'd disturb people's already existing codes and would need to include
a migration if uniform code length were required.
Dec 17, 2008
#3 ceager
Good point. Here it is using a delimiter.
product_slug_patch_delimiter
6.4 KB   View   Download