PRODUCT_URL / PURL

Render URL to a product. It can be current product, or any product by specified ID.

%PRODUCT_URL:MODE|ID%
%PURL:MODE|ID%

Mode determines the page for the product to get URL:

  • specification
  • review
  • reviews
  • media
  • related
  • discussion

Tag has one optional parameter for ID, and that needs to be ID of the product. If this is omitted, current product URL will be generated.

Scope

This tag works only with the single type templates.

Examples:

%PURL:RELATED%
%PURL|155%
%PURL:REVIEW|100%

Comments

Leave a Reply