Smart Discount

ๆ่ฟฐ

๐Ÿš€ SmartDiscount

Transform your WooCommerce store with SmartDiscount โ€“ the ultimate dynamic discount plugin that helps you create engaging bulk discounts with real-time progress messages. Drive more sales and enhance customer experience with visually appealing discount notifications.

โœจ Why Choose SmartDiscount?

  • ๐ŸŽฏ Dynamic Discount Rules

    Create flexible bulk discount rules based on cart totals with percentage or fixed amount discounts.

  • โšก Real-Time Progress Messages
    Show customers how close they are to unlocking discounts with beautiful, customizable messages.

  • ๐ŸŽจ Visual Customization
    Style your discount messages with an intuitive visual editor – no coding required!

๐ŸŒŸ Key Features You’ll Love

  • ๐Ÿ“Š Flexible Discount Types

    • Percentage discounts (e.g., 10% off)
    • Fixed amount discounts (e.g., $20 off)
    • Customizable minimum purchase requirements
  • ๐Ÿ’ซ Beautiful Message Styles

    • Full visual customization
    • Color and typography controls
    • Animations and transforms
    • Responsive design
  • ๐Ÿ”„ Real-Time Updates

    • Dynamic cart total tracking
    • Instant message updates
    • Progress indicators
    • Automatic discount application
  • โš™๏ธ Easy Setup

    • Intuitive admin interface
    • Visual message preview
    • Simple shortcode placement
    • WooCommerce integration

๐Ÿ’Ž What Makes SmartDiscount Stand Out?

  • Visual Editor: Style messages without coding
  • Real-Time Updates: Keep customers engaged
  • Flexible Rules: Create the perfect discount strategy
  • Performance Optimized: Fast and reliable

Technical Details

๐Ÿ”ง Plugin Architecture

  1. Core Components:

    • Custom post type for discount rules
    • React-based admin interface
    • Real-time frontend updates via AJAX
    • WooCommerce hooks integration
  2. Performance Features:

    • Optimized database queries
    • Cached discount calculations
    • Minified assets
    • Lazy loading of admin resources
  3. Security Measures:

    • WordPress nonce verification
    • Data sanitization and validation
    • XSS protection
    • AJAX security checks
  4. Integration Points:

    • WooCommerce cart hooks
    • WordPress REST API
    • Dynamic shortcode system
    • Frontend event handling
  5. Browser Compatibility:

    • Chrome 80+
    • Firefox 75+
    • Safari 13+
    • Edge 80+
    • Opera 67+
  6. Dependencies:

    • WordPress 5.0+
    • WooCommerce 5.0+
    • PHP 7.4+
    • MySQL 5.6+ or MariaDB 10.1+
  7. Optimization:

    • Conditional script loading
    • Database query optimization
    • Asset minification
    • Caching support

Development Information

  • ๐Ÿ”จ Contributors: LogikLabs
  • ๐ŸŒ Plugin URI: SmartDiscount
  • ๐Ÿข Company Website: logiklabs.io
  • ๐Ÿ“ฆ Tags: woocommerce, discounts, bulk discounts, dynamic pricing
  • ๐Ÿงฉ Requirements: WordPress 5.0+, PHP 7.4+
  • ๐Ÿ“œ License: GPL-2.0-or-later

่žขๅน•ๆˆชๅœ–

  • Create flexible discount rules
  • Style messages with the visual editor
  • Real-time progress messages on the frontend
  • Easy-to-use admin interface

ๅฎ‰่ฃ

๐Ÿ› ๏ธ Installation Instructions

  1. ๐Ÿ“ฅ Download the Plugin
    Get the SmartDiscountforWoocommerce.zip file from WordPress.org.

  2. ๐Ÿš€ Install in WordPress

    • Go to Plugins > Add New > Upload Plugin
    • Select the downloaded zip file
    • Click Install Now
  3. โœ… Activate the Plugin
    Click Activate after installation.

  4. โš™๏ธ Create Your First Discount Rule

    • Go to DiscountRules > Add New Rule
    • Set your discount conditions and values
    • Style your messages
    • Add the shortcode to your pages

ๅธธ่ฆ‹ๅ•้กŒ

๐Ÿ” How do I add a discount message to my pages?

Use the shortcode [dlift_discount_message id="X"] where X is your rule ID. Place it anywhere you want the message to appear.

โš™๏ธ Can I have multiple discount rules?

Yes! Create as many rules as you need. However, only one rule can be active per page using the shortcode.

๐ŸŽจ Can I customize the message appearance?

Absolutely! Use our visual editor to customize colors, fonts, spacing, animations, and more.

๐Ÿ’ฐ What types of discounts can I create?

Create percentage-based discounts (e.g., 10% off) or fixed amount discounts (e.g., $20 off) when customers reach a specified cart total.

โšก Do the messages update in real-time?

Yes! Messages update automatically when customers add or remove items from their cart.

๐Ÿ”’ Is the plugin secure?

Yes! We implement WordPress security best practices including:
– Nonce verification for all forms
– Data sanitization and validation
– XSS protection
– SQL injection prevention
– User capability checks

๐Ÿš€ Will it slow down my site?

No! The plugin is optimized for performance:
– Minimal database queries
– Efficient caching system
– Conditional asset loading
– Optimized JavaScript execution

๐Ÿ’ป Does it work with all themes?

Yes! The plugin is theme-independent and works with any WooCommerce-compatible theme. The discount messages use isolated styles to prevent conflicts.

๐Ÿ”„ How often do messages update?

Messages update in real-time through AJAX when:
– Products are added to cart
– Products are removed from cart
– Cart quantities are updated
– Coupons are applied/removed

๐Ÿ› ๏ธ Can I customize the discount calculations?

Yes! The plugin provides filters for customizing:
– Discount calculations
– Eligibility rules
– Message content
– Style applications

๐Ÿ“ฑ Is it mobile-friendly?

Absolutely! The plugin is fully responsive and tested across devices:
– Mobile phones (iOS/Android)
– Tablets
– Desktop browsers
– Different screen sizes

๐ŸŒ Does it work with multilingual sites?

Yes! The plugin is translation-ready and compatible with:
– WPML
– Polylang
– Other WordPress translation plugins

โšก What are the server requirements?

Minimum requirements:
– PHP 7.4 or higher
– MySQL 5.6+ or MariaDB 10.1+
– WordPress 5.0+
– WooCommerce 5.0+

๐Ÿ” How can I debug issues?

The plugin includes debugging tools:
– Detailed error logging
– Debug mode for messages
– Testing tools for discount rules
– Performance monitoring

๐Ÿ’พ What data is stored?

The plugin stores:
– Discount rules (as custom post type)
– Rule settings (as post meta)
– Style configurations
– Message templates
No customer personal data is stored.

๐Ÿ”„ Can I import/export rules?

Yes! The plugin supports:
– Rule import/export via CSV
– WordPress import/export system
– Backup of style settings
– Configuration transfers

โš™๏ธ Are there developer hooks?

Yes! The plugin provides extensive hooks:
– Filters for discount calculations
– Actions for rule processing
– Style modification filters
– Message content filters

่ฉ•ๅƒน

There are no reviews for this plugin.

่ฒข็ป่€…ๅŠ้–‹็™ผ่€…

“Smart Discount” ๆ˜ฏไธ€ๅ€‹้–‹ๆบ็š„่ปŸ้ซ”ใ€‚ไปฅไธ‹็š„ไบบๅฐ้€™ๅ€‹ๅค–ๆŽ›ไฝœๅ‡บไบ†่ฒข็ปใ€‚

่ฒข็ป่€…

ๅฐ‡ Smart Discount ๅค–ๆŽ›ๆœฌๅœฐๅŒ–็‚บๅฐ็ฃ็น้ซ”ไธญๆ–‡็‰ˆใ€‚

ๅฐ้–‹็™ผ็›ธ้—œ่ณ‡่จŠๆ„Ÿ่ˆˆ่ถฃ๏ผŸ

ไปปไฝ•ไบบๅ‡ๅฏ็€่ฆฝ็จ‹ๅผ็ขผใ€ๆŸฅ็œ‹ SVN ๅญ˜ๆ”พๅบซ๏ผŒๆˆ–้€้Ž RSS ่จ‚้–ฑ้–‹็™ผ่จ˜้Œ„ใ€‚

ไฟฎๆ”นๆ—ฅ่ชŒ

1.0.0

  • Initial release
  • Dynamic discount rules with percentage and fixed amounts
  • Real-time progress messages
  • Visual message editor
  • WooCommerce integration