Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Responsive Joomla Virtuemart Template - SportMart (SKU# FLEX-00019)

TOPIC: Add to cart problems

Add to cart problems 8 years 3 months ago #13622

Hi Flexible,

When a product is added to the shopping cart, the off-canvas cart slides on and the product thumb flies to the cart but is not visible in the cart it self. It's only visible in the off-canvas cart when you refresh the page.

When you navigate to the one-page checkout the item is added to cart.

gitaarbouwwinkel.nl

Please help!
The topic has been locked.

Add to cart problems 8 years 3 months ago #13625

Hi,

When a product is added to cart, the AJAX request runs, but this request returns faulty JSON response on this URL:
gitaarbouwwinkel.nl/index.php?option=com_virtuemart&nosef=1&view=cart&task=viewJS&format=json&lang=en

The response includes some PHP Error Messages up top, which breaks the JSON format. In conclusions, shopping cart can't show the added product in the cart.

Please see the screenshot:

Attachment ScreenShot2016-01-15at5.22.36PM.png not found



The error messages are:
Notice: Undefined index: in /home/vhosts/gitaarbouwwinkel.nl/httpdocs/plugins/system/languagefilter/languagefilter.php on line 178
 
Notice: Trying to get property of non-object in /home/vhosts/gitaarbouwwinkel.nl/httpdocs/plugins/system/languagefilter/languagefilter.php on line 178

TIP: To demonstrate those error messages on your screen, first add a product in the cart, then browse that URL. You will see them.

once you resolve those errros, everything will start working just fine. The problematic plugin is this: plugins/system/languagefilter/languagefilter.php, but the thing is, this plugin is a Joomla Core Plugin, so it shouldn't generate any error message (unless you made some coding changes in it)....weird.

Alternatively you can set the "Error Reporting" to "None" from the Joomla Global Configuration (which basically will hide those messages and JSON format won't be broken)

Regards.
Support
Last Edit: 8 years 3 months ago by Support.
The topic has been locked.

Add to cart problems 8 years 3 months ago #13632

Hi,

Thanks for your fast reply. I have changed the error reporting to none and indeed, everything is working like it should!

Best regards
The topic has been locked.

Add to cart problems 8 years 3 months ago #13633

Glad to hear that everything gets back to normal.

Case solved, tipic is closed.

Cheers,
Support
The topic has been locked.
Time to create page: 0.113 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo