novalogix Posted July 13, 2004 Share Posted July 13, 2004 hi all, i have been using this mod for a while and now i want to allow my customers to redeem 3 coupons/vouchers in 1 order. i have made the cosmetic changes to have 3 fields but the first 2 fields are not responding. would anyone care to help? this is the code i made: //multiple redemption code fields $selection_string .= "Please enter your coupon/voucher code in the following fields. (One code per field only) " . '<p>'; $selection_string .= TEXT_ENTER_COUPON_CODE . tep_draw_input_field('gv_redeem_code') . '<p>'; $selection_string .= TEXT_ENTER_COUPON_CODE . tep_draw_input_field('gv_redeem_code') . '<p>'; $selection_string .= TEXT_ENTER_COUPON_CODE . tep_draw_input_field('gv_redeem_code') . '</td>'; Quote Link to comment Share on other sites More sharing options...
novalogix Posted July 13, 2004 Author Share Posted July 13, 2004 anyone can help? really need to get this going... thanks in advance Quote Link to comment Share on other sites More sharing options...
novalogix Posted July 13, 2004 Author Share Posted July 13, 2004 am i not providing enough info? should i display the rest of the code from the contri? somebody pls help me with this. sorry for being pushy here Quote Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted July 13, 2004 Share Posted July 13, 2004 you have to name your 3 fields differently, each one must have a unique name. Suggest to name them like 'gv_redeem_code_1' /_2 and _3 and then you have to update your code to read each of these separate fields and ensure any references to 'gv_redeem_code' have been replaced by _1/_2/_3 equivalent code. Quote KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
novalogix Posted July 15, 2004 Author Share Posted July 15, 2004 can somebody pls help me with this? i am not familiar with the codes. i want to have 3 fields for entering the codes but all must be activated by 1 redeem button. and it must accept when any 1 of 3 is filled up and of course not go through when all 3 are empty. i am using Credit Class/Gift Vouchers/Discount Coupons (Version 5.06). please help me with the coding and thanks again! Quote Link to comment Share on other sites More sharing options...
novalogix Posted July 17, 2004 Author Share Posted July 17, 2004 i s there anyone at all? Quote Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted July 17, 2004 Share Posted July 17, 2004 sorry, I don't have this contribution installed so can't help. Suggest to post this question in the official support thread; more people actually using that contribution will receive your question for help Good luck Quote KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
novalogix Posted July 19, 2004 Author Share Posted July 19, 2004 ok thnx, i will try that Quote Link to comment Share on other sites More sharing options...
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.