VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: aghaby on July 20, 2012, 13:21:10 PM

Title: Want to hide popup "Your product was added to the cart"
Post by: aghaby on July 20, 2012, 13:21:10 PM
Dear all,

I am using VM2. The"your product was added to the cart" is shown up whenever add to cart button is clicked, I would like to hide or disable it.

The shopping cart that appears while shopping doesn't show the total cost, it just shows the price of each item, but the total cost only appears on final cart.

I appreciate your help.

Thanks B-)
Title: Re: Want to hide popup "Your product was added to the cart"
Post by: srajca on July 20, 2012, 13:58:05 PM
you can disable it in the vm config under prices tab if i remember correctly, there's an option to show/hide the add to cart popup box - untick that and it should work....
Title: Re: Want to hide popup "Your product was added to the cart"
Post by: aghaby on July 20, 2012, 14:22:46 PM
Thanks but I couldn't find it !!
Title: Re: Want to hide popup "Your product was added to the cart"
Post by: srajca on July 20, 2012, 14:55:49 PM
go to vm config in the be - configuration - tab checkout and untick the 1st box ---> Display modal popup upon 'Add to cart'
Title: Re: Want to hide popup "Your product was added to the cart"
Post by: aghaby on July 20, 2012, 15:52:42 PM
Srajca, these are the only options I've under checkout tab:


Enable Automatic Selected Shipment?   
Enable Automatic Selected Payment?   
Must agree to Terms of Service on EVERY ORDER?   
Show Terms of Service on the cart/checkout?   
On checkout, ask for registration   
Only registered users can checkout   
Show checkout steps   
Show product images   

And they are all checked except for the fifth and the sixth!!
Any clue?
??!!


Title: Re: Want to hide popup "Your product was added to the cart"
Post by: srajca on July 21, 2012, 08:05:57 AM
odd
which version of vm and joomla are you running?
Title: Re: Want to hide popup "Your product was added to the cart"
Post by: ivus on July 21, 2012, 09:24:19 AM
Hi Aghaby,

If you enable VM - Shopping cart (mod_virtuemart_cart) in your >Extensions >Module Manager, that will display the TOTAL COST, along with a list of the items in your cart. AND you can still use the pop-up.

I hope this helps.
Title: Re: Want to hide popup "Your product was added to the cart"
Post by: aghaby on July 21, 2012, 14:43:46 PM
Quote from: srajca on July 21, 2012, 08:05:57 AM
odd
which version of vm and joomla are you running?

VM2, Joomla 2.5
Title: Re: Want to hide popup "Your product was added to the cart"
Post by: aghaby on July 21, 2012, 14:46:58 PM
Quote from: ivus on July 21, 2012, 09:24:19 AM
Hi Aghaby,

If you enable VM - Shopping cart (mod_virtuemart_cart) in your >Extensions >Module Manager, that will display the TOTAL COST, along with a list of the items in your cart. AND you can still use the pop-up.

I hope this helps.

Dear,
The point is the total cost is shown only when I refresh the page.
Title: Re: Want to hide popup "Your product was added to the cart"
Post by: ivus on July 21, 2012, 15:41:27 PM
Have you checked that there's no JS errors that may be stopping the update script to fire off?
Title: Re: Want to hide popup "Your product was added to the cart"
Post by: aghaby on July 21, 2012, 18:16:14 PM
Quote from: ivus on July 21, 2012, 15:41:27 PM
Have you checked that there's no JS errors that may be stopping the update script to fire off?
If it's not working, I guess, the message "your product was added to the cart" will not show up!! or any other J.S stuff!!. Or, how would I check that there's no JS errors ?

Title: Re: Want to hide popup "Your product was added to the cart"
Post by: ivus on July 21, 2012, 18:40:02 PM
Hi aghaby,


Easy there buddy, we're only trying to help...



In firefox use firebug.
In Chrome use the Inspector.


jenkinhill posted something here http://forum.virtuemart.net/index.php?topic=73348.0 (http://forum.virtuemart.net/index.php?topic=73348.0)

What you'll find is that VM fires off 2 ajax request.
This is only a suggestion as we don't have a link to check and not really much else to go by?


Good luck.
Title: Re: Want to hide popup "Your product was added to the cart"
Post by: aghaby on July 21, 2012, 20:10:25 PM
Quote from: ivus on July 21, 2012, 18:40:02 PM
Hi aghaby,


Easy there buddy, we're only trying to help...



In firefox use firebug.
In Chrome use the Inspector.


jenkinhill posted something here http://forum.virtuemart.net/index.php?topic=73348.0 (http://forum.virtuemart.net/index.php?topic=73348.0)

What you'll find is that VM fires off 2 ajax request.

       
  • add the product to the cart
  • grab cart details to update notifications
This is only a suggestion as we don't have a link to check and not really much else to go by?


Good luck.

ivus, I'll check and see...thanks a lot for your help in all ways :)

Srajca also thank you