X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   dicsount coupon input in checkout (https://forum.x-cart.com/showthread.php?t=34531)

davej2k 10-11-2007 06:04 AM

dicsount coupon input in checkout
 
I'm stuggling to find how to make the discount coupon box appear in the checkout procedure. Any ideas?

balinor 10-11-2007 06:41 AM

Re: dicsount coupon input in checkout
 
Unfortunately it only works in the cart area by default.

davej2k 10-11-2007 07:33 AM

Re: dicsount coupon input in checkout
 
How do I get it to appear in the cart area then?

balinor 10-11-2007 07:41 AM

Re: dicsount coupon input in checkout
 
It should be there by default unless you have the coupon module disabled in 'modules'

davej2k 10-11-2007 07:50 AM

Re: dicsount coupon input in checkout
 
It's ticked in modules but it doesn't seem to be showing up. Do you have any idea what the actual line of code would be / which file it would go in?

balinor 10-11-2007 07:53 AM

Re: dicsount coupon input in checkout
 
Yep, add this in customer/main/cart.tpl right at the bottom:

{if $active_modules.Discount_Coupons ne ""}
{include file="modules/Discount_Coupons/add_coupon.tpl}
{/if}

davej2k 10-11-2007 08:03 AM

Re: dicsount coupon input in checkout
 
Cheers Balinor it's working now.


All times are GMT -8. The time now is 07:28 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.