VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: franzpeter on March 23, 2012, 11:45:56 AM

Title: Problems with Database tables and slugs
Post by: franzpeter on March 23, 2012, 11:45:56 AM
VM 2.0.3 G contains the same problems and errors like the other 2.0.3 versions. In the language files the slug is set to index and unique for products and categories. Doing so there are various errors with sef url. Try to create two main categories and then create for every main category a subcategory with same name: Example: Tools -> Hammer and Professional Tools -> Hammer. This completely mess up the shop. SEF URL do not work. It is also lousy to do so while using import tools. It can happen in various cases that products with same name but different sku go to different categories. I do not understand why it is necessary to unique index slugs! If we have products with same name (one for consumer use and one for professional use) it is not a problem in the case of sef. For the one mentioned hammer the url would be: tools/hammer.html and for the other one professional-tools/hammer.html.
Title: Re: Problems with Database tables and slugs
Post by: TechnoMage on March 25, 2012, 13:25:52 PM
My kind of problem fits here. I dont wanna use any sufix for the SEF in VM 2.0.3.G / Joomla 1.5.25 however it is forced to use at least a "-" otherwise the whole detailed product links do not work. From settings perspective it is kind of a bug (since you can enter nothing into the sufix field and save it, which is not working afterwards) and from conceptial point of view I would say forcing suffixes is just not appropriate.