9 replies [Last post]
jazzdrive3's picture
Offline
Joined: 03/29/2009
Juice: 221

Is there a way to turn off the status messages when adding products to the cart?

jazzdrive3's picture
Offline
Joined: 03/29/2009
Juice: 221
Re: Don't show "added to your shopping cart" status messages

Anyone know anything?

jazzdrive3's picture
Offline
Joined: 03/29/2009
Juice: 221
Re: Don't show "added to your shopping cart" status messages

This should be very easy. Will I have to hack core to stop the messages from being sent?

epg
epg's picture
Offline
Joined: 09/26/2009
Juice: 56
Re: Re: Don't show "added to your shopping cart" status messages

1. Enable Cart Links module
2. Store administration->configuration->cart links settings.
3. Uncheck the box that says "Display the cart link product action when you add a product to the cart"

No core hacking required.

jazzdrive3's picture
Offline
Joined: 03/29/2009
Juice: 221
Re: Re: Re: Don't show "added to your shopping cart" status mess

Ah, that was it. I didn't have the cart links module enabled. I knew I had seen the option somewhere before.

jazzdrive3's picture
Offline
Joined: 03/29/2009
Juice: 221
Re: Re: Re: Don't show "added to your shopping cart" status mess

Well, it's still showing the cart links, even without that box checked.

I'm using Ubercart 2 RC6. Is this a bug?

jazzdrive3's picture
Offline
Joined: 03/29/2009
Juice: 221
Re: Re: Re: Re: Don't show "added to your shopping cart" status

Any word on this?

TR
TR's picture
Online
Bug FinderFAQ ModeratorGetting busy with the Ubercode.
Joined: 11/05/2007
Juice: 3369
Re: Re: Re: Re: Re: Don't show "added to your shopping cart" sta

#3 was wrong, this has nothing to do with cart links. The message can't be modified or turned off without hacking core.

<tr>.
jazzdrive3's picture
Offline
Joined: 03/29/2009
Juice: 221
Re: Re: Re: Re: Re: Re: Don't show "added to your shopping cart"

Well I just ended up doing a display: none on the "status" for a certain page, thanks to the body classes, and I think I should be fine with that.

Thanks.

Madbreaks's picture
Offline
Joined: 10/10/2009
Juice: 34
Depends

If you're actually using the cart links module, you can turn this message off by tacking 'm0' onto the end of the cart link URL. Of course this only applies to cart links, so ymmv.

Doc'd here: Cart Links API

Cheers