Skip to content

WooRewards

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

WooCommerce Shortcodes

This documentation is for the WooRewards plugin

In this section, you will find shortcodes specific to WooCommerce

Summary

Loyalty and Rewards

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

[[wr_user_loyalties]]

 

Cart Coupons

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

[[wr_cart_coupons_view]]

 

Cart Points Preview

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

[[wr_cart_points_preview]]

 

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.
Scroll To Top