LilBe Posted October 1, 2015 Share Posted October 1, 2015 Hi, How can I limit my Cash on Delivery module so it won't appear when the total order price is bigger than 5000, for example. Thank you. 1 Link to comment Share on other sites More sharing options...
Add Makes Posted October 3, 2015 Share Posted October 3, 2015 go to the themes/default-bootstrap/modules/cashondelivery/views/templates/hook/payment.tpl {if $cart_qties->value>5000}<p class="payment_module"><a href="{$link->getModuleLink('cashondelivery', 'validation', [], true)}" title="{l s='Pay with cash on delivery (COD)' mod='cashondelivery'}"><img src="{$this_path}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></p>{/if} Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now