| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
'Add to Cart' Alert Message | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
'Add to Cart' Alert Message
Hi All,
I'm wanting to add one of those "information" alert boxes (you know, the ones styled up in main.css using the "message-i" class). I'm not re-directing people to the cart upon adding to cart, so I want them to know for sure they've successfully added something to their cart, and one of these handy info boxes on page refresh would be perfect. Does anyone know how to go about firing one of those boxes off upon page refresh, post-add to cart? Let me know if you have any ideas. Thanks all!
__________________
nick hoag looking forward to the future http://thefutureforward.com xcart versions 4.2.x, 4.3.x, 4.4.x |
|||||||
#2
|
|||||||
|
|||||||
Re: 'Add to Cart' Alert Message
I've had a go at a mod... demo
It displays upselling products, or random products if no upselling. Getting it to work on the products or search result pages is a bit more complex. I can upload the mod as-is here, and maybe others can expand on it. * Updated *
__________________
xcartmods.co.uk |
|||||||
#3
|
|||||||
|
|||||||
Re: 'Add to Cart' Alert Message
Phil,
If you get this working 100% I would be interested in the mod. I would even be willing to pay a small fee.
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#4
|
|||||||||
|
|||||||||
Re: 'Add to Cart' Alert Message
Quote:
If you upload it here that would be great Phil, thanks. The demo looks very promising
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#5
|
|||||||
|
|||||||
Re: 'Add to Cart' Alert Message
Quote:
__________________
xcartmods.co.uk |
|||||||
|
#6
|
|||||||
|
|||||||
Re: 'Add to Cart' Alert Message
Thank you very much, Phil
__________________
Xcart 5.1.6 Building New Store Xcart4.6.4 Gold Plus Xcart 4.6.4 Platinum Smart Template, Mail Chimp Upgrade Checkout One (One Page Checkout) Checkout One X-Payments Connector Checkout One Deluxe Tools Call For Price On Sale Module Buy Together Module MAP Price MOD |
|||||||
#7
|
|||||||
|
|||||||
Re: 'Add to Cart' Alert Message
This looks fantastic Phil, thank-you so much. I'll give a go at implementing it next week and let you know how it goes.
Thanks again!
__________________
nick hoag looking forward to the future http://thefutureforward.com xcart versions 4.2.x, 4.3.x, 4.4.x |
|||||||
#8
|
|||||||
|
|||||||
Re: 'Add to Cart' Alert Message
**NEVERMIND**
I had edited my buy now button and that's what broke it. **/NEVERMIND** Quick question- For the Ajax add to cart functionality to be in place, I just need to check "Update mini-cart in background on product list and product details pages" in general settings, right? I'm struggling just to get the ajax add to cart to work, and wanting to make sure I'm not missing something in the admin. Let me know, thanks!
__________________
nick hoag looking forward to the future http://thefutureforward.com xcart versions 4.2.x, 4.3.x, 4.4.x |
|||||||
#9
|
|||||||||
|
|||||||||
Re: 'Add to Cart' Alert Message
Ok here is an improvement for 4.4.x (it may work on 4.3.x as well but not tested). Made it to work on categories list pages, read the install.txt
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#10
|
|||||||
|
|||||||
Re: 'Add to Cart' Alert Message
Works great. I added "return false" for the continue shopping link so the page does not refresh.
|
|||||||
|
|||
X-Cart forums © 2001-2020
|