Magento WordPress Integration Magento WordPress Integration

WordPress Shortcodes

The following WordPress shortcodes are available using the extension:

Display a Magento Product In WordPress

The product shortcode is a custom shortcode only available in FishPig's Magento WordPress Integration that will allow you to include Magento products inside your WordPress blog post. You can include a single product or multiple in one go.

// Include a single product
[product id="4"]

// Change the template
// Default template is (wordpress/shortcode/product.phtml)
[product id="4" template="wordpress/shortcode/custom-product.phtml"]

// Include multiple product's using their ID's
[product ids="4,8,12,16"]

// Include a product using it's SKU
[product sku="your-product-sku"]
Post your comment

FishPig Ltd