Site logo

[Resolved] Woocommerce Hooks Not working

Home Forums Support [Resolved] Woocommerce Hooks Not working

Home Forums Support Woocommerce Hooks Not working

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1846366
    Praveen

    Hi guys, I have two issues – >

    ISSUE 1 – Hooks not working on Individual Variable (not simple) products – >

    I have tried various hook locations for the SHOP theme on this website.

    Just to let you know the background, I have disabled the Add cart button and instead of that Want people to go to another portal for booking.

    I have been told this link to look for hook locations. But except for the one “after related products” none works.

    My question is –
    1) is there a way I can JUST display the pricing BUT not let people add to cart and Buy?
    2) How to add text using hooks.

    ISSUE 2 – Short description not working

    I have entered short descriptions for the products and also enabled it in the customizer. but it still does not display.

    Not sure of the reason! Can you please help? If that works, I can put the buying link there!

    Thanks!

    #1846374
    Praveen

    Sorry, here is the hook guide i was asked to follow – https://www.businessbloomer.com/woocommerce-visual-hook-guide-single-product-page/

    #1846409
    David
    Staff
    Customer Support

    Hi there,

    you have this CSS on your site in the Customizer > Additonal CSS:

    .entry-summary p:not(.read-more-container) {
        display: none;
    }

    Which is hiding the price and the short description and probably any other text elements you add to those hooks.
    Remove that first and then recheck the hooks are working.

    #1846636
    Praveen

    You were right!! thanks a ton!!

    #1846658
    David
    Staff
    Customer Support

    You’re welcome

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