Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 General
 Suggestions - NOT QUESTIONS
 Search by product ID
Author « Topic »  

Guy
ECT Moderator

Canada
2542 Posts

Posted - 03/05/2026 :  14:23:12  
Hello!

I suggest adding an option to search by product code/ID.

That would be very convenient for us.

Thanks!

Guy



Articles Promotionnels | Promotional Products

dbdave
ECT Moderator

USA
10668 Posts

Posted - 03/05/2026 :  17:45:34  
Hello Guy, can you elaborate - where is this in the admin somewhere, or on the customer side?
You should be able to search by product ID, but maybe you mean somewhere else.
Thanks,
David

Guy
ECT Moderator

Canada
2542 Posts

Posted - 03/05/2026 :  17:50:54  
Hello David,

I would like this option on the user side.

This page by example : https://www.lineaire.ca/search.php

Thanks!

Guy



Articles Promotionnels | Promotional Products

Guy
ECT Moderator

Canada
2542 Posts

Posted - 03/05/2026 :  17:59:31  
An other example, we have a new product with the ID "LUM". A search returns 157 results...

We often give product ID to our customers over the phone so they can search for it.

It also happens very often that we search for a product via the ID to check if it already is in our database.

We use our suppliers' SKU.

Guy



Articles Promotionnels | Promotional Products

dbdave
ECT Moderator

USA
10668 Posts

Posted - 03/05/2026 :  18:51:08  
Ok, so your issue is not search by product ID, because that works.
What you are after is search ONLY by product ID.

What's happening is you have many product with "Lumina" in the name and with the search looking at Product ID's and product names, it's pulling those as well.

I'm not sure if this is a good idea and how it will impact customers searching for products on your site, but there are some settings to limit what is searched,.

quote:
Streamlining / refining search results

You can use these parameters to refine or streamline what columns in the products database table are searched...

$nosearchdescription=TRUE;

$nosearchlongdescription=TRUE;

$nosearchsku=TRUE;

$nosearchparams=TRUE;


$nosearchprodid=TRUE; // (v7.2.1+)

$nosearcharticles=TRUE; // (v7.2.6+)



Set the ones in red there and I expect it will behave the way you want. However, it may not work well for your customers.

If it's just for you - clone the search page and name it something only you know, so customers do not see it.
In the head, set a noindex so search engines do not index the page.
In the body, just before the inc/incsearch.php call, place those parameters so they work for that page only.
Then bookmark that page for your own personal use only.

Thanks,
David

dbdave
ECT Moderator

USA
10668 Posts

Posted - 03/05/2026 :  18:56:18  
if you need it for customers, maybe add a unique number or code to each product search terms - then give them that number instead of the product id.
When I talk to customers, I do not always give them the product ID - sometimes I give them something that is unique to that product - maybe in the product name - then they get a more focused result.

Thanks,
David

Guy
ECT Moderator

Canada
2542 Posts

Posted - 03/05/2026 :  19:13:29  
I think that there should be an option in the drop down menu to search by product ID only.

Guy



Articles Promotionnels | Promotional Products

dbdave
ECT Moderator

USA
10668 Posts

Posted - 03/05/2026 :  19:33:45  
Ok, that's a good suggestion.

Thanks,
David
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000