Create a shortcode to add a specific product price

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]

Add shortcode to make link to individual product

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.