News:

Support the VirtueMart project and become a member

Main Menu

Wrong Product being added to cart

Started by AnnieG13, December 11, 2020, 17:40:17 PM

Previous topic - Next topic

AnnieG13

Hi all,
I am in great need of help urgently.

I have had a website published for months now, and all of a sudden when you click to add a product to the cart, and go to see cart, VM is doing some very weird things.

First it was only adding one specific product not the one that was added. As you can see from my attachment, it was a featured item. So when I turned it off featured it did the following.

It adds 3 different products, and if you delete 1 product it deletes all of them and shows the one you added at the start.  >:( >:( >:(

Some strange stuff happening on this site. :'( :'(

I guess I really need to uninstall Virtuemart and do a fresh install, but I don't really want to have to re-create the products all again, is there a way to save them ? database table ? and put them back on after the reinstall?

Also the plugins for payment and shipping  :'( :'( will need to be reinstalled.

This close to Christmas I really need to fix this ASAP

Please help me. Has anyone else ever heard of this happening before?
Thanks Annie

www.puppylanetreats.com.au

VirtueMart 3.8.6
Joomla! 3.9.23
PHP Version  7.4.13

GJC Web Design

looks like u have some sort of caching on ..

I can add anything I like the first time to the cart but after that only that item ever shows up in the cart .. in this case Barkley Bites Big Bikkies

Turn ALL caching off on the site 
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

GJC Web Design

If I open a complete different clean browser I see the product from the other browser in the cart...
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

AnnieG13

I will try that, I had the same problem with opening up in another browser too.
it's doing my head in, so you don't think I need to uninstall VM and reinstall then?
Thanks Annie

AnnieG13

Hi GJC Web Design,
Well I turned off cashe to site (see image) but still have this problem, any idea what else can I try?

thanks Annie

AnnieG13


AnnieG13

Hi GJC,
Thanks for your advice about cashing, I think it is solved now, if you could check it for me I would appreciate it.

What i did was made sure cashe was off in the system, then noticed a post about Extensions / Plugins, find the System – Page Cache plugin and made sure it was off,
then I went to Extensions / Modules / VM - Featured products and then Advanced. I set Cashe to No, saved and looks like it is working as it should now.

I am sooo pleased, thanks again for your help.

AnnieG13

Hi GJC,
One thing I have noticed is in between adding products there is no 'view cart' button. The only way to see what's in the cart is to add another product.

I am using the Protostar template.

Your advise on this would be invaluable, thanks
Annie

Jörgen

Image, please.
Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

AnnieG13

Hi Jorgen,
Sorry I have been very busy and just forgot about any images, etc.

Attached is an image and explanation on what's happening. Hope you can understand it.

So I have no Menu on VM pages, and no 'show/view cart' button to return to cart

Your help would be greatly appreciated.

Annie

GJC Web Design

cart is fine now

as your using Protostar for your VM pages you will have to clone and publish menu modules etc etc to the protostar positions
but their style will be completely different from your main site .. why not just use "default" for VM and the style will be picked up from your mx_joomla157 template?
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

AnnieG13

Hi GJC,
So does the VM pages have the main menu and a "View Cart" button, as I still don't see them.

The reason I wasn't using the default template was because I didn't like the way it looked. I have had this site running for months now and was the same, but just now when I changed it over so I could take a screenshot, and it is like the rest of the site, totally unexpected.

It still doesn't have the  "View Cart" button, any idea why? the template is mx_joomla157.

Thanks for your help.

jenkinhill

Looks like you don't have a VM Shopping Cart module published?    You could add main menu item to the checkout/cart too.
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

AnnieG13

Hi jenkinhill,
Thanks for that advice, I did have the cart published but the position wasn't set to the right place, is now and I have the 'show cart' showing.

Thanks Annie

GJC Web Design

if u don't like mx_joomla157 's cart display just rename the templates/mx_joomla157/html/com_virtuemart to something else and remove any css that is applied to VM and then you have the display of protostar .. protostar btw has no VM overides so as already mentioned u are just using the VM default displays
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