Skip to content

Documentation

WooRewards

  1. Home
  2. Docs
  3. WooRewards
  4. Shortcodes
  5. WooCommerce Shortcodes

WooCommerce Shortcodes

 

In this section, you will find shortcodes specific to WooCommerce

1 – Loyalty and Rewards

This shortcode shows all loyalty and rewards information visible in WooCommerce’s ‘My Account’ page.

[wr_user_loyalties]

 

2 – Cart Coupons

This shortcode shows coupons owned by the user and proposes a button to apply them on the cart.

[wr_cart_coupons_view]

 

3 – Cart Points Preview

This shortcode shows the points the customers can get if he validates his actual cart.

[wr_cart_points_preview]

 

4 – Product Points Preview

This shortcode shows the points the customers can get if he purchases the actual product.

[wr_product_points_preview id="product_id"]

Attribute Description
id The product id. If not specified, the shortcode will try to find the actual product from the page.
Was this article helpful to you? Yes No
Scroll To Top