| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Adding Speedbar & search to Provider area | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hi
I've managed to get my Provider Area to resemble the design of the rest of my site but for a couple of parts and despite my best efforts I just can't get them working! Main Page (using shopkey) Provider Area missing speedbar with wrong search I can't get the speedbar showing. I've checked the head.tpl which it resides in, and it seems to be there. This is what my head.tpl looks like on both my main page and in the provider area: PHP Code:
I also have a search box located in the head of the main page, but though that shows up in the provider area, it returns incorrect search results (instead of searching the products in the store it searches the products owned by that provider). Hopefully that is enough info - this thing is doing my head in ![]()
__________________
Jayce - still a PHP and X-cart newbie & queen of stupid questions LIVE SITE: www.craftfetish.co.nz X-CART Pro 4.1.9 w/ numerous custom mods including phpBB integration, provider commission/billing management & more |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Quote:
For Speed Bars. Insert this code at the end of file "provider/auth.php" PHP Code:
How should work search in a provider's area? |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Quote:
You are an absolute legend! I knew I should have just asked, this has been bugging me for weeks ![]() The search in the provider area should return the same results as from the main page - it should search the live products of the site rather than the logged in providers products as it currently does.
__________________
Jayce - still a PHP and X-cart newbie & queen of stupid questions LIVE SITE: www.craftfetish.co.nz X-CART Pro 4.1.9 w/ numerous custom mods including phpBB integration, provider commission/billing management & more |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Quote:
I do not see a simple solution to this problem. Well, as an option while you can do so: 1. Edit file "skin1/customer/search.tpl", replace all lines PHP Code:
on PHP Code:
|
|||||||||
#5
|
|||||||||
|
|||||||||
![]() PERFECT!! You rock!
__________________
Jayce - still a PHP and X-cart newbie & queen of stupid questions LIVE SITE: www.craftfetish.co.nz X-CART Pro 4.1.9 w/ numerous custom mods including phpBB integration, provider commission/billing management & more |
|||||||||
|
|||
X-Cart forums © 2001-2020
|