• The best import export plugin
  • Supports very large files
  • Simple interface & flexible API
  • Import, Export, Migrate, Bulk Edit

Woo Product Shortcodes (Free)

by The WP Makers

3 Ratings

  • 4.5

Active Installations

500+

Last Update

4 years

Quality

D

Plugin Description

Description
Sometimes you refer to a product in a post, page or on your homepage with reference to a price, product name or SKU.
With this plugin, you can replace the static text with a shortcode so the values are pulled dynamically from your woocommerce store.
Especially useful when referring to the price as this can change regularly leaving old static text out of date.
To get started, use the shortcode to show the price:
[woo-product-shortcodes id=”20″ data_attribute=”price”]
Use can use data_attributes for “name”, “short_description”, “sku”, “price”, “regular_price”, “sale_price” and more. See FAQ for details.
FAQ // Frequently Asked Questions
What shortcode do I use?
[woo-product-shortcodes id=”20″ data_attribute=“price”]
There are two variables to the shortcode:
1) id = the product id from the woocommerce shop
2) data_attribute = this defined what text will be shown – see below for possible options
What data attributes can I use?
data_attribute=”name”
This will show the name of the product
data_attribute=”short_description”
This will show the short description of the product
data_attribute=”sku”
This will show the SKU of the product
data_attribute=”price”
This will show the price of the product. If the product is on sale, then the sale price will be shown automatically.
data_attribute=”regular_price”
This will show the regular price of the product
data_attribute=”sale_price”
This will show the sale price of the product
Error Codes
ERR001: No valid attribute defined.
REASON: This is triggered when you have not defined which data_attribute to return and show on the page/post.
FIX: Add the data_attribute variable to the shortcode with a permitted value
ERR002: Invalid data_attribute defined.
REASON: This is triggered when you have defined data_attribute but its not a permitted value
FIX: Read the list of permitted data_attribute options from FAQ and update your shortcode with a correct data_attribute

Similar Plugins

  • Report Bug
The content on this website originates from various sources. All rights to the original content remain with the respective author. If you believe that your copyrights have been infringed by the use of content on this website, please contact us at info@plugin-guru.com. We will remove the content in question immediately.

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Regular Price

Free download

Key Features

  • You will be redirected to the retailer

Collections

Create your first Collection

To create a collection, simply click on the symbol on the desired plugin.

You can see this symbol when you move the mouse over the plugin. 

Current Level

Plugin Magican

You have reached 0 views on your collections and are currently Plugin Magican. You magically help people find the right plugins and are a great asset to the community

0 of 500 views reached