Clicking in quantity box changes default 1 to Undefined

3 years 4 months ago 3 years 4 months ago by .
Posts: 29
More
Topic Author
Clicking in quantity box changes default 1 to Undefined #3932
On any product category list, when clicking in the quantity box the existing 1 text immediately changes to "undefined". Then if you type in any number and click Add to Cart the popup shows no product and it is not added to the cart. The - and + buttons work to change quantity and product is added to cart. This only happens on product category list, not on product details page.

Virtuemart forum's only mention of "undefined quantity" referred to an update to components/com_virtuemart/sublayouts/addtocartbar.php since Virtuemart 3.0.12. The undefined issue in that case was caused by a template/html/ override of that file that wasn't updated. I don't believe that's the reason for my issue. I can't locate any VMuikit override for that file.

Installed versions:
Joomla 3.4.8
Virtuemart 3.0.14
VMuikit 3.1.6

Thanks for any suggestion to fix this.
Richard
Attachments:

Please Log in or Create an account to join the conversation.

3 years 4 months ago
Posts: 29
More
Topic Author
Clicking in quantity box changes default 1 to Undefined #3935
I discovered the cause of this error. It was an HTML override of plugin/system/vmuikit_override/html_override/com_virtuemart/themes/grids/products/list.php that I created from an older version of VMuikit. I didn't update the code when updating to VMuikit 3.1.6.

I have to remember the display view tmpl files of VMuikit are modified with each new version, so the HTML overrides must be updated each time, too. Sort of defeats the benefits of overrides. I may as well just hack the core VMuikit files. It's the same amount of work to keep overrides.

Richard

Please Log in or Create an account to join the conversation.

3 years 4 months ago
Posts: 1284
More
Clicking in quantity box changes default 1 to Undefined #3938
Hi
Your site administrator not working it asks additional popup authentication.

Please Log in or Create an account to join the conversation.

3 years 4 months ago
Posts: 29
More
Topic Author
Clicking in quantity box changes default 1 to Undefined #3944
Sorry I forgot the password-protected administrator folder details. I already fixed this problem, so you can skip it now.

Please Log in or Create an account to join the conversation.

3 years 4 months ago
Posts: 1284
More
Clicking in quantity box changes default 1 to Undefined #3946
Hello,
Please Add admin details

Please Log in or Create an account to join the conversation.

3 years 3 months ago
Posts: 29
More
Topic Author
Clicking in quantity box changes default 1 to Undefined #3990
Never mind, I fixed it myself.

Please Log in or Create an account to join the conversation.

3 years 3 months ago
Posts: 1284
More
Clicking in quantity box changes default 1 to Undefined #3993
Great!

Please Log in or Create an account to join the conversation.

3 years 3 months ago
Posts: 67
More
Clicking in quantity box changes default 1 to Undefined #3995
Sorry to highjack this post, but I am experiencing the same issue in our test installation

www.newrarenoise3.rarenoise.com , only in the offcanvas cart though. Clicking on the cart quantity changes it to undefined.

could you please assist? (will provide admin/pwd once you respond)

Thank you in advance

Giacomo

Please Log in or Create an account to join the conversation.

Time to create page: 0.149 seconds
Powered by Kunena Forum

Latest News from JoomlaPro.com

VMuikit 5 is finally out!

Our next version of our popular VMuikit package is out. This time we have some quite nice new features.

Electroneum Joomla/VirtueMart plugins

JoomlaPro.com are not only web & Joomla enthusiast, we cannot stay away from checking other tech trends as well. The last few years its been hard to miss the crypto/blockchain ...

New plugin: Secure Joomla Login

We have released a new plugin that adds a extra PIN code and a reCaptcha v2 check on Joomlas login. Security is very important on all fronts of a website. One often missed one is ...

We accept PayPal, 2Checkout & Electroneum payments:

We accept PayPal payments    We accept 2checkout payments  electroneum payment


For news and updates please like :