Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Help-Search Blog Pages Rate Topic   - - - - -

 
  • carterj
  • Junior Member
  • Members
  • Join Date: 11-May 09
  • 111 posts

Posted 17 December 2020 - 06:33 AM #1

Without purchasing an add-on...

 

Does anyone know how to add native cs-cart search for blog entries?

 

I've enabled pages, but blog pages are not recognized.  Documentation does not cover blog, just keyword and product code searching.

 

 


Using CS-CART 4.11.x


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 21562 posts

Posted 17 December 2020 - 01:37 PM #2

app/functions/fn.search.php

 

after 

fn_set_hook('create_pages_condition_pre', $params, $lang_code);

add

$params['full_search'] = true;

Then clear cache

 

P.S. If you familiar with hooks, it recommended to use the create_pages_condition_pre hook to add extra parameters


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • carterj
  • Junior Member
  • Members
  • Join Date: 11-May 09
  • 111 posts

Posted 18 December 2020 - 03:38 AM #3

Thanks...  it worked :)

 

Hooks:  Will read-up and start experimenting...  Its been some time since I last dabbled with the site code.  


Using CS-CART 4.11.x