List of Shortcodes

 

Select product

[orderstorm_select_product
    product_link="product-specific-seo-friendly-url-slug"]

The purpose of this shortcode is selecting the active product for which the other shortcodes will display information. Its use is optional, since the same effect can be achieved by using the product_link attribute in any of the other shortcodes.

Attributes:

Product name

[orderstorm_product_name
    product_link="product-specific-seo-friendly-url-slug"
    sanitize_markup="true"]

Displays a product’s name in your page or post.

Attributes:

  • product_link: see Select product for explanation
  • sanitize_markup: allows specifying if the HTML generated by this shortcode will be sanitized for allowed HTML tags for post content. Valid values for this attribute are “true” or “false”. If this attribute is not specified, it defaults to true

Item number

[orderstorm_product_item_number
    product_link="product-specific-seo-friendly-url-slug"
    sanitize_markup="true"]

Displays a product’s item number in your page or post.

Attributes:

  • product_link: see Select product for explanation
  • sanitize_markup: allows specifying if the HTML generated by this shortcode will be sanitized for allowed HTML tags for post content. Valid values for this attribute are “true” or “false”. If this attribute is not specified, it defaults to true

Short description

[orderstorm_product_short_description
    product_link="product-specific-seo-friendly-url-slug"
    sanitize_markup="true"]

Displays a product’s short description in your page or post.

Attributes:

  • product_link: see Select product for explanation
  • sanitize_markup: allows specifying if the HTML generated by this shortcode will be sanitized for allowed HTML tags for post content. Valid values for this attribute are “true” or “false”. If this attribute is not specified, it defaults to true

Long description

[orderstorm_product_long_description
    product_link="product-specific-seo-friendly-url-slug"
    sanitize_markup="true"]

Displays a product’s long description in your page or post.

Attributes:

  • product_link: see Select product for explanation
  • sanitize_markup: allows specifying if the HTML generated by this shortcode will be sanitized for allowed HTML tags for post content. Valid values for this attribute are “true” or “false”. If this attribute is not specified, it defaults to true

Small image

[orderstorm_product_small_image
    product_link="product-specific-seo-friendly-url-slug"
    sanitize_markup="true"]

Displays a product’s small image in your page or post.

Attributes:

  • product_link: see Select product for explanation
  • sanitize_markup: allows specifying if the HTML generated by this shortcode will be sanitized for allowed HTML tags for post content. Valid values for this attribute are “true” or “false”. If this attribute is not specified, it defaults to true

Medium image

[orderstorm_product_medium_image
    product_link="product-specific-seo-friendly-url-slug"
    sanitize_markup="true"]

Displays a product’s medium image in your page or post.

Attributes:

  • product_link: see Select product for explanation
  • sanitize_markup: allows specifying if the HTML generated by this shortcode will be sanitized for allowed HTML tags for post content. Valid values for this attribute are “true” or “false”. If this attribute is not specified, it defaults to true

Large image

[orderstorm_product_large_image
    product_link="product-specific-seo-friendly-url-slug"
    sanitize_markup="true"]

Displays a product’s large image in your page or post.

Attributes:

  • product_link: see Select product for explanation
  • sanitize_markup: allows specifying if the HTML generated by this shortcode will be sanitized for allowed HTML tags for post content. Valid values for this attribute are “true” or “false”. If this attribute is not specified, it defaults to true

Product not for sale or deleted

[orderstorm_product_not_for_sale_or_deleted
    product_link="product-specific-seo-friendly-url-slug"
    sanitize_markup="true"]

If the product is not for sale or has been deleted, this displays an appropriate message.

Attributes:

  • product_link: see Select product for explanation
  • sanitize_markup: allows specifying if the HTML generated by this shortcode will be sanitized for allowed HTML tags for post content. Valid values for this attribute are “true” or “false”. If this attribute is not specified, it defaults to true

URL for a product’s page

[orderstorm_url_for_product_page
    product_link="product-specific-seo-friendly-url-slug"
    sanitize_markup="true"]

Displays the URL for a product’s page.

Attributes:

  • product_link: see Select product for explanation
  • sanitize_markup: allows specifying if the HTML generated by this shortcode will be sanitized for allowed HTML tags for post content. Valid values for this attribute are “true” or “false”. If this attribute is not specified, it defaults to true

Retail price

[orderstorm_product_retail_price
    product_link="product-specific-seo-friendly-url-slug"
    numeric="false"]

Displays a product’s retail price.

Attributes:

  • product_link: see Select product for explanation
  • numeric: allows specifying if the retail price will be displayed without currency formatting. Valid values for this attribute are “true” or “false”. If this attribute is not specified, it defaults to false

Price

[orderstorm_product_your_cost
    product_link="product-specific-seo-friendly-url-slug"
    numeric="false"]

Displays a product’s price.

Attributes:

  • product_link: see Select product for explanation
  • numeric: allows specifying if the price will be displayed without currency formatting. Valid values for this attribute are “true” or “false”. If this attribute is not specified, it defaults to false

Examples

Product selected with the “Select product” shortcode:

[orderstorm_select_product product_link="your-product"]
[orderstorm_product_name]
[orderstorm_product_item_number]

[orderstorm_product_short_description]

[orderstorm_product_long_description]

[orderstorm_product_small_image]
[orderstorm_product_medium_image]
[orderstorm_product_large_image]

[orderstorm_product_not_for_sale_or_deleted]
[orderstorm_url_for_product_page]
[orderstorm_product_retail_price]
[orderstorm_product_your_cost]

Product selected with the first information display shortcode:

[orderstorm_product_name product_link="your-product"]
[orderstorm_product_item_number]

[orderstorm_product_your_cost]

Display two products selected with the “Select product” shortcode:

[orderstorm_select_product product_link="your-product"]
[orderstorm_product_name]
[orderstorm_product_item_number]

[orderstorm_product_your_cost]

[orderstorm_select_product product_link="your-second-product"]
[orderstorm_product_name]
[orderstorm_product_item_number]

[orderstorm_product_retail_price]
[orderstorm_product_your_cost]

Display two products selected with their first information display shortcode:

[orderstorm_product_name product_link="your-product"]
[orderstorm_product_item_number]

[orderstorm_product_your_cost]

[orderstorm_product_name product_link="your-second-product"]
[orderstorm_product_item_number]

[orderstorm_product_retail_price]
[orderstorm_product_your_cost]