Sundar Posted August 30, 2011 Share Posted August 30, 2011 Hi Friends I would like to add modification to the single page checkout as below in the Prestashop 1.4.4 There is a Checkbox “Please use another address for Invoice” which is normally uncheck by default. I would like to change it to “Checked” by default so that the invoice address will be always displayed and only if the the delivery address and invoice address are same the Customer will be unchecking it. I would welcome your assistance to implement the same. Thank you, Best Regards, Sundar Link to comment Share on other sites More sharing options...
shokinro Posted August 30, 2011 Share Posted August 30, 2011 You can make changes in following two files to make it happen 1. YourStoreRoot/themes/YourTheme/order-opc-new-account.tpl Change this line (#273) From <input type="checkbox" name="invoice_address" id="invoice_address" /> TO <input type="checkbox" name="invoice_address" checked id="invoice_address" /> 2. YourStoreRoot/themes/YourTheme/js/order-opc.js comment this line (#421) From $('#opc_invoice_address').hide(); TO // $('#opc_invoice_address').hide(); hope this helps Link to comment Share on other sites More sharing options...
Recommended Posts