Skip to content

Supported Attributes of Shortcode and Content Column

Fazle Bari edited this page Dec 9, 2020 · 1 revision

# Usage Example of Shortcode

[favorite_button post_id="%product_id%" title="%name%"]

  • %product_id% : (int) Product ID
  • %sku% : (string) Product SKU
  • %name% : (string) Product Title
  • %excerpt% : (string) Short Description
  • %product_name% : (string) Product Name
  • %title% : (string) Product Title
  • %product_title% : (string) Product Title
  • %permalink% : (string) Product Link
  • %content% : (string) Long Description
  • %excerpt% : (string) Short Description
  • %description% : (string) Short Description
  • %short_description% : (string) Short Description
  • %thumbnail% : (string) Thumbnail
  • %image_id% : (int) Thumbnail ID
  • %thumb_id% : (int) Thumbnail ID
  • %sku% : (string) SKU
  • %author% : (string) Author Name
  • %slug% : (string) Slug
  • %price% : (string) Price
  • %regular_price% : (string) Regular Price
  • %menu_order% : (int) Menu Order
  • %stock_status% : (string) Stock Status
  • %stock_quantity% : (int) Stock Quantity
  • %backorders% : (string) Stock Quantity
  • %average_rating% : (string) Rating
  • %review_count% : (int) Rating Count
  • %user_login% : (string) Username
  • %user_nicename% : (string) User Full Name
  • %user_email% : (string) User Email
Clone this wiki locally