WP Manifestindependent plugin directory
manifest / ecommerce / cart-logic-plugin

Simple Cart Discount Plugin

A custom WooCommerce plugin built with PHP to apply conditional discounts on accessories based on cart subtotal and product categories.

★ 0stars

Install

Download source zip No release zip yet

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/sagnikagoswami/cart-logic-plugin/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A WooCommerce plugin to automatically apply a 15% discount on accessories when the cart subtotal is ₹2000 or more.

Features

  • Automatically applies a 15% discount if:
    • The cart contains at least one product from the Accessories category.
    • The cart subtotal is ₹2000 or more.
  • Displays a message on the cart page: "You’ve received a 15% Accessories Discount!"

    Installation

  • Download or copy the plugin folder to the plugins directory of your WordPress installation.
  • Go to the WordPress admin dashboard.
  • Navigate to Plugins > Installed Plugins.
  • Activate the Simple Cart Discount Plugin.

    Requirements

  • WordPress 6.8.1 or higher
  • WooCommerce
  • PHP 7.4 or higher

    Author

    Sagnika Goswami