Removed Unnecessary Tracking
This commit is contained in:
parent
40b167fb41
commit
2dff8ec574
|
@ -247,7 +247,6 @@ class WC_Product_Collection_Block_Tracking {
|
||||||
$filters = array(
|
$filters = array(
|
||||||
'inherit' => 'no',
|
'inherit' => 'no',
|
||||||
'order-by' => 'no',
|
'order-by' => 'no',
|
||||||
'related-to' => 'no',
|
|
||||||
'on-sale' => 'no',
|
'on-sale' => 'no',
|
||||||
'stock-status' => 'no',
|
'stock-status' => 'no',
|
||||||
'handpicked' => 'no',
|
'handpicked' => 'no',
|
||||||
|
@ -304,10 +303,6 @@ class WC_Product_Collection_Block_Tracking {
|
||||||
$filters['handpicked'] = 'yes';
|
$filters['handpicked'] = 'yes';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ! empty( $query_attrs['woocommerceRelatedTo'] ) ) {
|
|
||||||
$filters['related-to'] = 'yes';
|
|
||||||
}
|
|
||||||
|
|
||||||
if ( ! empty( $query_attrs['search'] ) ) {
|
if ( ! empty( $query_attrs['search'] ) ) {
|
||||||
$filters['keyword'] = 'yes';
|
$filters['keyword'] = 'yes';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue