adding coupons to powerstore
Dear all,
I am creating a store with Powerstore2. My client asked for a coupon system. I also own e-cart. How long would it take an average semi-newbie to implement such functionality (a range is fine)?
Dear all,
I am creating a store with Powerstore2. My client asked for a coupon system. I also own e-cart. How long would it take an average semi-newbie to implement such functionality (a range is fine)?
Since you have eCart, you should be able to modify the eCart object to add coupons.
We have a tutorial on this page:
ecart/
under solution recipes and it is called "Creating a Coupon system for your eCart store (Interactive Tutorial)"
which could help you get started.
Is that involving promotional codes?
Is there also a way to offer free shipping? meaning, a promotion code to have it ignore the shipping costs?
EDIT: Sorry, I should've checked out the support pages before asking. I do see that you can set it to offer free shipping if the cart value is over a certain value. That sort of answers my question. So I assume you can make the trigger a promotional code?
Correct, Promotional Code will act similar to having a Coupon.
Hi Dani,
Thanks for the tips. I followed the tutorial for eCart 4.0 (I have SuperSuite with eCart v4.5 & PowerStore 2) and went through the process however I assume that I am close but no cigar. The tut was slightly different to eCart v4.5
I've pasted some of the code that eCart generates - can you give me a suggestion on what to look for?
On cart.php page
line 397 - 399
<h3><br />
Enter Promotional Codes Below </h3>
<form action="" method="get" name="CouponCode"><input name="txtPromoCode" type="text" /></<input name="Button" type="Submit" />form>
line 9 - 14
<?php
if (!session_id()) session_start();
if((((isset($_GET["txtPromoCode"]))?$_GET["txtPromoCode"]:"") != "")) {
$_SESSION["PromoCode"] = "".((isset($_GET["txtPromoCode"]))?$_GET["txtPromoCode"]:"") ."";
}
?>
Thanks, Mark.
www.uberbean.com
It looks like it is just a syntax error:
replace this line:
<form action="" method="get" name="CouponCode"><input name="txtPromoCode" type="text" /></<input name="Button" type="Submit" />form>
with:
<form action="" method="get" name="CouponCode"><input name="txtPromoCode" type="text" /><input name="Button" type="Submit" /></form>
Hi Dani,
Thanks for that - its fixed up the page view. The cart.php page now doesn't proceed to checkout.php and there doesn't appear to be a reduction in price shown on this page - should it show up here or the confirm.php page?
I've attached the cart.php for your ref.
Thanks, Mark.
I have opened a support ticket to further debug this issue:
supporthistory.php
Hi Dani,
I've updated the ticket and attached the required details.
Thanks, Mark.
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.