// This snippet will remove the single product page "Add to Cart" Button//
/* STORE VACATION */
add_filter( 'woocommerce_is_purchasable', '__return_false' );
// This snippet will remove the single product page "Add to Cart" Button//
/* STORE VACATION */
add_filter( 'woocommerce_is_purchasable', '__return_false' );
Conversational Spanish - Duo Lingo & Classes??
Python programming
Data Science:
Kaggle
AI Singapore
https://haphazardhomemaker.com/2020/09/22/how-to-make-copycat-dawn-powerwash/
I used the recipe above into my old powerwash bottle. Works like a charm!
1/4 Dawn Platinum
3 tablespoon alcohol (I upped the alcohol, no idea why...)
Fill up with water
That's it!
Removing this from PHP customisation
// Hide "in stock" @ Single Products
function my_wc_hide_in_stock_message( $html, $text, $product ) {
$availability = $product->get_availability();
if ( isset( $availability['class'] ) && 'in-stock' === $availability['class'] ) {
return '';
}
return $html;
}
add_filter( 'woocommerce_stock_html', 'my_wc_hide_in_stock_message', 10, 3 );