The [WPGENS_POINTS_EARNING] shortcode renders a notice showing how many points the customer will earn for their current cart total. Use it on custom cart or checkout pages built with Elementor, Breakdance, Divi, or any other page builder where the standard WooCommerce hooks do not fire automatically.
[WPGENS_POINTS_EARNING]
Parameters
This shortcode accepts no parameters. The message text and format are controlled by your Points Earning message setting under Points and Rewards → Settings → Earning.
What It Displays
When placed on a cart or checkout page with an active WooCommerce cart, the shortcode outputs the configured points earning message. For example: You will earn 120 points for this purchase. The exact wording is taken from your plugin settings and supports the same template tokens as the built-in hook placement.
The shortcode outputs nothing if the cart is empty or the Points Earning feature is disabled in settings.
When to Use It
The standard plugin integration injects the earning notice automatically via WooCommerce cart and checkout hooks. If you have built a custom cart or checkout page with a page builder, those hooks may not fire. Place this shortcode in your custom layout — typically above or below the cart totals — to restore the earning notice.