Remove the Classic Commerce dashboard widget
If you are only using Classic Commerce as a way to display items with the shop and cart disabled, then the dashboard widget showing a summary of sales is unnecessary. This code removes it.
If you are only using Classic Commerce as a way to display items with the shop and cart disabled, then the dashboard widget showing a summary of sales is unnecessary. This code removes it.
The first example in this code snippet can be used to remove all references to SKUs entirely from the site, frontend and backend. The second example just hides them on the frontend.
This code trims the zeros to show whole units where applicable, for example $43 instead of $43.00.
You can restrict the display of prices and only allow items to be added to the cart for logged in users. This might be useful if, for example, you are a wholesaler and only want your retail clients to be able to see your prices.
The custom fields section can be confusing for novice users and the download permissions section is only necessary if downloadable products are on offer. This code hides both of those meta boxes.
The zoom feature on the product images is useful in many circumstances, but not always appropriate. You can disable this feature with the code below, still leaving the lightbox gallery option in place. To show the zoom-in cursor over the main image, you may need to add this code to your css file. .woocommerce-product-gallery a>img:hover … Read moreDisable zoom feature on product page images
On the single product page there are tabs for extra information. The heading under the “Description” tab is “Description” which is an unnecessary duplication. The code snippet below removes the second occurrence. If you only have the one tab (ie the others tabs has been removed or are not being used), then another option is … Read moreRemove ‘Description’ heading under single product tab
This code removes both the “What is PayPal?” link and the PayPal logo from the payment options in the checkout.
This code will remove the Classic Commerce option in the Customizer window side menu, in case you want to stop clients being able to change any of the settings.
When you have a number of possible shipping options available but one of them is free, there is no point making your customer choose between them. This code hides any paid options when free shipping is available.