Tagged: enfold, woocommerce
Hi, I’m developing an enfold child theme and as you suggested I’ve edited functions.php adding
` add_action( ‘after_setup_theme’, ‘enfold_woocommerce_child_theme_code’ );
function enfold_woocommerce_child_theme_code()
{
remove_action( ‘woocommerce_before_shop_loop’, ‘avia_woocommerce_frontend_search_params’, 20);
add_action( ‘woocommerce_before_shop_loop’, ‘avia_woocommerce_frontend_search_params_child_theme’, 20);
function avia_woocommerce_frontend_search_params_child_theme()
{
inside there is
$product_order[‘title’] = __(“Name”,’avia_framework’);
Could I populate the dropdown menu with woocommerce_attribute_taxonomies ?
Thank You
Hey Cropsnc!
Thank you for using Enfold.
Yes, I think that’s possible but it will require custom modification that we can’t provide here. Anyway, there’s a built in widget that you can use to display product attributes. Go to Appearance > Widgets then look for the Woocommerce Layered Nav widget.
Best regards,
Ismael