jayp1 Posted September 26, 2013 Share Posted September 26, 2013 Hi I am wanting to edit a contact number that is on the header. When inspecting element I see this file : search_block_top But I can not find anything in the cpanel etc Please help? thanks In advance Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 please give some more info about your prestashop version and theme that you use, seems like it is non-default one Link to comment Share on other sites More sharing options...
jayp1 Posted September 26, 2013 Author Share Posted September 26, 2013 (edited) http://hello PrestaShop™ 1.5.4.1 Edited September 26, 2013 by jayp1 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 open this file: /modules/blocksearch/blocksearch-top.tpl or if exist: themes/YOUR_THEME/modules/blocksearch/blocksearch-top.tpl (YOUR_THEME is your theme name) Link to comment Share on other sites More sharing options...
jayp1 Posted September 26, 2013 Author Share Posted September 26, 2013 thank you =) could you help me find where I can find the checkout page link ? At the moment it takes them to /order page but i would like to take it to a cms page Thank you Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 you're talking about this: ? Link to comment Share on other sites More sharing options...
jayp1 Posted September 26, 2013 Author Share Posted September 26, 2013 yes =) Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 okay, thanks for clarification it is a part of block cart module. /modules/blockcart/blockcart.tpl there is a button code: <p id="cart-buttons"> {if $order_process == 'order'}<a href="{$link->getPageLink("$order_process", true)|escape:'html'}" class="button_small" title="{l s='View my shopping cart' mod='blockcart'}" rel="nofollow">{l s='Cart' mod='blockcart'}</a>{/if} <a href="{$link->getPageLink("$order_process", true)|escape:'html'}" id="button_order_cart" class="exclusive{if $order_process == 'order-opc'}_large{/if}" title="{l s='Checkout' mod='blockcart'}" rel="nofollow"><span></span>{l s='Checkout' mod='blockcart'}</a> </p> of corse if this file exist aslo in: themes/YOUR_THEME//modules/blockcart/blockcart.tpl - you have to edit this one Link to comment Share on other sites More sharing options...
jayp1 Posted September 26, 2013 Author Share Posted September 26, 2013 Hi I want to take them to this page when they click check out or on the shopping cart : http://hellosofas.com/content/call-us-today I've added this link but it says apge not found? Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 i checked your website and there is still /order/ url Link to comment Share on other sites More sharing options...
jayp1 Posted September 26, 2013 Author Share Posted September 26, 2013 see now i want this link to take here : http://hellosofas.com/content/call-us-today Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 can you show your modification ? i think that the problem is in your code Link to comment Share on other sites More sharing options...
jayp1 Posted September 26, 2013 Author Share Posted September 26, 2013 <p id="cart-buttons"> {if $order_process == 'order'}<a href="{$link->getPageLink("$order_process", true)}" class="button_small" title="{l s='View my shopping cart' mod='blockcart'}" rel="nofollow">{l s='Cart' mod='blockcart'}</a>{/if} <a href="{$link->getPageLink("$http://hellosofas.com/content/call-us-today", true)}" id="button_order_cart" class="exclusive{if $order_process == 'order-opc'}_small{/if}" title="{l s='Check out' mod='blockcart'}" rel="nofollow">{l s='Check out' mod='blockcart'}</a> </p> <!-- <a class="button modalbox" href="#inline">.</a> Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 use this: <p id="cart-buttons"> {if $order_process == 'order'}<a href="{$link->getPageLink("$order_process", true)}" class="button_small" title="{l s='View my shopping cart' mod='blockcart'}" rel="nofollow">{l s='Cart' mod='blockcart'}</a>{/if} <a href="http://hellosofas.com/content/call-us-today" id="button_order_cart" class="exclusive{if $order_process == 'order-opc'}_small{/if}" title="{l s='Check out' mod='blockcart'}" rel="nofollow">{l s='Check out' mod='blockcart'}</a> </p> <!-- <a class="button modalbox" href="#inline">.</a> Link to comment Share on other sites More sharing options...
jayp1 Posted September 26, 2013 Author Share Posted September 26, 2013 hi, than kyou for that code, it works How can i do the same to change the link when they click on "cart" See attached file Thank You Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 you need to change url in: modules/blockuserinfo/blockuserinfo.tpl 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