News:

Support the VirtueMart project and become a member

Main Menu

Clone products

Started by kratzi, January 20, 2019, 12:01:49 PM

Previous topic - Next topic

kratzi

Hi,

I need to clone some products but even more important is for me to have some unique data per product. Therefore I set the GTIN and SKU column to unique in my database.

Now of course I can not clone a product any more because the GTIN or SKU fields are duplicates. Could anyone please give an advise what code I need to adjust so that the both fields are not copied when cloning a product but set to NULL.

Thank you

J. 3.9.2 VM 3.4.2

GJC Web Design

search the save product functions in the model to see how the product alias is unique
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation