Author Topic: Product price not affected by custom field  (Read 472 times)


  • Jr. Member
  • **
  • Posts: 214
Product price not affected by custom field
« on: August 20, 2018, 15:30:11 pm »
Using a custom template, I have a product with a custom field which affects the product price.

The correct final price appears in the checkout page, but on the product page, the price is not changed live, when the user changes the custom field selection.

(This works correctly in the old J2.5/VM2.6 eshop that we are migrating from)

What would be the probable causes of this?


PS2: The problem occurs on a J3.8.10/VM3.2.15 installation.


  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27461
  • Always on vacation
    • Jenkin Hill Internet
Re: Product price not affected by custom field
« Reply #1 on: August 20, 2018, 16:29:32 pm »
It works on current VM using the default templates - eg see

Maybe an issue with your custom template?

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM on Joomla 3.9.10 PHP 7.0.33
Testing VM on Joomla 3.9.10

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8891
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Product price not affected by custom field
« Reply #2 on: August 20, 2018, 23:22:57 pm »
check for JS errors as the price change is done thru vmprices.js

or check for target element name changes between templates
GJC Web Design
VirtueMart and Joomla Developers - php developers
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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
Contact for any VirtueMart or Joomla development & customisation