× Support for Joomla 2.5 templates is discontinued. This forum category is read-only.

Add to cart not working on front page

More
6 years 1 month ago #4672 by marco9
marco9 created the topic: Add to cart not working on front page
Hi,

Am working on my website(localhost) and installed the demo quickinstall and now see that the add to cart (and increase of amount) are not working on the frontpage, I checked on JM demo site and there it is working anybody can shed some light on this?

JM 2.5

cheers
Marco

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

More
6 years 1 month ago #4676 by marcin
marcin replied the topic: Add to cart not working on front page
Hello,

Could you provide us with more details about your issue, please?
Which localhost client are you using?
Which VirtueMart version are you running?
Do you encounter this issue only on the frontpage or on all pages?

Regards,
Marcin

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

More
6 years 1 month ago - 6 years 1 month ago #4678 by marco9
marco9 replied the topic: Add to cart not working on front page
Joomla! 2.5.8
XAMPP Apache 2.4.4
+ MySQL 5.5.32 (Community Server)
+ PHP 5.4.16

virtuemart 2.0.22a

From /index.php/eco-store I still have the random products module and when I click on either of the products "add to cart" it will go to /index.php/index.php showing an empty cart.

When I do the same on a subpage index.php/eco-store/pure-essential-oils it will add the product to the cart

PS the +- buttons don't work either, nothing happens when you click those
Last Edit: 6 years 1 month ago by marco9.

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

More
6 years 1 month ago #4695 by marcin
marcin replied the topic: Add to cart not working on front page
Hello,

I have attached a package to this post.
Please unpack it, you will find inside the default.php file which you need to copy to "root/templates/jm-eco-cosmetics-store/html/mod_virtuemart_product/" directory.

This should fix your issue. Let us know if it helped.

Regards,
Marcin
Attachments:

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

More
6 years 1 month ago - 6 years 1 month ago #4696 by marco9
marco9 replied the topic: Add to cart not working on front page
Thanks for that!
Yes add to cart works but now another thing happens.
Prices look good at first (see image prices_at_first) but when I change 1 custom field all prices in the random cart module are changed (see image prices_when_1_quantity_changed)



PS the prices are correct in the cart page if you do add them to cart after it displayed the wrong prices
So the 9.65 will be 9.65 in the cart after it displayed 80.50 on the page

Attachments:
Last Edit: 6 years 1 month ago by marco9.

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

More
6 years 1 month ago #4697 by marcin
marcin replied the topic: Add to cart not working on front page
Hello,

I have tested similar settings on default VirtueMart theme with default sample data and this issue occurs as well, so it is not related to our template.
I suggest you to post this bug on VirtueMart forum, since it seems that no one has posted about it so far. Hopefully, this will be fixed in one of the next updates...

Regards,
Marcin

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

Time to create page: 0.386 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.