Main/WordPress Fullstack/Blueprints/WooCommerce/Customer Loyalty Points Engine & Checkout Redemption (Cart Fee API)
Back to «WooCommerce» cardsТрудозатраты~12 рабочих часов
Фриланс вилка~$540 – $900 (€480 – €840)
Оценка веб-студии~$1,140 – $1,920 (€1080 – €1800)
ТЗ заказчика (исходный бриф):
We want our own loyalty points rewards system. Customers should earn 5% of order value as points, view their points balance in their account, and redeem points as a discount at checkout.
Ключевые требования:
- •Custom database ledger table wp_loyalty_points tracking earned, redeemed, and expired points
- •Automated points award on order status transition to 'Completed'
- •Checkout redemption UI allowing customers to apply points as a cart discount
- •Cart discount implementation via WooCommerce Cart Fee API ($cart->add_fee)
- •Automated points rollback/deduction when an order is cancelled or refunded
Ограничения проекта:
- •Zero third-party reward plugins with costly monthly SaaS fees
- •Points redemption cannot exceed cart subtotal (subtotal cannot become negative)
Критерии приёмки (KPI):
- Repeat purchase rate increased by 22%
- Zero points balance calculation errors across 10,000+ customer accounts
- Instant points balance reflection in customer account dashboard
Пошаговое практическое руководство по ТЗ
Подробный разбор архитектуры, код реализации и советы эксперта по каждому этапу: