• Resolved Argentum

    (@argentum)


    Hi, is there any known conflicts with WPAstra theme? I set all settings to ‘Hide for all users’. But the prices and Add to cart buttons remain visible both in single product and product archive (shop page).

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Anthony Hortin

    (@ahortin)

    I’ll need to look into this. If WPAstra is using the standard WooCommerce ‘Add to Cart’ buttons for the products, there should be no reason why it doesn’t work.

    This plugin uses the standard hooks provided by WooCommerce, so if it’s not working, my initial guess is that they’re overriding default WooCommerce functionality.

    I’ll take a look when I get the chance and see if I can work out what’s happening.

    Hi @ahortin
    I have the same problem as @argentum.
    Has the resolution for this been found yet?
    I’ll appreciate any info on the subject.

    Edit: Sorry! I’ve got this a sec ago. Everything works well when edited in appearances panel/ woocommerce, and not only in the Settings of Woocommerce plugin. I didn’t check it out at first. My bad!

    • This reply was modified 4 years, 7 months ago by madamemagic.
    Plugin Author Anthony Hortin

    (@ahortin)

    It looks like my plugin only partly works. Some of the WooCommerce items like Add to Cart buttons, Prices, Ratings and others, are removed on the Single Product page, but not on the main Shop archive page.

    The reason for this is because WP Astra is removing the default WooCommerce hooks and replacing them with their own, higher priority, hooks.

    There’s not much I can do about this unfortunately. It’s a WP Astra issue. They should be using the default WooCommerce hooks instead of replacing them. This will affect not just my plugin, but any other WooCommerce plugin that uses the default WooCommerce hooks.

    Screenshot from astra/inc/compatibility/woocommerce/class-astra-woocommerce.php:
    https://share.getcloudapp.com/X6uowEzk

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not working with WPAstra theme’ is closed to new replies.