Boost Product Categories

Fernando V. asked 3 years 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 3 years 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.

Your Answer


Super Speedy Plugins
Logo