
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.
[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
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
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
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
Starting from $0 per month.
Rating
Reviewers
3 reviews
Tags
Developed By
ESC IT (Web Design Bristol)
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Use a reviews badge to highlight your ratings, build trust at a glance, improve credibility, and help increase conversions across your site.
Collect and manage donations securely with a customizable online donation form that supports Stripe or PayPal and helps increase contributions.
Show RSS feed updates with an RSS feed slider that auto updates, displays posts in a smooth layout, and keeps visitors engaged.
Display a cookies consent bar that explains usage and supports GDPR compliance, enhancing user trust and legal clarity.
Create interactive video polls that use engaging clips to boost participation, gather insights, and help visitors vote in a more dynamic way.
Create a mega footer that organizes navigation links, contact info, logos, social icons and improves usability and site structure.
Show payment method logos that highlight accepted payment options, build trust at checkout, and help visitors feel confident completing their purchase.
Create structured layouts with a section builder that lets you design custom website sections, customize styles, and organize content for a clearer user experience.
Showcase content with a card slider that presents images, text, and buttons in a smooth, customizable layout to keep visitors engaged.
Show Sitejabber reviews to build trust, strengthen credibility, and help visitors make confident purchase decisions that support higher sales.
Show Vimeo videos with a Vimeo slider that displays clips in a smooth slider to boost engagement and keep visitors watching.
Enhance titles with highlighted headlines that use custom colors, animations, and styles to draw attention and help visitors notice key messages.
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!
