Zen Cart Logo
Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Discount coupon box not appearing on payments page

Discount coupon box not appearing on payments page

Views: 1,192

Results 1 to 7 of 7
13 Jun 2014, 6:17 PM
#1
popularcrustacean avatar

popularcrustacean

New Zenner

Join Date:
Dec 2013
Posts:
17
Plugin Contributions:
0

Discount coupon box not appearing on payments page

I've created a new coupon, and the coupons module is installed and set to true.

Yet i still don't see anywhere to enter my coupon code on the payments page.. What gives?

I searched around a lot and couldn't find anyone with this issue, so i'm not sure whats going on.

13 Jun 2014, 10:02 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Discount coupon box not appearing on payments page

Is this a clean install or an upgrade?

What add-ons are you using?

If you switch to the Classic Template does it work?

14 Jun 2014, 8:51 PM
#3
popularcrustacean avatar

popularcrustacean

New Zenner

Join Date:
Dec 2013
Posts:
17
Plugin Contributions:
0

Re: Discount coupon box not appearing on payments page

this is my production site, i believe it was upgraded to 1.5.1 from 1.4.something. I inherited it about 7 months ago, so its hard for me to tell whats been installed. I've installed the analytics extension, but that's all.

I test the classic template on my xamp site and let you know. Thanks!

17 Jun 2014, 2:48 PM
#4
popularcrustacean avatar

popularcrustacean

New Zenner

Join Date:
Dec 2013
Posts:
17
Plugin Contributions:
0

Re: Discount coupon box not appearing on payments page

I'm seeing the discount code prompt on my test site with the classic template. It seems the discount code box is being hidden on my template. Can I check for it in a php file somewhere? Perhaps there is some code I could add to the checkout_payment page?

18 Jun 2014, 1:09 PM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Discount coupon box not appearing on payments page

You could do a compare of the original template file and your templates and override file with something like Beyond Compare from scootersoftware.com to find what is missing/different between the two ...

18 Jun 2014, 3:54 PM
#6
popularcrustacean avatar

popularcrustacean

New Zenner

Join Date:
Dec 2013
Posts:
17
Plugin Contributions:
0

Re: Discount coupon box not appearing on payments page

Ajeh:

You could do a compare of the original template file and your templates and override file with something like Beyond Compare from scootersoftware.com to find what is missing/different between the two ...

Thanks for the tip! Beyond compare seemed to suggest something was different around line 80 of tpl_checkout_payment_default.php, and when i checked it out, I realized a bit of code was commented out/missing.

So i just pasted this in from the classic template:

<?php
      }
      for ($j=0, $n2=sizeof($selection[$i]['fields']); $j<$n2; $j++) {
?>
<fieldset>
<legend><?php echo $selection[$i]['module']; ?></legend>
<?php echo $selection[$i]['redeem_instructions']; ?>
<div class="gvBal larger"><?php echo $selection[$i]['checkbox']; ?></div>
<label class="inputLabel"<?php echo ($selection[$i]['fields'][$j]['tag']) ? ' for="'.$selection[$i]['fields'][$j]['tag'].'"': ''; ?>><?php echo $selection[$i]['fields'][$j]['title']; ?></label>
<?php echo $selection[$i]['fields'][$j]['field']; ?>
</fieldset>
<?php
      }
    }
?>

:cool:

18 Jun 2014, 4:05 PM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Discount coupon box not appearing on payments page

Thanks for the update that things are working for you ... :smile: