This topic is: resolved
-
I deleted a woocommerce custom hook element from my simple product page template and the hook still appears on the page. is this suppose to happen? it was to display if the product is in stock or not (since i could not find an element to use to produce this data)
The hook i used was
add_action('wc_get_stock_html');
it didnt appear in the specific order i placed it on the page (after the price and before the description.. it showed up above the “add to cart” button” which the button was at the bottom of the same container), so i removed the element and “In stock” or “Out of stock” still shows up on the page now that the woocommerce custom hook element was removed from the page i built.