Support » Plugin: WooCommerce Extra Product Sorting Options » Can’t get sorting to display in Avada theme

  • Resolved cecilette

    (@cecilette)


    Hi,
    It looks like the Avada theme has it’s own sorting and the plugin isn’t replacing it. Any way to override it? I tried the Avada option to “Disable Woocommerce Shop Page Ordering Boxes” but then neither displays.
    Please let me know if you know of a solution. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Beka Rice

    (@bekarice)

    Hey @cecilette, thanks for the specific info here! I’m sorry to hear you’ve run into this issue, and unfortunately I’m afraid that there’s nothing on the plugin side that can adjust this — it’s using all of the WooCommerce hooks required to add sorting properly, so the Avada theme needs to actually use these sorting options instead of hard-coding the original sorting choices. I’m sorry I don’t have better news for you here.

    You could pass this to the theme developers and ask them to do something similar to ensure they output the filtered sorting choices, not just the default ones, as this is how WooCommerce itself handles outputting the sorting dropdown: https://github.com/woocommerce/woocommerce/blob/481471a64cccc97ffd084166f17ecf399dbd4ff3/includes/wc-template-functions.php#L811-L846

    The key there is they need to ensure their theme uses the same filter, they can’t just leave it out. thanks!

    Thanks for the detailed answer @bekarice! I’ll reach out to the theme developers or try to use that filter in my child theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t get sorting to display in Avada theme’ is closed to new replies.