freakystreak Posted July 11, 2019 Share Posted July 11, 2019 Can you have the $messagestack output as a pop-up or modal rather than appear at the top of the page? I want to have it working where if anything s added to the cart then a modal informs me that the product has been added. I'm using 2.3.4.1. CE Frozen. Is it simply a case of changing this block of code taken from /includes/modules/product_listing.php: if ($messageStack->size('product_action') > 0) { echo $messageStack->output('product_action'); } Any thoughts or suggestions would be greatly appreciated. Ah, the world wide web. What a wonderful place. Link to comment Share on other sites More sharing options...
burt Posted July 11, 2019 Share Posted July 11, 2019 Don't try to fit a square peg in a round hole. It would be better (and easier) to build out an ajax cart. If you want to see an example of such in action, try https://template.me.uk/28d2019/product_info.php?products_id=28 which has (I think) the type of function you are talking about. Link to comment Share on other sites More sharing options...
freakystreak Posted July 11, 2019 Author Share Posted July 11, 2019 Thanks mate, that's exactly as i want it... Now how to do it? LOL... Ah, the world wide web. What a wonderful place. Link to comment Share on other sites More sharing options...
Heatherbell Posted July 11, 2019 Share Posted July 11, 2019 @freakystreak We have burt's module (as seen in the demo posted above) on our shop and it works great. It is part of burt's 28 days 2019 collection of modules which are all really useful and heartily recommend you contact him for them and help support the community edition project at the same time. Don't take this post the wrong way, just that the support of shop owners (and those that give their time) keeps the community edition going. Best of luck Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.