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}}."]

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"]

Laisser un commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *