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

Product not adding to cart after latest update

Started by joozen, July 07, 2022, 15:14:40 PM

Previous topic - Next topic

joozen

Joomla! 3.10.10
VirtueMart 4.0.6 Eagle owl 10690
PHP 7.4.3

After latest update when you click Add to Cart Virtuemart returns to main page. All was working before update. Please advise.

ps. Just noticed, PayPal express checkout from oniline store stopped work as well. I don't know what been done with product details or ever file but shop actually stopped working.
Joomla! 4.3.4
4.2.12 11012
PHP: 8.1.26

joozen

Rolled back from backup, its working now. Thanks for help. 
Joomla! 4.3.4
4.2.12 11012
PHP: 8.1.26

sjstv

Anybody know a fix for this? I'm unsure how you go back to the previous version.

GJC Web Design

you need to report what exactly is wrong or at least provide all info -- versions, live site and example page
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

sjstv


jenkinhill

On console I see this error:
VP One Page Checkout plugin is not ready.        plugin.min.js:10:70955
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

joozen

#6
Quote from: jenkinhill on July 08, 2022, 12:36:02 PM
On console I see this error:
VP One Page Checkout plugin is not ready.        plugin.min.js:10:70955
I don't have one page checkout on my site. I'm using native checkout. When you try to add product to card it redirect to link yousite/# and redirect to main page. Exactly the same with Paypal Express button on product details page. After I restored site from backup to previous version it work as it should.
Joomla! 4.3.4
4.2.12 11012
PHP: 8.1.26

jenkinhill

Checkout on your restored site uses VP:
<link href="/plugins/system/vponepagecheckout/assets/css/light-checkout.css?ver=7.9" rel="stylesheet" type="text/css" />
   <link href="/plugins/system/vponepagecheckout/assets/css/responsive-procheckout.css?ver=7.9" rel="stylesheet" type="text/css" />
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

sjstv

Only way I could get out of it was to do a full restore. Now running VM 4.0.2

ssc3

#9
You can duplicate this behaviour in product details page with

VirtueMart 4.0.6 10690
Native Checkout
No third party plugins installed

by setting "Display modal popup upon 'Add to cart'" to No

this should take you directly to checkout without the "Add to Cart" modal popup,

but you just remain on the same page.
Virtuemart Payment Plugins
https://plugins.online-store.co.uk

GJC Web Design

you can also see this with the standard VM checkout and the "OPC" not selected so you have separate views for shipping and payment selection.
The Save form does nothing..  i.e. u stay on the same view ..

{
   "updatecart": "",
   "virtuemart_shipmentmethod_id": "4",
   "option": "com_virtuemart",
   "view": "cart",
   "task": "updatecart",
   "controller": "cart"
}

doesn't even reach the cart controller afaik .. certainly doesn't reach the function updatecart() ..
assume a router problem but weirdly the almost same post form the ajax (i.e. enable the core OPC setting) works fine!

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

joozen

Quote from: jenkinhill on July 08, 2022, 15:41:54 PM
Checkout on your restored site uses VP:
<link href="/plugins/system/vponepagecheckout/assets/css/light-checkout.css?ver=7.9" rel="stylesheet" type="text/css" />
   <link href="/plugins/system/vponepagecheckout/assets/css/responsive-procheckout.css?ver=7.9" rel="stylesheet" type="text/css" />
If it about my site VP turned off because Online Store PayPal Express not working with it. Therefore I'm using native checkout.
Joomla! 4.3.4
4.2.12 11012
PHP: 8.1.26

Jörgen

Apparently does the inactivation not enough. VP OPC code is involved in your error.

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

joozen

#13
Quote from: Jörgen on July 09, 2022, 10:44:50 AM
Apparently does the inactivation not enough. VP OPC code is involved in your error.

Jörgen

Thank you. OK Uninstalled. But still a bit scared to update so far all working. Probably I'll try to do fresh backup just before and update it later today. Will see what's happen.
Joomla! 4.3.4
4.2.12 11012
PHP: 8.1.26

Jörgen

Yes backup before update is always a very good idea  8)

Jörgen
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.