Tutón tykač njeje so z najnowšimi 3 hłownymi wersijemi WordPress testował. Snano so hižo njewothladuje abo njepodpěruje a ma problemy z kompatibelnosću, hdyž so z nowšimi wersijemi WordPress wužiwa.

Points and Rewards with WooCommerce Blocks

Wopisanje

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

Instalacija

  1. Upload points-and-rewards-with-woocommerce-blocks to the /wp-content/plugins/ directory or download the zip directly from the plugin directory.
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress

Pohódnoćenja

Za tutón tykač pohódnoćenja njejsu.

Sobuskutkowarjo a wuwiwarjo

„Points and Rewards with WooCommerce Blocks“ je softwara wotewrjeneho žórła. Slědowacy ludźo su k tutomu tykačej přinošowali.

Sobuskutkowarjo

Protokol změnow

1.2.0

  • Added in a new option on the above checkout area shortcode to show or hide the old banner of adding coupons. Default is to remove the old banner. To display the banner, use the following shortcode: [points_and_rewards_above_checkout_area old_coupon=“yes“ ]

1.1.1

  • Fixed bug where shortcode ran in block editor, producing invalid JSON error.
  • Tweaked the in-code plugin name to match the given slug from WordPress

1.1.0

  • Added 2 new shortcodes: [points_and_rewards_below_cart_area] [points_and_rewards_below_checkout_area]

1.0.0

  • Initial release