VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product creation => Topic started by: mohtashimj on September 05, 2020, 14:22:53 PM

Title: Custom field for adding Name on product with constant price will add in total
Post by: mohtashimj on September 05, 2020, 14:22:53 PM
Hello All,

I need to add any custom field which will show the textbox on virtuemart product detail page for adding the tag line on product and which will cost additional $10 with the product price and total both the prices will be adding in cart.

I am using the Joomla version 3.9.14 and Virtuemart version 3.2.2

Please suggest anyone who have build same type feature. It will be time saving for me. I am searching for past few days but didn't got any plugin.
Title: Re: Custom field for adding Name on product with constant price will add in total
Post by: Jörgen on September 05, 2020, 15:15:24 PM
https://docs.virtuemart.net/manual/products-menu/custom-fields.html  (https://docs.virtuemart.net/manual/products-menu/custom-fields.html)

Jörgen
Title: Re: Custom field for adding Name on product with constant price will add in total
Post by: mohtashimj on September 06, 2020, 08:56:09 AM
Hello Jörgen,

Thanks for your reply. I am already using custom field but how can I manage like I mentioned for any product with its attributes which includes price in product total when adding item into the cart.
Title: Re: Custom field for adding Name on product with constant price will add in total
Post by: Jörgen on September 06, 2020, 19:30:58 PM
Please show an example.
I do not understand what you mean.
Jörgen
Title: Re: Custom field for adding Name on product with constant price will add in total
Post by: GJC Web Design on September 06, 2020, 23:17:13 PM
perhaps this plugin - http://forum.virtuemart.net/index.php?topic=127362.0
Title: Re: Custom field for adding Name on product with constant price will add in total
Post by: mohtashimj on September 07, 2020, 10:04:19 AM
Hello Jorgen,

I have PM you the details, please check and let me know.
Title: Re: Custom field for adding Name on product with constant price will add in total
Post by: Jörgen on September 07, 2020, 10:21:19 AM
You need to show the setup you are using for your custom fields.

Jörgen
Title: Re: Custom field for adding Name on product with constant price will add in total
Post by: Studio 42 on September 07, 2020, 11:52:44 AM
If you want add $10 to the product X quantity, this is how it work by default.
So your question is certainly not well formated.
Title: Re: Custom field for adding Name on product with constant price will add in total
Post by: mohtashimj on September 07, 2020, 14:42:22 PM
Hello All,

Please see my details in screenshot.

1) 1.jpg is showing product detail page.
2) 2.png is how custom field have been set up at product edit page.
3) 3.png is how custom field have been set up at the Custom fields section.

Please let me know if need any further details of question.

Thanks in advanced.
Title: Re: Custom field for adding Name on product with constant price will add in total
Post by: Jörgen on September 07, 2020, 15:39:35 PM
These settings look correct, what versions ? Updated VM AIO ?

I guess You have js errorr on your page that breaks the ajax update of the prices.


Jörgen @ Kreativ Fotografi
Title: Re: Custom field for adding Name on product with constant price will add in total
Post by: mohtashimj on September 08, 2020, 10:41:43 AM
Hi Jorgen,

Thanks for the response.

NO, we don't have any JS error on that page. I will PM the exact URL for checking the feature.
Title: Re: Custom field for adding Name on product with constant price will add in total
Post by: Jörgen on September 08, 2020, 11:03:17 AM
Then there is very hard to tell, maybe Your VERY old 3.2.2 VM version could be the problem together with a php 7 or some other extension.

This is something that works out of the box, but since You have a very old and potentially insecure version I would prepare for an controlled upgrade on a backup.

Jörgen @ Kreativ Fotografi
Title: Re: Custom field for adding Name on product with constant price will add in total
Post by: jenkinhill on September 08, 2020, 11:16:22 AM
I agree with Jörgen. VM 3.2.2 is 3 years old and was written to work with Joomla 3.7

People have had various issues using older versions of VM on J 3.9