Display categories under product name in cart
This snippet adds an extra line in the cart under product name, to show the category or categories.
This snippet adds an extra line in the cart under product name, to show the category or categories.
You may want to include a free “gift” or bonus item when a certain product has been added to the cart. With this code, if a product with a set ID is added to the cart, another product automatically gets added as well. The second product should have price = 0 if it is to … Read moreAdd a gift item to the cart when another item added
You can easily add the Classic Commerce product price as a shortcode using the product ID as an attribute for any specific product. The shortcode can be inserted into any page or post using the format: [cc_product_price id=321]
The tab labels on the single product view are “Description”, “Additional Information” and “Reviews” by default. You can rename the “Reviews” tab with this code.
The tab labels on the single product view are “Description”, “Additional Information” and “Reviews” by default. You can rename the “Additional Information” tab with this code.
The tab labels on the single product view are “Description”, “Additional Information” and “Reviews” by default. You can rename the “Description” tab with this code.
If you prefer to use a video to show your product then it is possible to remove the static image and thumbnail and insert the embed code from a YouTube video. NB: This code only applies to one product as specified by product ID.
This snippet adds a shortcode that can be used to quickly insert a link to any individual product page. The product is specified by id, for example [product_url id=”428″] and the title of the product is used as the link text.
To make it easier for customers to get back to the shop page from an individual product page use this code to add a button.
This code displays the weight (if set) of each product on the category pages.