Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #466614

    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

    • This topic was modified 8 years, 10 months ago by Cropsnc.
    #467385

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.