Author Topic: Duplicate a product WITH its custom fields?  (Read 342 times)

EvanGR

  • Jr. Member
  • **
  • Posts: 374
Duplicate a product WITH its custom fields?
« on: November 18, 2020, 14:31:18 pm »
As the title says, what are the simplest ways to duplicate a product, so that the copy includes all the custom fields?

Thanks

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3136
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Duplicate a product WITH its custom fields?
« Reply #1 on: November 18, 2020, 14:45:39 pm »
Clone Product ?

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27950
  • Always on vacation
    • Jenkin Hill Internet
Re: Duplicate a product WITH its custom fields?
« Reply #2 on: November 18, 2020, 15:40:22 pm »
Yes, clone the product. The new product is a complete copy except for the ID but is unpublished.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.7 10374 on Joomla 3.9.23 PHP 7.4.12

EvanGR

  • Jr. Member
  • **
  • Posts: 374
Re: Duplicate a product WITH its custom fields?
« Reply #3 on: November 18, 2020, 15:42:03 pm »
Oh... I forgot to mention that I tried it with products that contain custom fields from 3rd party extensions (breakdesigns customfields4all). They don't seem to be copied over to the cloned product.

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 812
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Duplicate a product WITH its custom fields?
« Reply #4 on: November 18, 2020, 15:57:44 pm »
Quote
They don't seem to be copied over to the cloned product.


Yes you got it right, that's how it works.
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27950
  • Always on vacation
    • Jenkin Hill Internet
Re: Duplicate a product WITH its custom fields?
« Reply #5 on: November 18, 2020, 16:31:39 pm »
I just use the VM default customs, they copy OK.
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.7 10374 on Joomla 3.9.23 PHP 7.4.12

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 812
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Duplicate a product WITH its custom fields?
« Reply #6 on: November 18, 2020, 18:13:39 pm »
Quote
I just use the VM default customs, they copy OK.

Yes, you are right too:

VM default customs -  copy OK - right place for question is this forum
Breakdesign CF4All - copy without CF - right place for uestion is breakdesign forum

That is normal and that's how it works.

Anything else?
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

balai

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1428
Re: Duplicate a product WITH its custom fields?
« Reply #7 on: November 19, 2020, 12:14:44 pm »
Quote
Oh... I forgot to mention that I tried it with products that contain custom fields from 3rd party extensions (breakdesigns customfields4all).
Please post on the support section of Breakdesigns.net
There is a already a fix for that.

EvanGR

  • Jr. Member
  • **
  • Posts: 374
Re: Duplicate a product WITH its custom fields?
« Reply #8 on: November 20, 2020, 15:45:03 pm »
Thank you all very much, I will ask the 3rd party for a solution.