Our WooCommerce Reward Points plugin currently offers different shortcodes, that you can use inside your WordPress site.
Point Redemption Form Shortcode
Use the shortcode below to show the redemption form for points on any page.
[woocommerce_reward_points_redemption_form]
Custom Text
With the below text you can create any text that will use and replace the same variables as you know from the admin panel texts. So for example you can write a text like “Your current point balance is {{currentPoints}}”.
[woocommerce_reward_points_text text="Your current point balance is {{currentPoints}}."]
Another example to show points earned for a product purchase would be:
[woocommerce_reward_points_text text="Buy this product to earn {{pointsValue}} {{pointsEarnPurchaseValue}} {{pointsEarnPurchase}} {{pointsLabel}}. {{tooltipText}}"]
Current Level
This will show the current user level badge and name.
[woocommerce_reward_points_level badge="yes" name="no" text="" width="100%"]
Products, that can be purchased with points
To show products, that can be purchased with user points use the shortcode below. You have 2 parameters show all (yes or no) and count.
[woocommerce_reward_points_products_points_needed show_all="no" count="-1"]
Can we get a shortcode for total points for purchase? i.e. one product is worth 5 points and second product is worth 15 points, but want to separately represent on a cart page that the total points for this order is 20 points. Just the number of total points, then I can separately style a heading for this little blurb of info. I tried it with Custom text short code like this but it didn’t generate anything even though there were items in the cart: [woocommerce_reward_points_text text=”{{pointsEarnPurchase}}”]
[woocommerce_reward_points_redemption_form]
not working
Please submit a ticket on our website or send your request including your valid codecanyon purchase code to
su*****@we******.io