Quantcast
Channel: PHP – gasolicious.com
Browsing latest articles
Browse All 4 View Live

Returning Arrays in PHP, a simple example

This one is just a little post for myself really. It may be handy for someone else. WordPress will often store data in Array in PHP. When you go to return something back by name you just get the result...

View Article



Add the stock status to Woocommerce Shop and Category pages

Woocommerce displays the Stock Status, for example ‘Out of stock’ or ‘6 in stock’ on the single product page. I needed to display the message on the Shop and Category pages. Also my client actually...

View Article

get_dimensions() for displaying dimensions deprecated in woocommerce 3

The code to display product dimensions has changed in woocommerce 3 This is my old code which was in my child themes functions.php file. It displayed the product dimensions next to the label...

View Article

Uncheck default “Ship to different address” on woocommerce checkout using...

“Ship to different address” is the default setting on woocommerce checkout. There has been much discussion about why this is or is not a good idea. See this thread...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images