Skip to content
WP Intense Q & ACategory: Super Speedy SearchBoost Product Categories
Fernando Vilches asked 5 months ago

With SSS is there some way to Boost one category over an other?

Example:

I look for "Iphone", but the first products I receive are iphone accesories. My intention is to give more relevance to the "smartphones" product_cat than "smartphones-accesories".

I was using relevanssi and with these plugin it works by adding a filter:

add_filter( 'relevanssi_match', 'rlv_boost_one_term' );

function rlv_boost_one_term( $match ) {

if( has_term( 'smartphones-accesories', 'product_cat', $match->doc ) ) {

$match->weight *= 0.1;

}

return $match;

}

1 Answers
Dave Hilditch Staff answered 4 months ago

I’ve created a Trello card for this here: https://trello.com/c/TdnBqzdB/331-sss-add-taxonomy-weighting-options

I’ll try and get this implemented some point next week as we’re aiming to come out of beta at the end of next week and I think this is the final feature that a lot of people expect.

Come chat to me on our Discord server to ask questions - Dave Hilditch, WP Intense

We use cookies

We use cookies for various things on our site, including our on-site chat bubble (if you use it), our comment forms (if you use them) and for session handling (if you log in).

Other than that, we use cookies to identify where traffic came from to help us understand which traffic turns into sales, we use a cookie for Google Analytics traffic analysis and we use a cookie to customise adverts for our own products we think you'll be interested in.

You can read more detail in our privacy policy page. Please click 'Accept' or 'Decline' to continue.