Magento 2: In header searching search products collection matching with products name only The Next CEO of Stack OverflowMagento Quick Search to look into custom attributes with conditions?Join Catalog Search Query with categories related products fetch onlySearch category names in basic search and return matching productsMagento Search Order by Search Key word in nameMagento 2 - Search title/product name onlyMagento Catalosearch not working properlyReturning specific product search results before othersMagento search Configurable product showing on simple product namegetSize() is lost conditions when searching with quick search boxMagento 2 - When searching simple products using name or SKU, configurable products appears
How to start emacs in "nothing" mode (`fundamental-mode`)
How to write papers efficiently when English isn't my first language?
Only print output after finding pattern
Why did we only see the N-1 starfighters in one film?
How to make a software documentation "officially" citable?
Why is there a PLL in CPU?
How to Reset Passwords on Multiple Websites Easily?
Example of a Mathematician/Physicist whose Other Publications during their PhD eclipsed their PhD Thesis
What does this shorthand mean?
How does practicing restraint and performing actions of merit purify the mind?
If I blow insulation everywhere in my attic except the door trap, will heat escape through it?
Which organization defines CJK Unified Ideographs?
MAZDA 3 2006 (UK) - poor acceleration then takes off at 3250 revs
Why does standard notation not preserve intervals (visually)
How to write the block matrix in LaTex?
How do scammers retract money, while you can’t?
When Does an Atlas Uniquely Define a Manifold?
Does it take more energy to get to Venus or to Mars?
Describing a person. What needs to be mentioned?
Science fiction (dystopian) short story set after WWIII
How do I construct this japanese bowl?
Why here is plural "We went to the movies last night."
Can I equip Skullclamp on a creature I am sacrificing?
Grabbing quick drinks
Magento 2: In header searching search products collection matching with products name only
The Next CEO of Stack OverflowMagento Quick Search to look into custom attributes with conditions?Join Catalog Search Query with categories related products fetch onlySearch category names in basic search and return matching productsMagento Search Order by Search Key word in nameMagento 2 - Search title/product name onlyMagento Catalosearch not working properlyReturning specific product search results before othersMagento search Configurable product showing on simple product namegetSize() is lost conditions when searching with quick search boxMagento 2 - When searching simple products using name or SKU, configurable products appears
I want to search product collection matching only with products name not from another like description, sku, attributes etc in Magento 2 header searching.
magento2 product magento2.2 catalogsearch
add a comment |
I want to search product collection matching only with products name not from another like description, sku, attributes etc in Magento 2 header searching.
magento2 product magento2.2 catalogsearch
add a comment |
I want to search product collection matching only with products name not from another like description, sku, attributes etc in Magento 2 header searching.
magento2 product magento2.2 catalogsearch
I want to search product collection matching only with products name not from another like description, sku, attributes etc in Magento 2 header searching.
magento2 product magento2.2 catalogsearch
magento2 product magento2.2 catalogsearch
edited 50 mins ago
Teja Bhagavan Kollepara
3,01241949
3,01241949
asked Mar 15 '18 at 12:44
Banvari LalBanvari Lal
63
63
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
First you need make every attribute's property Use in Search to NO.
from admin.
Navigate to Admin ->Store > Product> Attribute
.
Fine all attributes which has the value Yes for Use in Search.
Make this field value to yes only for the attribute "Product Name" .
Then do an indexing from Index management and then see your result.
Thanks for your reply. I need to filter product collection matching product name with enter text like "Test Shirt" . It should search the full string search. Like get those products collection contains the full string "Test Shirt" no collection with "Test" or "Shirt".
– Banvari Lal
Mar 16 '18 at 9:30
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f217515%2fmagento-2-in-header-searching-search-products-collection-matching-with-products%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
First you need make every attribute's property Use in Search to NO.
from admin.
Navigate to Admin ->Store > Product> Attribute
.
Fine all attributes which has the value Yes for Use in Search.
Make this field value to yes only for the attribute "Product Name" .
Then do an indexing from Index management and then see your result.
Thanks for your reply. I need to filter product collection matching product name with enter text like "Test Shirt" . It should search the full string search. Like get those products collection contains the full string "Test Shirt" no collection with "Test" or "Shirt".
– Banvari Lal
Mar 16 '18 at 9:30
add a comment |
First you need make every attribute's property Use in Search to NO.
from admin.
Navigate to Admin ->Store > Product> Attribute
.
Fine all attributes which has the value Yes for Use in Search.
Make this field value to yes only for the attribute "Product Name" .
Then do an indexing from Index management and then see your result.
Thanks for your reply. I need to filter product collection matching product name with enter text like "Test Shirt" . It should search the full string search. Like get those products collection contains the full string "Test Shirt" no collection with "Test" or "Shirt".
– Banvari Lal
Mar 16 '18 at 9:30
add a comment |
First you need make every attribute's property Use in Search to NO.
from admin.
Navigate to Admin ->Store > Product> Attribute
.
Fine all attributes which has the value Yes for Use in Search.
Make this field value to yes only for the attribute "Product Name" .
Then do an indexing from Index management and then see your result.
First you need make every attribute's property Use in Search to NO.
from admin.
Navigate to Admin ->Store > Product> Attribute
.
Fine all attributes which has the value Yes for Use in Search.
Make this field value to yes only for the attribute "Product Name" .
Then do an indexing from Index management and then see your result.
edited Mar 15 '18 at 14:21
Waseem Abbas
6518
6518
answered Mar 15 '18 at 14:07
Amit Bera♦Amit Bera
59.5k1676177
59.5k1676177
Thanks for your reply. I need to filter product collection matching product name with enter text like "Test Shirt" . It should search the full string search. Like get those products collection contains the full string "Test Shirt" no collection with "Test" or "Shirt".
– Banvari Lal
Mar 16 '18 at 9:30
add a comment |
Thanks for your reply. I need to filter product collection matching product name with enter text like "Test Shirt" . It should search the full string search. Like get those products collection contains the full string "Test Shirt" no collection with "Test" or "Shirt".
– Banvari Lal
Mar 16 '18 at 9:30
Thanks for your reply. I need to filter product collection matching product name with enter text like "Test Shirt" . It should search the full string search. Like get those products collection contains the full string "Test Shirt" no collection with "Test" or "Shirt".
– Banvari Lal
Mar 16 '18 at 9:30
Thanks for your reply. I need to filter product collection matching product name with enter text like "Test Shirt" . It should search the full string search. Like get those products collection contains the full string "Test Shirt" no collection with "Test" or "Shirt".
– Banvari Lal
Mar 16 '18 at 9:30
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f217515%2fmagento-2-in-header-searching-search-products-collection-matching-with-products%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown