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/ormahbub/wc-loyalty-system/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A lightweight, extendable WooCommerce loyalty points plugin built with clean OOP architecture and WordPress coding standards.
This project is designed as an evolving system, starting simple and growing step by step into an advanced subscription and loyalty solution.
Features (v1.0.0)
- Award loyalty points automatically when an order is completed
- Configurable points rate (points per 1 currency unit)
- Display total loyalty points in My Account → Dashboard
- Prevents duplicate point calculation for the same order
- Clean, modular, and extendable architecture
Technical Overview
- Platform: WordPress + WooCommerce
- Architecture: Object-Oriented PHP (OOP)
- Concepts Used:
- Namespaces
- Singleton pattern (plugin bootstrap)
- WordPress Actions & Hooks
- WooCommerce lifecycle hooks
- User meta storage
- Version Control: Git