Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/ngolwalkar01/zen-purchase-blocks/archive/refs/heads/main.zipDynamic Gutenberg blocks for Zenctuary purchase offers.
Current Block
-
Zen Membership Plans -
Selects one or more WooCommerce Memberships plans.
-
Lists products and variations assigned to the selected plans.
-
Lets the editor choose which items to show and tag each as monthly or yearly.
-
Renders monthly/yearly tabs only when selected products exist for that billing group.
-
Shows yearly-tab products with monthly pricing; annual-billed products are converted to a monthly equivalent, with a per-card override.
-
Formats card prices without subscription period text and hides trailing zero decimals.
-
Pulls price, billing period, Zencoin grant amount, and add-to-cart URL from WooCommerce at render time.
-
Zen Zencoin Packages -
Lists WooCommerce products where CBB Zencoin product type is
package. -
Lets the editor choose which package products to show.
-
Pulls price, Zencoin amount, price per Zencoin, validity days, and add-to-cart URL from WooCommerce/CBB meta.
-
Supports per-card overrides for displayed Zencoins, usage text, validity text, and button label.
-
Zen Drop-ins -
Lists WooCommerce products where CBB Zencoin product type is
drop_inorfree_drop_in. -
Lets the editor choose which drop-in products to show.
-
Pulls price, Zencoin amount, product image, validity days, and add-to-cart URL from WooCommerce/CBB meta.
-
Supports per-card overrides for image URL, price, displayed Zencoins, usage text, validity text, note text, and button label.
Dependencies
- WooCommerce
- WooCommerce Memberships
- WooCommerce Subscriptions for subscription billing labels
- Coin Booking Bridge product meta for Zencoin amounts, when present
Usage
- Activate Zen Purchase Blocks.
- Add the Zen Membership Plans block in the editor.
- Select one or more membership plans.
- Enable the assigned products or variations to display.
- Set each enabled item to Monthly or Yearly and add benefits/marketing copy.
For packages:
- Add the Zen Zencoin Packages block.
- Enable the package products to display.
- Optionally override Zencoin display, usage text, validity text, or button label per card.
For drop-ins:
- Add the Zen Drop-ins block.
- Enable the drop-in or free drop-in products to display.
- Optionally override image URL, price display, Zencoin display, usage text, validity text, note text, or button label per card.