Points and Rewards with WooCommerce Blocks

0

With the release of WooCommerce Blocks, we have noticed a decrease in the plugins that are able to interact with the cart and checkout pages. We created 4 shortcodes to help with all pl

Version
Last updated
Active installations
WordPress Version
Tested up to
Rating
Total ratings
Tags
This plugin is outdated and might not be supported anymore.

Description

With the release of WooCommerce Blocks, we have noticed a decrease in the plugins that are able to interact with the cart and checkout pages.
We created 4 shortcodes to help with all plugins, but specifically in this case, WooCommerce Points and Rewards!

The first shortcode is in relation to the WooCommerce Cart where Points and Rewards “Apply Points” would typically appear.
Put this above the “WooCommerce Cart” block.

[points_and_rewards_above_cart_area]

The second shortcode, in relation to WooCommerce Checkout Area.
Put this above the “WooCommerce Checkout” block.

[points_and_rewards_above_checkout_area]

// Optional parameter old_coupon defaults to "no" to keep the old
// banner hidden. Use the following shortcode to display the old banner:
[points_and_rewards_above_checkout_area old_coupon="yes" ]

The following 2 shortcodes are not typically used by Points and Rewards, but offer a very similar functionality.
Put this below the “WooCommerce Cart” block.

[points_and_rewards_below_cart_area]

Put this below the “WooCommerce Checkout” block.

[points_and_rewards_below_checkout_area]

POWER USERS AND DEVELOPERS

For a more generalized usage, please see our sister plugin and inspiration for this plugin, Action Runner