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.
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.
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.
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.
To simplify the shopping cart by removing the shipping line entirely, use this code.
Products that are out of stock still invite customers to read more. It is not clear the product is unavailable until the visitor have viewed the individual product page. This code hides the “read more” button when a product is out of stock.
When the category display pages have been set to show subcategories (rather than all products), the sub-category headings include the number of items in that category. This code hides that product count.