Site logo

Archived topic

Woocommerce Hooks Not working

4 replies · Started by Praveen on July 6, 2021

Viewing posts 1–5 of 5

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!

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.

You were right!! thanks a ton!!

You're welcome

This archived topic is closed to new replies.