lsd_se Posted June 6, 2006 Posted June 6, 2006 (edited) Hi I recently installed the Easy Coupons contrib and it seems to be working fine as I am not getting any errors and the admin side works perfectly. The problem I've having is that in the window during checkout I ccan see the boxes where I type in the coupon code, but I cannot actually input anything. It's like the boxes and the "cash in" button are images, I cannot highllight them, and I cannot enter anything in the box. I assume that I've made an error in the coding somewhere but I can't find it. Any suggestions? Thanks! :) Edited June 6, 2006 by lsd_se Quote
boxtel Posted June 6, 2006 Posted June 6, 2006 Hi I recently installed the Easy Coupons contrib and it seems to be working fine as I am not getting any errors and the admin side works perfectly. The problem I've having is that in the window during checkout I ccan see the boxes where I type in the coupon code, but I cannot actually input anything. It's like the boxes and the "cash in" button are images, I cannot highllight them, and I cannot enter anything in the box. I assume that I've made an error in the coding somewhere but I can't find it. Any suggestions? Thanks! :) go into admin side of easy coupons, select configuration, make sure the active checkbox is checked and press update. It is when easy coupons are not activated, the input fields as well as the buttons are still visible but disabled. Quote Treasurer MFC
Guest Posted June 7, 2006 Posted June 7, 2006 go into admin side of easy coupons, select configuration, make sure the active checkbox is checked and press update. It is when easy coupons are not activated, the input fields as well as the buttons are still visible but disabled. Easy Coupons Requires Easy Discount http://www.oscommerce.com/community/contributions,3945 Quote
echolalia Posted July 31, 2006 Posted July 31, 2006 Hello, I have installed Easy Discount, however i am still unable to enter anything into the Easy Coupon text box. I gone through both Easy Discount and Easy Coupon twice making sure i installed the mod correctly and still having issues. The settings in Easy Coupon are: Activate or Deactivate Easy Coupons - on Automatically generate coupons at order confirmation - on If anyone can give any suggestions or tips, i would be extremely grateful. Cheers! Quote
boxtel Posted August 3, 2006 Posted August 3, 2006 Hello, I have installed Easy Discount, however i am still unable to enter anything into the Easy Coupon text box. I gone through both Easy Discount and Easy Coupon twice making sure i installed the mod correctly and still having issues. The settings in Easy Coupon are: Activate or Deactivate Easy Coupons - on Automatically generate coupons at order confirmation - on If anyone can give any suggestions or tips, i would be extremely grateful. Cheers! verify if you have this in application_top.php (catalog side) : include (DIR_WS_MODULES.'easy_coupons_code.php'); if you do, then in the module easy_coupons_box.php you have this code: <?php if ($ec_active) { echo tep_draw_password_field('coupon_code1', '', ' size="2" onKeyup="autotab(this, document.coupon.coupon_code2)" maxlength=4 class="inputbox" ') . ' - ' . tep_draw_password_field('coupon_code2', '', ' size="2" onKeyup="autotab(this, document.coupon.coupon_code3)" maxlength=4 class="inputbox" ') . ' - ' . tep_draw_password_field('coupon_code3', '', ' size="2" onKeyup="autotab(this, document.coupon.coupon_code4)" maxlength=4 class="inputbox" ') . ' - ' . tep_draw_password_field('coupon_code4', '', ' size="2" maxlength=4 class="inputbox" '); } else { echo tep_draw_password_field('coupon_code1', '', ' size="2" maxlength=4 disabled class="inputbox" ') . ' - ' . tep_draw_password_field('coupon_code2', '', ' size="2" maxlength=4 disabled class="inputbox" ') . ' - ' . tep_draw_password_field('coupon_code3', '', ' size="2" maxlength=4 disabled class="inputbox" ') . ' - ' . tep_draw_password_field('coupon_code4', '', ' size="2" maxlength=4 disabled class="inputbox" '); } before that code you add: echo 'Active? '. $ec_active; then visit the page and see what it says. Quote Treasurer MFC
echolalia Posted August 14, 2006 Posted August 14, 2006 verify if you have this in application_top.php (catalog side) : include (DIR_WS_MODULES.'easy_coupons_code.php'); if you do, then in the module easy_coupons_box.php you have this code: <?php if ($ec_active) { echo tep_draw_password_field('coupon_code1', '', ' size="2" onKeyup="autotab(this, document.coupon.coupon_code2)" maxlength=4 class="inputbox" ') . ' - ' . tep_draw_password_field('coupon_code2', '', ' size="2" onKeyup="autotab(this, document.coupon.coupon_code3)" maxlength=4 class="inputbox" ') . ' - ' . tep_draw_password_field('coupon_code3', '', ' size="2" onKeyup="autotab(this, document.coupon.coupon_code4)" maxlength=4 class="inputbox" ') . ' - ' . tep_draw_password_field('coupon_code4', '', ' size="2" maxlength=4 class="inputbox" '); } else { echo tep_draw_password_field('coupon_code1', '', ' size="2" maxlength=4 disabled class="inputbox" ') . ' - ' . tep_draw_password_field('coupon_code2', '', ' size="2" maxlength=4 disabled class="inputbox" ') . ' - ' . tep_draw_password_field('coupon_code3', '', ' size="2" maxlength=4 disabled class="inputbox" ') . ' - ' . tep_draw_password_field('coupon_code4', '', ' size="2" maxlength=4 disabled class="inputbox" '); } before that code you add: echo 'Active? '. $ec_active; then visit the page and see what it says. Everything seems to be working now! Thank you for your help!!! Quote
MrBug Posted August 20, 2006 Posted August 20, 2006 Hi everyone! I?ve installed the ?Easy Discount? and ?Easy Coupons? contribution on my oscommerce system and everything works perfectly well?on my local server (testing server). The ?Easy Discount? contribution works fine but the ?Easy Coupons? does not record any data into the database when it should on my live server. It works very well on my local server and I can?t see where this bug is coming from. The both version of the shopping cart are exactly identical, except for the configuration files, of course? Anyone has any idea? Thanks! Quote
MrBug Posted August 21, 2006 Posted August 21, 2006 Ok, ok... I found what went wrong: i have the "Email Invoice" contribution installed and my code was in the part of the code that does not use the email template (second part of the 'if' statement in checkout_process.php). In one word: something stupid. Thanks anyway! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.