VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: chimairax on January 18, 2018, 10:53:59 AM

Title: Extra warranty field with extra prices
Post by: chimairax on January 18, 2018, 10:53:59 AM
Hello

I wanted to know how is it possible to add a field in every product I want, asking my customer if he wants extra warranty for his product.

For example:

TV 32 inches

Price: 300€

Warranty 2 years from manufacturer

Do you want 1 year extra warranty?
✓ Yes (+40,00€) ☐ Νο

(The bold letters is what I need)

The price of "yes" will be calculated in final price, then under the product description in cart the label "+1 year warranty" to be shown.

Is there a plugin for this or any way to achieve it?
Title: Re: Extra warranty field with extra prices
Post by: jenkinhill on January 18, 2018, 11:11:40 AM
You can do that with a custom field.  http://docs.virtuemart.net/manual/general-concepts/212-customfields.html
Title: Re: Extra warranty field with extra prices
Post by: chimairax on January 18, 2018, 11:16:12 AM
Thank you for your answer.
Is there any documentation for using custom fields to achieve this?

I searched the forum before posting this thread but unfortunately I didn't find nothing.
Title: Re: Extra warranty field with extra prices
Post by: Jörgen on January 18, 2018, 11:54:38 AM
Quote from: jenkinhill on January 18, 2018, 11:11:40 AM
You can do that with a custom field.  http://docs.virtuemart.net/manual/general-concepts/212-customfields.html
Title: Re: Extra warranty field with extra prices
Post by: Studio 42 on January 18, 2018, 18:04:18 PM
If you need a specific render, i can write the plugin in for you.
You can contact me by PM