Author Topic: Alias product name with product_ID  (Read 1053 times)


  • Jr. Member
  • **
  • Posts: 293
    • Bi┼╝uteria etniczna orientalna arabska
  • VirtueMart Version: VM 4.0.12 [J3][J4]
Alias product name with product_ID
« 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?

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10688
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Alias product name with product_ID
« Reply #1 on: September 03, 2022, 22:49:28 pm »
wont be straight forward as the code is used for all table saves

GJC Web Design
VirtueMart and Joomla Developers - php developers
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
Contact for any VirtueMart or Joomla development & customisation