News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Quantity of product

Started by hakan26, March 23, 2015, 21:10:15 PM

Previous topic - Next topic

hakan26

Hi all,

I am using VirtueMart 3.0.6 and can not change quantity of my products. If I click to "+" or "+" I get this error: NaN

How to fix it?

Regards,
Hakan

GJC Web Design

Your template isn't the latest.... pretty the fix is in vmprices.js on VM3.0.6.2

//Fallback for layouts lower than 2.0.18b
      if(isNaN(Ste)){
         Ste = 1;
      }

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

hakan26

#2
Thank you at first for your reply.

I am sorry, where to add this code or change?

I have updated VM.

GJC Web Design

this code should already be in components\com_virtuemart\assets\js\vmprices.js and solve the problem
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

hakan26

I checked it and found this code:

//Fallback for layouts lower than 2.0.18b
      if(isNaN(Ste)){
         Ste = 1;
      }

But issue is not fixed on my shop.

GJC Web Design

then some further changes are needed in your template - try with protostar to confirm
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

hakan26

You are right.. its working on other templates.