News:

Looking for documentation? Take a look on our wiki

Main Menu

Using custom field string (list) for adding charge

Started by fmedina, May 10, 2020, 15:37:40 PM

Previous topic - Next topic

fmedina

I want the simplest way to add pricing to a list.  I can do it adding 3 fields to each product I created, but i just want to add one custom field to about 100 products that already exist, otherwise I have to add the three options to each product.

I want to be able to add:

+$10.00 option 1
+$15.00 option 2
+$20.00 option 3

Can I do this with the default value of string custom field?

I can add the three options like so:

Field
Default Value: none; option 1; option 2; option 3

Now, how to I add a monetary value to those, I can't seem to find that, does that exist?  I am on VM 3.2.2

Thanks,

Jörgen

Use child products, the children inherit customfields from the base product. Unpublish the base product.

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

fmedina

I have learned that now that I have been reading, but I have inherited this store with about 100 products that already created.

No easy way to just add one custom field item to each product?

Thanks,

Jörgen

Make an sql query and assign every child the correct parent id. Id = 0 no parent. Should make it easier to maintain. You will understand that when You have thousends of products,
There are tools for this, Regular lab has dbreplacer, Studio42 has VM Be to manage such a task.

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

fmedina