onebrowncow 1 Posted December 12, 2020 Share Posted December 12, 2020 I was previously using PayPal Standard as my gateway and noticed on the checkout page when viewing the basket there was a continue shopping link but after installing the PayPal Commerce gateway this link has disappeared even though it appears to still be in the template code. Can anyone advise why this is occurring? Quote Link to post Share on other sites
bsmither 1,481 Posted December 12, 2020 Share Posted December 12, 2020 May we have a web address to have a look? Quote Link to post Share on other sites
onebrowncow 1 Posted December 12, 2020 Author Share Posted December 12, 2020 (edited) 1 hour ago, bsmither said: May we have a web address to have a look? missing on this page https://www.onebrowncow.co.uk/index.php?_a=basket reappears on this page https://www.onebrowncow.co.uk/index.php?_a=confirm Edited December 12, 2020 by onebrowncow Quote Link to post Share on other sites
bsmither 1,481 Posted December 12, 2020 Share Posted December 12, 2020 It does seem strange, but that is the way the template code is written. The visitor needs to be on the 'confirm' page - which is where the 'standard' payment gateways are listed - to see the link. It is on the same line as the phrase "Choose Payment Method". It might be that the PayPal module changes the value of $DISABLE_GATEWAYS which allowed the link to show. The link can be moved. Let's put it on the same line as the other buttons. Remove: <a href="?" class="right">{$LANG.basket.continue_shopping}</a> from where it is. Below where that was, find: <div class="clearfix"> <div class="show-for-medium-up"><a href="{$STORE_URL}/index.php?_a=basket&empty-basket=true" class="button alert left"><svg class="icon"><use xlink:href="#icon-trash-o"></use></svg> {$LANG.basket.basket_empty}</a></div> Change to: <div class="clearfix"> <div class="show-for-medium-up"><a href="{$STORE_URL}/index.php" class="button left"><svg class="icon"><use xlink:href="#icon-home"></use></svg> {$LANG.basket.continue_shopping}</a></div> <div class="show-for-medium-up"><a href="{$STORE_URL}/index.php?_a=basket&empty-basket=true" class="button alert left"><svg class="icon"><use xlink:href="#icon-trash-o"></use></svg> {$LANG.basket.basket_empty}</a></div> Quote Link to post Share on other sites
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.