Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author pantrif

    (@pantrif)

    Hello,

    Yes this plugin removes the add to cart option from products loop and product details page. The purpose was to make easy for everyone to toggle between shop and catalog. So it will not hide neither attributes nor shipping classes (if exists).
    I will consider thought to include these options in next updates.

    Best Regards

    Thread Starter Jack

    (@moxie)

    Thanks for the reply. It would be nice of you could consider hiding these kind of elements so that it really becomes a catalog.

    Plugin Author pantrif

    (@pantrif)

    Thanks for your suggestion. As i told i will might include it in next update.

    Hi. Nice plugin.

    I removed Add to cart button and added custom button instead, redirecting to contact page. So it works fine in archive (category) where a I have and specific hook to show buttons, showing a Contact Us button.
    https://piscareimportacao.com/loja/

    But the same button doesn’t appear in product details page!!! How can I show the same Contatc Us button there ???
    https://piscareimportacao.com/loja/lombo-bacalhau-dessalgado/

    Plugin Author pantrif

    (@pantrif)

    Open woocommerce_catalogue.php and add after the line 130 (inside if) this:

    add_filter( 'woocommerce_single_product_summary', array($this,'custom_button'),10);

    Also make sure that you switched ON the remove add to cart option.

    Best Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hiding unnecessary elements’ is closed to new replies.