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

EvanGR

  • Jr. Member
  • **
  • Posts: 185
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?

Thanks

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

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27345
  • 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 http://demo.virtuemart.net/h20-jacket-detail

Maybe an issue with your custom template?
Kelvyn

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 3.4.3.10045 on Joomla 3.9.5 PHP 7.0.33
Testing VM 3.4.5.10045 on Joomla 3.9.5

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8834
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.14
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 http://www.gjcwebdesign.com
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
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation