Posts under Wordpress

How to change ‘Out of Stock’ text in Woocommerce

advertisement

woocommerceIf you are using Woocommere to sell service or anything that is not physical then you might want to change the ‘Out of Stock’ text to ‘Sold out’ or some other more meaningful words. Before i do the changes, i thought changing the ‘out of stock’ text is just a easy peasy work but end up cannot find the template. Then i only realise it might be control by a hook. After going thru the woocommerce hook documentation, and i found the answer there!

woocommerce change out of stock text

To change ‘Out of Stock’ text in Woocommerce, follow the steps below:-

Continue reading How to change ‘Out of Stock’ text in Woocommerce »

How to block customer from accessing WP Admin in WordPress

advertisement

wordpress logoPreviously we already show you how to hide the admin bar from non admin user. Today, we are going to show you how to block the customer or non admin user from accessing the wp admin area. To be safe, hiding the admin bar is not enough, because if customer are WordPress user they might know the exact url. So, it’s always good to block non-privilege user to access the wp admin, especially your customer if your are using Woocommerce.

How to block Woocommerce customer from accessing WP Admin in WordPress

Continue reading How to block customer from accessing WP Admin in WordPress »