If you want to remove decimal from price then add following code in functions.php , this filter will remove zeros from product price. Advertisements
WordPress has a good feature to update itself automatically. It is good practice to update WordPress sites periodically, as well as WordPress release new version. It is not advisable to disable this feature, but sometimes your site got broken due to some plugins which are not compatible with new version of WordPress. In that situation, you … More How to Disable Automatic Updates feature in WordPress
Following code will show you that how to get product categories list in WooCommerce.
We need to use ‘admin_menu’ hook to remove/hide menu from specific role type. Following code show example of this. First get role type then remove menu. Open functions.php and write following code. Please keep in mind that this code doesn’t remove user’s permission. That means user still can access menu directly from browser.
In wordpress site while you add ajax function to modify html content you can do it in fancy way like adding some jquery effect. so user can see updated contents in site.