How deltawebmaroc/rewardly-loyalty works
Nodevora Customer Rewards is a WooCommerce loyalty plugin. Store purchases earn points; customers can view balances and history, then apply points toward cart or checkout discounts. Store owners configure rules and manually adjust balances. The graph also preserves product-level earning notices, account and shortcode displays, styling, and documented Blocks support. Source excerpts show selected calls and table setup; several runtime registrations and storage interactions are unsampled, so those links are omitted rather than inferred.
Main entry points: class-rewardly-loyalty-helpers.php Points calculations · class-rewardly-loyalty-redeem.php Cart redemption · class-rewardly-loyalty-shortcodes.php Shortcode displays · class-rewardly-loyalty-settings.php Loyalty settings
Components 20
Plugin Setup
- Plugin bootstrap
nodevora-customer-rewards-for-woocommerce.php - Points log table
Store Administration
- Admin screens
includes/admin/class-rewardly-loyalty-admin.php - Loyalty settings
includes/admin/class-rewardly-loyalty-settings.php - Manual adjustments
includes/admin/class-rewardly-loyalty-admin-adjustments.php - Feature access
includes/core/class-rewardly-loyalty-pro.php
Points and Redemption
- Earn and reverse points
includes/core/class-rewardly-loyalty-points.php - Cart redemption
includes/core/class-rewardly-loyalty-redeem.php - Points calculations
includes/core/class-rewardly-loyalty-helpers.php - Reward emails
includes/core/class-rewardly-loyalty-emails.php
Customer Experience
- Account history
includes/front/class-rewardly-loyalty-account.php - Shortcode displays
includes/shortcodes/class-rewardly-loyalty-shortcodes.php - Product earn notice
includes/front/class-rewardly-loyalty-product.php
Display and Blocks
- Loyalty styling
includes/design/class-rewardly-loyalty-design.php - Blocks support
assets/js/loyalty-blocks.js - Product interactions
assets/js/loyalty-product.js - Admin interactions
assets/js/admin-pro.js - Frontend styles
assets/css/loyalty.css
Other components
- Store owner
- Shopper
Connections 14
- Store owner → Loyalty settings: configures
README.md - Store owner → Manual adjustments: adjusts balances
README.md - Shopper → Earn and reverse points: earns points
README.md - Shopper → Cart redemption: redeems points
README.md - Plugin bootstrap → Points log table: creates table
nodevora-customer-rewards-for-woocommerce.php - Manual adjustments → Points calculations: changes balance
includes/admin/class-rewardly-loyalty-admin-adjustments.php - Earn and reverse points → Points calculations: awards points
includes/core/class-rewardly-loyalty-points.php - Cart redemption → Points calculations: calculates value
includes/core/class-rewardly-loyalty-redeem.php - Account history → Points calculations: reads points
includes/front/class-rewardly-loyalty-account.php - Shortcode displays → Points calculations: reads points
includes/shortcodes/class-rewardly-loyalty-shortcodes.php - Shortcode displays → Cart redemption: renders loyalty card
includes/shortcodes/class-rewardly-loyalty-shortcodes.php - Product earn notice → Points calculations: calculates earn notice
includes/front/class-rewardly-loyalty-product.php - Loyalty styling → Points calculations: reads style settings
includes/design/class-rewardly-loyalty-design.php - Loyalty settings → Points calculations: uses defaults
includes/admin/class-rewardly-loyalty-settings.php