(V5) How can I link to another product inside a page, description or blog post? Print

  • 0

You can insert a link to a product directly in a blog post, product page, or content page by using the Shortcodes feature built-into Ozcart. 

At the place where you want the link to appear you need to write the short code [link_product] and provide the settings for the product identifier (id) that you are linking to. You can also optionally specify the title text that appears as a hover over the link when a customer hovers over the link.

[link_product id="x" title="xyz"]your link text[/link_product]

The information that you need to supply is described below:

How can you find the identifier (id) of the product you are linking to?
You can find the identifier number of the product you are wanting to link to, by opening a new browser window and in your administration panel going to Products > View Products from the Store Admin menu, and then clicking into the product that you wish to link to.

Then look in the URL bar and the identifier number for this product will be shown as a product_id. In the example below for the demo shop product Animal Print Bangle, the product_id is 151, so to link to this in a short code you'd enter:

[link_product id="151"]View Animal Print Bangle[/link_product]

Was this answer helpful?

« Back

Powered by WHMCompleteSolution