AbanteCart Community

eCommerce construction => How-to questions => Topic started by: dharding on August 24, 2020, 09:56:44 PM

Title: How to include Blurb field contents in search results?
Post by: dharding on August 24, 2020, 09:56:44 PM
Good evening,

I don't use the description field in my design. I use Blurb instead.

So how do I include the contents of the Blurb field by default on all searches?

Thank you.
Title: Re: How to include Blurb field contents in search results?
Post by: abantecart on August 24, 2020, 10:27:13 PM
What is your design and what page are you missing a description?

Title: Re: How to include Blurb field contents in search results?
Post by: dharding on August 26, 2020, 07:50:59 AM
Default template. The description displays "below the fold" on the page and the blurb displays at the upper right just above the price and add to cart section. My items do not have extensive descriptions so I am not using the description field, just the blurb field.
Title: Re: How to include Blurb field contents in search results?
Post by: dharding on August 28, 2020, 12:58:20 AM
Can I please get a reply to this? Right now none of the text about my items is showing up in search results because the store search does not include any of the blurb content, which I believe is an oversight. Both description and blurb should be included in search results.

Otherwise I will have to redo my entire product inventory and copy the contents of the blurb field to the description field just to have it show up in search.

Thank you.
Title: Re: How to include Blurb field contents in search results?
Post by: abolabo on August 28, 2020, 03:31:06 AM
to solve you should to change your model file

see details here https://github.com/abantecart/abantecart-src/commit/9b64457e270dbf7e6b7427f0a887c27c12ecb873
Title: Re: How to include Blurb field contents in search results?
Post by: dharding on August 28, 2020, 08:33:35 PM
Thank you. That worked... IF you check the search descriptions checkbox on the advanced search page.

How do I make descriptions included in search by default?
Title: Re: How to include Blurb field contents in search results?
Post by: OneMore on February 24, 2024, 02:24:21 PM
Quote
How do I make descriptions included in search by default?

Not sure of your exact question, but if you want the blurb as description in search engines, you would need to to change how the content the meta description is set in head.tpl .

I have done an attempt in this direction: https://forum.abantecart.com/index.php/topic,10650.0.html