Home › Forums › WoodMart support forum › Setting preset on condition of product category ID did not work › Reply To: Setting preset on condition of product category ID did not work
July 3, 2024 at 4:01 pm
#577959
Luke Nielsen
Keymaster
Hello,
Tyr to use the code below for help:
if ( isset( $_COOKIE['shop_per_page'] ) ) {
unset( $_COOKIE['shop_per_page'] );
unset( $_COOKIE['shop_view'] );
setcookie( 'shop_per_page', null, -1, '/' );
setcookie( 'shop_view', null, -1, '/' );
}
Kind Regards