How to display Frequently Bought Together Products anywhere with Shortcode?

Apart from the predefined positions, Mighty Frequently Bought Together Products plugins allows you to display recommended product section anywhere on your website pages or blog post or even on any custom template position with the help of Shortcode.

Case 1

If you are creating a custom template using any page builder and you want to display the frequently bought products then you need to use this shortcode [mfbt_form Product_id = “”]. Here you don’t need to specify any product id. It will automatically capture the current product’s ID and will display frequently bought products according to that product.

Case 2

If you are creating a blog post and want to display the frequently bought products which are related to a specific product, you can use this shortcode: [mfbt_form Product_id = “add numeric product id here“]. Here you have to add the product id so it will display the frequently bought products according to the specified product.