rraw Posted January 27, 2011 Share Posted January 27, 2011 I am looking for a solution for moving the coupon code entry box from the cart page to the checkout as customers are missing the box.I've found a previous thread on this but unfortunately outdated (http://www.prestashop.com/forums/viewthread/20804/general_discussion/move_coupon_code_entry_box)Cheers Link to comment Share on other sites More sharing options...
rraw Posted February 3, 2011 Author Share Posted February 3, 2011 nobody...? Link to comment Share on other sites More sharing options...
pmfjoe Posted February 3, 2011 Share Posted February 3, 2011 You will need to test this first. I moved it awhile back but then moved it back because of a design change. If I remember right you only need to move the following code from shopping-cart.tpl to the tpl file of the page where you want it: {if $voucherAllowed} {if $errors_discount} {foreach from=$errors_discount key=k item=error} {$error|escape:'htmlall':'UTF-8'} {/foreach} {/if} <form action="{$base_dir_ssl}order.php" method="post" id="voucher"> Please enter all coupon codes here. {l s='Code:'} <input type="text" id="discount_name" name="discount_name" value="{if $discount_name}{$discount_name}{/if}" /> <input type="hidden" name="submitDiscount" /><input type="submit" name="submitAddDiscount" value="{l s='Add'}" class="button" /> </form> The code can be found around line 215 Link to comment Share on other sites More sharing options...
rraw Posted February 3, 2011 Author Share Posted February 3, 2011 thanks, I'll check this later on.Cheers Link to comment Share on other sites More sharing options...
Bewitching Posted February 26, 2011 Share Posted February 26, 2011 Check out this post # 7 reply ( I figured it out all by myself! )http://www.prestashop.com/forums/viewthread/80981/#389704If your customer clicks the checkout button, it bypasses the summary page and takes them straight to login, and there is nowhere, after they login to add vouchers etc...My code fix makes the checkout button start at summary, just as the cart button does .Hope this helps! Link to comment Share on other sites More sharing options...
Recommended Posts