| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Include search by SKU into basic search in v4 | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Include search by SKU into basic search in v4
Hi there,
v4 has some nice features and some not-finished business. Why would x-men include search by SKU/product code in advanced search when this is one of the main search fields people are looking for rpoducts in a lot of industries (auto, computers and etc? Here is the simple mod to search by sku from the main search box: search.php change: Code:
to Code:
after Code:
add Code:
skin1/customer/search.tpl after Code:
add Code:
skin1/customer/main/search_result.tpl after Code:
add Code:
Enjoy |
|||||||||
#2
|
|||||||
|
|||||||
Anyone used this on version 3.5._?
__________________
nhraracer241 1 X-Cart Version 4.1.10 2 X-Cart version 3.5.10 PHP 4.3.5 MySQL server 4.0.20-standard Operation system Linux Apache Web Server |
|||||||
#3
|
|||||||||
|
|||||||||
Quote:
It's completely different in v3.5. I believe there is a solution on this forum to do the same in v3.5. Check: http://forum.x-cart.com/viewtopic.php?t=5971 |
|||||||||
#4
|
|||||||
|
|||||||
Thanks. I found a fix for this that Boomer had posted. Works great!
__________________
nhraracer241 1 X-Cart Version 4.1.10 2 X-Cart version 3.5.10 PHP 4.3.5 MySQL server 4.0.20-standard Operation system Linux Apache Web Server |
|||||||
#5
|
|||||||
|
|||||||
Is it possible to have TWO boxes on the main page? Search ProdID and Search SKU ??
|
|||||||
#6
|
|||||||
|
|||||||
I don't seem to find search.php in /customer? It is in the root directory and /includes, but different than this example.
Can you point me in the right direction, so that SKU can come up in the search and advanced? Thanks, Mike
__________________
4.1.9 |
|||||||
#7
|
|||||||
|
|||||||
thanks for the mod worked perfectly
__________________
xcart version 4.1.6 UK - Brighton QVS ELECTRICAL SUPPLIES - http://www.qvsdirect.com We supply a huge range of cables, electrical accessories, heating, ventilation, fire and security products, consumer units & circuit distribution, indoor and outdoor lighting, showers and water heating, tools and fixings, timer switches, sockets, switches, air conditioning, trunking, and much much more. |
|||||||
#8
|
|||||||
|
|||||||
Quote:
yeh use the one in includes
__________________
xcart version 4.1.6 UK - Brighton QVS ELECTRICAL SUPPLIES - http://www.qvsdirect.com We supply a huge range of cables, electrical accessories, heating, ventilation, fire and security products, consumer units & circuit distribution, indoor and outdoor lighting, showers and water heating, tools and fixings, timer switches, sockets, switches, air conditioning, trunking, and much much more. |
|||||||
#9
|
|||||||
|
|||||||
This is a great mod!!!!
Xcart should take note and realize this should be standard operating procedure. The mod does lack one thing. It will not bring up "variant skus" When using product variants, those skus don't work. No fear, I have an adjustment for the original poster. include/search.php After: Code:
Code:
And all is peaceful in Xcart land once again
__________________
No longer using Xcart, was good while it lasted. |
|||||||
#10
|
|||||||
|
|||||||
Fantastic mod, thank you
__________________
xcartmods.co.uk |
|||||||
|
|||
X-Cart forums © 2001-2020
|