WooCommerce Tools
WooCommerce Tools
Knowledge Base
-
WooRewards
0
- MyRewards (Free Version) 5
- Getting Started 2
- Tutorials 4
- Features 12
-
Actions
23
- Spend Money
- Place an order
- Place a first order
- Buy Specific Products
- Buy in categories
- Product Review
- User registration
- Birthday
- Visit a post, page or url
- Send a referral email
- Referee registration
- Referee spends money
- Referee Orders
- Referee buys products
- Referee buys in categories
- Share on social networks
- Visitor clicks a social share
- Receive Badges
- Registration Anniversary
- Post a comment
- Click an image
- Publish a post
- Recurrent Visit
- Rewards 11
- WooCommerce Display 4
- Emails 7
- Shortcodes 7
- API 8
- Developer Resources 2
-
Add-Ons
12
- The Newsletter Plugin Subscription
- MC4WP Mailchimp subscription
- Points and Rewards System Limitation
- Referrals Information
- Points History Excel Export
- Points for Coupon
- Settings Migration
- Subscription Coupon Reward
- Partial Refund Reward
- The Scheduler
- Delayed and Recurring Points
- Points Synchronization
- Play Together 2
- Translations and WPML 2
- Changelog 1
- Knowledge Base
- WooRewards
- Shortcodes
- WooCommerce Tools
In this section, you will find shortcodes for WooCommerce pages
Product Points Preview
Use this shortcode to show to your customers the points they will earn by purchasing the current product.
[wr_product_points]
Options
Here are the available options for this shortcode
- system : The points and rewards system for which you want to display the points earned. You can find this value in WooRewards → Settings, in the Shortcode Attribute column. If left empty, only the first system is displayed
- id : (Optional) The product id. If not specified, the shortcode will try to find the actual product from the page.
- value : (Optional) Select what value you want to display
- regular : Default value. Number of points earned for a regular product. Displays a points range for variable products
- min : For variable products, displays the minimum of points that can be earned
- max : For variable products, displays the maximum of points that can be earned
- showcurrency : (Optional) Set if you want to display the points currency
- true : Default value. Displays the points currency
- false : Doesn’t display the points currency
- force : (Optional) If set, elements are displayed even if users don’t have access to the points and rewards systems.
Order Points Preview
Use this shortcode to show to your customers the points they will earn by completing the current order.
[wr_order_points_preview]
Options
Here are the available options for this shortcode
- system : The points and rewards system for which you want to display the points earned. You can find this value in WooRewards → Settings, in the Shortcode Attribute column. If left empty, all active systems are displayed
- layout : (Optional) Select how elements are organized . 4 possible values
- none : Simple text without stylable elements
- grid : Elements are displayed in a responsive grid
- horizontal : Elements are displayed in a row
- vertical : Default value. Elements are displayed on top of another
- element : (Optional) Select how an element is displayed. 3 possible values
- none : Simple text without stylable elements
- tile : Stylable tile with a background color
- line : Default value. Horizontal display in stylable elements
- display : (Optional) Select how the points are displayed. 2 possible values
- formatted : Default value. Points are formatted with the points currency/name
- simple : Only the points balance numeric value is displayed
- showname : (Optional) If set, will display the points and rewards system name for each element
- showdetail : (Optional) If set, for each system, a detailed list of actions that give points is displayed for each system
- force : (Optional) If set, elements are displayed even if users don’t have access to the points and rewards systems.
- showunlogged : (Optional) If set, elements are displayed even if users are not logged in.
- totallabel : (Optional) Set the ‘Total’ label. Only displayed if showdetail is set to true
Points on Cart
Use this shortcode to let your customers use their points on the cart for immediate discount. This tool only works if your points and rewards system uses the points on cart reward mode.
[wr_points_on_cart]
Options
Here are the available options for this shortcode
- system : The points and rewards system for which you want to display the tool. You can find this value in WooRewards → Settings, in the Shortcode Attribute column.If left empty, the first available system will be displayed
- layout : (Optional) Select how the tool is diplayed . 3 possible values
- horizontal : Default value. Elements are displayed in a row
- vertical : Elements are displayed on top of another
- half : If you present this tool next to the cart totals block, use this option to display the tool vertically with some spacing
- reload : (Optional) Set it to true to force a page reload when customers modify the points they want to apply on the order
Continue reading
Previous: Rewards and Levels