News:

Support the VirtueMart project and become a member

Main Menu

Custom fields standard in new product

Started by Kuubs, January 16, 2020, 09:27:23 AM

Previous topic - Next topic

Kuubs

Hello,

Is it possible when you create a new product certain custom fields are already set? So I don't have to add these custom fields manually. This saves time for me because most of the products use the same custom fields (only have different prices). Is this possible to do via Javascript or something?

AH

Maybe you can create a non published "dummy product" and clone it for new products
Regards
A

Joomla 4.4.5
php 8.1

GJC Web Design

or make a "pattern" product ..  see the online demo -- basically a pattern parent and your products are children
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

Kuubs

Quote from: AH on January 16, 2020, 11:55:39 AM
Maybe you can create a non published "dummy product" and clone it for new products

Yeah I thought about that as well, but I hoped that there was a way to let it done automatically.

GJC Web Design

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

PRO

I would use it in your product view template.

THEN: if you want it to NOT appear. Use a custom field to signal to hide it,