Discount Coupon Issue
Permalink 1 user found helpful
Hi,
I'm developing a site in concrete5. The E-commerce add-on was already in it. The site is about to end. My client want to implement a discount code. I know that there is a tab for discount code. But when I add a discount code, it creates an additional page. But my client don't want any additional page. He want to implement the discount code section in the Billing page or Checkout page.
Is it possible with E-Commerce? Please help me asap. The site is about to launch within 2-3 days.
Citytech
I'm developing a site in concrete5. The E-commerce add-on was already in it. The site is about to end. My client want to implement a discount code. I know that there is a tab for discount code. But when I add a discount code, it creates an additional page. But my client don't want any additional page. He want to implement the discount code section in the Billing page or Checkout page.
Is it possible with E-Commerce? Please help me asap. The site is about to launch within 2-3 days.
Citytech
Here's what you need to do:
1. Remove the coupon code asking from checkout steps (helpers/checkout/step.php)
2. Modify the /elements/cart_item_list.php to show up the coupon code in the cart item listing when you're on the billing page
3. (here's the tricky part) You should make a new form out of the discount code section that would be passed to the CheckoutDiscountController's submit action
Hope it helps!
Best,
Antti / Mainio