About this plugin
Shopper Rewards is a lightweight and secure plugin that motivates your customers to add more items to their cart by showing them how close they are to unlocking a surprise reward — such as a discount, free shipping, or free products.
This plugin seamlessly integrates with the cart, checkout, and thank-you pages, offering a dynamic experience that boosts conversions and customer engagement.
✨ Features
- Dynamic Progress Bar – Displays how much more the customer needs to spend to unlock a reward.
- Surprise Discount or Free Shipping – Automatically apply or show a reward once the spending threshold is reached.
- Custom Messages & Labels – Fully customizable messages before and after the unlock.
- Thank-You Page Integration – Show personalized badges or WhatsApp contact buttons after checkout.
- Responsive & Lightweight – 100% responsive design with no unnecessary bloat.
- Secure & Compatible – Built following WordPress and WooCommerce coding standards.
🎯 Purpose
The goal of Shopper Rewards is to increase average order value (AOV) by motivating users to reach a target threshold in their shopping cart.
Once a customer adds enough items to meet the target, they instantly unlock a surprise reward, creating a fun and rewarding shopping experience.
Security Notes
- All user inputs are sanitized using WordPress functions ( sanitize_text_field, esc_html, esc_attr, wp_kses_post ).
- Nonces are used for form submissions to prevent CSRF attacks.
- Proper escaping and translation functions ( esc_html__, esc_attr__, etc.) are used throughout.
- No external API calls or user data tracking is performed.
Credits
Developed by Maryam Kamal
A learning project focused on practical WooCommerce plugin development and security best practices.