Thread Starter
vvs10
(@vvs10)
@yazdaniwp
This code works for me. Thank you bro =)
Thread Starter
vvs10
(@vvs10)
@yazdaniwp
I inserted your code and my filters are gone
I need to redefine this code, in the file function.php
$catalog_orderby_options = apply_filters( 'woocommerce_catalog_orderby', array(
'menu_order' => esc_html__( 'Default', 'nm-framework' ),
'popularity' => esc_html__( 'Popularity', 'nm-framework' ),
'rating' => esc_html__( 'Average rating', 'nm-framework' ),
'date' => esc_html__( 'Newness', 'nm-framework' ),
'price' => esc_html__( 'Price: Low to High', 'nm-framework' ),
'price-desc' => esc_html__( 'Price: High to Low', 'nm-framework' )
) );
do you know how to do this ?