How To Remove Order Confirmation Page Prestashop 1.5.6.2
Your prestashop store are using using prestashop 1.5.6.2 with a custom theme and as payment method you choose Cash On Delivery module, also you are using One Page Checkout setting.You would like to have a better conversion rate when you customers do a check out process. Meaning after the payment page, your customer can skip order validation page ( .../module/cashondelivery/validation ) and when they click on the one page checkout (the confirm button), the checkout process will be finished.
How to gain that in your prestashop store ? Here is how.
- Backup your existing file.
- Open the following file on your notepad or others /modules/cashondelivery/views/templates/hook/payment.tpl
- remove the following code or just comment it
- <a href="{$link->getModuleLink('cashondelivery', 'validation', [], true)|escape:'html'}" title="{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}" rel="nofollow">
- <img src="{$this_path_cod}cashondelivery.gif" alt="{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}" style="float:left;" />
- <br />{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}
- <br />{l s='You pay for the merchandise upon delivery' mod='cashondelivery'}
- <br style="clear:both;" />
- </a>
- And added ( confirm button with image ) after the <p> tag
- <form action="{$link->getModuleLink('cashondelivery', 'validation', [], true)|escape:'html'}" method="post">
- <input type="hidden" name="confirm" value="1" />
- <p class="cart_navigation" id="cart_navigation">
- <input type="image" value="submit" src="http://image link" style="height:48px; width:500px; margin-left:20%;">
- </p>
- </form>