VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: hazael on September 03, 2022, 18:55:12 PM

Title: Alias product name with product_ID
Post by: hazael on September 03, 2022, 18:55:12 PM
I want to modify the automatic addition of an alias to the product name.

Currently, the "Product name" in alias field is displayed like this "product-name".
In the case of a duplicate, the next number is added: "product-name-1".

I want to change this so that the alias is always followed by the unique product ID: "product-name-1234"

Which file is responsible for it - where can I modify it?
Title: Re: Alias product name with product_ID
Post by: GJC Web Design on September 03, 2022, 22:49:28 PM
wont be straight forward as the code is used for all table saves

administrator\components\com_virtuemart\helpers\vmtable.php