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

  • 0

You can insert a link to a product category 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_category] and provide the settings for the category 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_category id="x" title="xyz"]your link text[/link_category]

The information that you need to supply is described below:

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

Then look in the URL bar and the identifier number for this product will be shown as a category_id. In the example below for the demo shop category Accessories, the category_id is 355, so to link to this in a short code you'd enter:

[link_category id="355"]See Accessories[/link_category]







Was this answer helpful?

« Back