Author Topic: How to include Blurb field contents in search results?  (Read 3194 times)

Offline dharding

  • Newbie
  • *
  • Posts: 41
  • Karma: +7/-0
    • View Profile
How to include Blurb field contents in search results?
« 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.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: How to include Blurb field contents in search results?
« Reply #1 on: August 24, 2020, 10:27:13 PM »
What is your design and what page are you missing a description?

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline dharding

  • Newbie
  • *
  • Posts: 41
  • Karma: +7/-0
    • View Profile
Re: How to include Blurb field contents in search results?
« Reply #2 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.

Offline dharding

  • Newbie
  • *
  • Posts: 41
  • Karma: +7/-0
    • View Profile
Re: How to include Blurb field contents in search results?
« Reply #3 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.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: How to include Blurb field contents in search results?
« Reply #4 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
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline dharding

  • Newbie
  • *
  • Posts: 41
  • Karma: +7/-0
    • View Profile
Re: How to include Blurb field contents in search results?
« Reply #5 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?

Offline OneMore

  • Newbie
  • *
  • Posts: 46
  • Karma: +12/-0
    • View Profile
Re: How to include Blurb field contents in search results?
« Reply #6 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

 

Powered by SMFPacks Social Login Mod