| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding minicart inside search bar...? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I'm interested in adding my minicart inside my search bar on the top of my site. I would like the search function left justified and the mini cart right justified. I believe I need to make the bar as a table with two columns, but I have no idea to start. Below is my head.tpl code...please help!
![]() As of right now my minicart is right below the bar...I highlighted it below... Thanks! Quote:
__________________
Stealth Cords - Discrete Power Cords for Automotive Enthusiasts www.stealthcords.com X-Cart version: 4.1.9 |
|||||||||
#2
|
|||||||
|
|||||||
![]() Well, in order to get the effect you want, you will probably need to copy and then make a mincarthoriz.tpl and use that to create the layout you want for the minicart to have.
This way you can pull off any layout you want, and still have the default look of the cart, if you want. Hope that gives you some help.
__________________
Regards, Peter Stoermer http://www.TotalHosting.com for http://www.EmpowermentGroup.com X-cart: 4.0.17 |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Hi Total Hosting,
Thanks for the information above. I actually have the minicart layout on one line (looking good). I just need to know how in the head.tpl to split the search bar...one side search and one side minicart. Thanks.
__________________
Stealth Cords - Discrete Power Cords for Automotive Enthusiasts www.stealthcords.com X-Cart version: 4.1.9 |
|||||||||
#4
|
|||||||
|
|||||||
![]() Well, I haven't tried it, but what I would look at in head.tpl is around line 17
Code:
I am assuming you are using this search.tpl for your search layout. If so, just make a new table (1R, 2C) inside the TD and then put the search call inside one set of TDs and then call in the minicart.tpl in the other. *should* work. How are you calling minicart into the head now?
__________________
Regards, Peter Stoermer http://www.TotalHosting.com for http://www.EmpowermentGroup.com X-cart: 4.0.17 |
|||||||
|
|||
X-Cart forums © 2001-2020
|