Hello
Can anyone tell me how i can put text like a telephone number and mail adress under the search bar in the default template?
I use OpenCart 2.3.0.2
Hiitheking1987 wrote: ↑Wed Mar 29, 2017 9:53 pmHello
Can anyone tell me how i can put text like a telephone number and mail adress under the search bar in the default template?
I use OpenCart 2.3.0.2
You can the phone number under the search box in header by editing the header.tpl under the search box div
Thanks
Sachin
Thank you for your reaction.sachin6609 wrote: ↑Thu Mar 30, 2017 2:40 pmHiitheking1987 wrote: ↑Wed Mar 29, 2017 9:53 pmHello
Can anyone tell me how i can put text like a telephone number and mail adress under the search bar in the default template?
I use OpenCart 2.3.0.2
You can the phone number under the search box in header by editing the header.tpl under the search box div
Thanks
Sachin
Can u tell me a bit more how to do it and wich php code to use etc.?
I am a beginner with php.
Hellotheking1987 wrote: ↑Tue Apr 04, 2017 6:30 pmThank you for your reaction.sachin6609 wrote: ↑Thu Mar 30, 2017 2:40 pmHiitheking1987 wrote: ↑Wed Mar 29, 2017 9:53 pmHello
Can anyone tell me how i can put text like a telephone number and mail adress under the search bar in the default template?
I use OpenCart 2.3.0.2
You can the phone number under the search box in header by editing the header.tpl under the search box div
Thanks
Sachin
Can u tell me a bit more how to do it and wich php code to use etc.?
I am a beginner with php.
Open the header.tpl from below location
catalog / view / theme / default (YOUR_THEME_FOLDER_IF_YOU_USE_ANY_THEME) / template / common then open the header.tpl file
Then serach for the below code in the file
<div class="col-sm-5"><?php echo $search; ?></div>
and replace that code with the below one
<div class="col-sm-5"><?php echo $search; ?>Tel: xxxx(Your Telephone Number Goes here)</div>
Take the file back up first and try hope you can do it
Thanks
Sachin
Thanks for the reaction and the good description.sachin6609 wrote: ↑Wed Apr 05, 2017 7:42 pmHellotheking1987 wrote: ↑Tue Apr 04, 2017 6:30 pmThank you for your reaction.sachin6609 wrote: ↑Thu Mar 30, 2017 2:40 pm
Hii
You can the phone number under the search box in header by editing the header.tpl under the search box div
Thanks
Sachin
Can u tell me a bit more how to do it and wich php code to use etc.?
I am a beginner with php.
Open the header.tpl from below location
catalog / view / theme / default (YOUR_THEME_FOLDER_IF_YOU_USE_ANY_THEME) / template / common then open the header.tpl file
Then serach for the below code in the file
<div class="col-sm-5"><?php echo $search; ?></div>
and replace that code with the below one
<div class="col-sm-5"><?php echo $search; ?>Tel: xxxx(Your Telephone Number Goes here)</div>
Take the file back up first and try hope you can do it
Thanks
Sachin
I have replaced the code and uploaded it back to the server but on the website nothing changed.
So i dont know why?
Hiitheking1987 wrote: ↑Fri Apr 07, 2017 6:59 amThanks for the reaction and the good description.sachin6609 wrote: ↑Wed Apr 05, 2017 7:42 pmHellotheking1987 wrote: ↑Tue Apr 04, 2017 6:30 pm
Thank you for your reaction.
Can u tell me a bit more how to do it and wich php code to use etc.?
I am a beginner with php.
Open the header.tpl from below location
catalog / view / theme / default (YOUR_THEME_FOLDER_IF_YOU_USE_ANY_THEME) / template / common then open the header.tpl file
Then serach for the below code in the file
<div class="col-sm-5"><?php echo $search; ?></div>
and replace that code with the below one
<div class="col-sm-5"><?php echo $search; ?>Tel: xxxx(Your Telephone Number Goes here)</div>
Take the file back up first and try hope you can do it
Thanks
Sachin
I have replaced the code and uploaded it back to the server but on the website nothing changed.
So i dont know why?
Can you share the site url please
Thanks
Sachin
Its working now i had to remove the cache from the site.sachin6609 wrote: ↑Fri Apr 07, 2017 1:41 pmHiitheking1987 wrote: ↑Fri Apr 07, 2017 6:59 amThanks for the reaction and the good description.sachin6609 wrote: ↑Wed Apr 05, 2017 7:42 pm
Hello
Open the header.tpl from below location
catalog / view / theme / default (YOUR_THEME_FOLDER_IF_YOU_USE_ANY_THEME) / template / common then open the header.tpl file
Then serach for the below code in the file
<div class="col-sm-5"><?php echo $search; ?></div>
and replace that code with the below one
<div class="col-sm-5"><?php echo $search; ?>Tel: xxxx(Your Telephone Number Goes here)</div>
Take the file back up first and try hope you can do it
Thanks
Sachin
I have replaced the code and uploaded it back to the server but on the website nothing changed.
So i dont know why?
Can you share the site url please
Thanks
Sachin
Thank you very much for your help!!
U can see it at www.opelonderdelenshop.nl
Hi,
OpenCart Version 2.3.0.2
public_html/catalog/language/en-gb/common/search.php
Find below:
<?php
// Text
$_['text_search'] = 'Your Texct';
OpenCart Version 2.3.0.2
public_html/catalog/language/en-gb/common/search.php
Find below:
<?php
// Text
$_['text_search'] = 'Your Texct';
Who is online
Users browsing this forum: No registered users and 3 guests