"Product Added to Cart" message
Hi,
I want a message to pop up when the product has been added to the cart. Is that possible and how do you do it?
Hi,
I want a message to pop up when the product has been added to the cart. Is that possible and how do you do it?
In the add to cart button behavior do not set a redirect for after the item is added in the cart.
After you have added the add to cart behavior, look for the php caode, it will start similar to:
<?php
// WA eCart AddToCart
if (isset($_POST["WA_Store_Cart_1_ATC"]) || isset($_POST["WA_Store_Cart_1_ATC_x"])) {
copy that if statement:
<?php if (isset($_POST["WA_Store_Cart_1_ATC"]) || isset($_POST["WA_Store_Cart_1_ATC_x"])) {
and use it around you message:
<?php if (isset($_POST["WA_Store_Cart_1_ATC"]) || isset($_POST["WA_Store_Cart_1_ATC_x"])) { ?>
Item was added to the cart message
<?php } ?>
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.