This snippet adds an extra line in the cart under product name, to show the category or categories.
Displays the category image (if one has been set) at the top of the category page.
This code displays the weight (if set) of each product on the category pages.
This code will display the product dimensions (if available) onto the category page.
This code puts a ‘New!‘ badge on items that have been added recently. The setting in the example below is for products added in the last 30 days. A class has also been included to match the “onsale” button, but you can change the class name if you want to style it differently.
If an item is out of stock there is no indication of this on the category page. Customers need to visit the individual product page to discover the availability. This code adds a line to the category page to say an item is out of stock. Change the message if you prefer “Sold out” or … Read moreDisplay ‘Out of stock’ on category pages
On a small shop with only a few items, a simple list of products may be all that is required. Separate product pages become unnecessary. This code removes all the links on the category page to the individual product pages. You may also want to add the short description and add the quantity selector to … Read moreRemove all links to individual products on the category page
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.
The default Classic Commerce setup displays the add-to-cart button on the category page. The quantity selector is only available on the individual product page, or in the cart. This code adds a quantity selector onto the category page as well.
This code removes the result count showing the total of product numbers listed on the category page.