Author Topic: Cart custom fields (for multiple products).  (Read 1121 times)

EvanGR

  • Jr. Member
  • **
  • Posts: 298
Cart custom fields (for multiple products).
« on: October 24, 2019, 15:48:38 pm »
(Probably a very simple answer for this one...)

I want to batch create 1000s of products, with custom fields (select boxes with options), which may or may not affect the product pricing.

So far, we put repeated the custom field values for each product separately.
But now, we want to create the custom fields once, and apply them to all these products.
We want simplicity in editing: edit the original custom fields, and all products are changed automatically.

Is this possible? What kind of custom fields we need to create for this purpose?

Thanks

(latest VM 3.6.3)


Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2536
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Cart custom fields (for multiple products).
« Reply #1 on: October 24, 2019, 15:53:34 pm »
Create a template product add the necessary custom fields and add child products. These children inherit the a
Custom fields from the hidden parent.
Jörgen @ Kreativ Fotografi

Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10398
  • VirtueMart Version: 3+
Re: Cart custom fields (for multiple products).
« Reply #2 on: October 25, 2019, 17:30:10 pm »
I would do this with plugin

&& USE the default values in the $customfield $params     onDisplayProductFE

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)