Thursday, August 11, 2022

Put Woocommerce Store into Vacation Mode

// This snippet will remove the single product page "Add to Cart" Button//

 /* STORE VACATION */

add_filter( 'woocommerce_is_purchasable', '__return_false' );



Friday, May 6, 2022

2022 Achievements

Conversational Spanish - Duo Lingo & Classes??


Python programming

Data Science:

Kaggle

AI Singapore

Thursday, September 30, 2021

DIY Dawn PowerWash

 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!

Monday, February 22, 2021

Thursday, February 11, 2021

PHP removal

 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 );

The Savoy Cocktail Book

 https://www.abebooks.com/books/savoy-cocktail-book/