Magento 2 module to only allow checkout when the number of items in the cart are a multiple of X.

Overview

Cart Quantity Multiple - Magento 2 Module

License: MIT Latest Stable Version Coding Standard workflow Mess Detector workflow PHPStan workflow

Introduction

This module allows to limit checkout only when the contents of the cart are a multiple of X.

Screenshots

Frontend view | Backend view

Setup

Magento 2 Open Source or Commerce edition is required.

Composer installation

Run the following composer command:

composer require advocodo/module-cart-quantity-multiple

Setup the module

Run the following magento command:

bin/magento setup:upgrade

Features

Limit cart multiple of X is useful feature when selling beer or wine, where your shipping is in boxes with fixed number of items (usually 6 for wine). It's also possible to exclude some categories from this rule.

Settings

The configuration for this module is available in Stores > Configuration > Sales > Cart Quantity Multiple.

Authors

  • ADVOCODO - Lead - Twitter Follow
  • Mehdi Chaouch - Maintainer - GitHub followers

License

This project is licensed under the MIT License - see the LICENSE details.

Credits

This module was partially designed with the inspiration from these fine folks:

You might also like...
A simple shopping cart implementation for Laravel

LaravelShoppingcart A simple shoppingcart implementation for Laravel. Installation Install the package through Composer. Run the Composer require comm

Shopping Cart Implementation for Laravel Framework
Shopping Cart Implementation for Laravel Framework

Shopping Cart Implementation for Laravel Framework

(Live Link) Extensive ecommerce site with vendors, mods & ability to add to cart without being logged in. Upgraded to Laravel 8.x
(Live Link) Extensive ecommerce site with vendors, mods & ability to add to cart without being logged in. Upgraded to Laravel 8.x

(Live Link) Extensive ecommerce site with vendors, mods & ability to add to cart without being logged in. Upgraded to Laravel 8.x

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.
PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

PrestaShop is an Open Source e-commerce web application, committed to providing the best shopping cart experience for both merchants and customers. It is written in PHP, is highly customizable, supports all the major payment services, is translated in many languages and localized for many countries, has a fully responsive design (both front and back office), etc. See all the available features.

A simple shopping cart implementation for Laravel
A simple shopping cart implementation for Laravel

LaravelShoppingcart This is a fork of Crinsane's LaravelShoppingcart extended with minor features compatible with Laravel 8+. An example integration c

The Laravel eCommerce DHL Shipping module module calculates the shipping rates based on DHL API for product shipping.

Introduction DHL Shipping Add-on provides DHL Shipping methods for shipping the product. It packs in lots of demanding features that allows your busin

Laravel eCommerce headless APIs allow you to experience seamless and easily scalable storefront performance.
Laravel eCommerce headless APIs allow you to experience seamless and easily scalable storefront performance.

Bagisto GraphQL API Laravel eCommerce headless APIs allow you to experience seamless and easily scalable storefront performance. An open-source and Gr

A Magento 1.9's module to export products informations, inside a chosen date range, to a .XLSX file.
A Magento 1.9's module to export products informations, inside a chosen date range, to a .XLSX file.

Magento 1.9 Export products module A magento 1.9 module to export products informations to a .XLSX file. Module informations Package/Namespace: "Mathe

Magento 2 Module: OrderConfirmationEmailStatus
Magento 2 Module: OrderConfirmationEmailStatus

Magento 2 Module: OrderConfirmationEmailStatus Main Functionalities Installation Main Functionalities This module adds a column in the sales order gri

Comments
  • Multiple product quantity

    Multiple product quantity

    The issue is some products come in box of 4 some in box of 6 how can we set the multiple quantity per product base instead of setting this rule for whole store.

    opened by terrybakshi 1
Releases(1.0.0)
Owner
ADVOCODO
ADVOCODO
A small module allow user to add a real top banner in PrestaShop

Lk Top banner A simple module that allow you to add a real Top banner message in PrestaShop Options module Add any long or tiny text and eventually yo

Azralth 2 Sep 25, 2021
Magento 2 Share Cart extension Free

Mageplaza Share Cart Extension helps customers in sharing their shopping cart with friends and family as well. This is a supportive method to promote store’s conversion rate via the existing users, and this can significantly contribute to the revenue of the store.

Mageplaza 12 Jul 22, 2022
Topshop offers its customers a modern shopping experience by bringing computers, appliances, clothing and many other items at their fingertips.

Topshop offers its customers a modern shopping experience by bringing computers, appliances, clothing and many other items at their fingertips. With just a few clicks, users can create an account, add products to their cart and place their order.

Abhijeet Pitumbur 2 Aug 8, 2022
LiteCart - Free Shopping Cart Platform - Built with PHP, jQuery HTML 5 and CSS 3

LiteCart is a lightweight e-commerce platform for online merchants. Developed in PHP, HTML 5, and CSS 3. LiteCart is a registered trademark, property

LiteCart 153 Dec 28, 2022
A free shopping cart system. OpenCart is an open source PHP-based online e-commerce solution.

OpenCart is a free open source ecommerce platform for online merchants. OpenCart provides a professional and reliable foundation from which to build a successful online store.

OpenCart 6.6k Dec 31, 2022
Zen Cart® is a full-function e-commerce application for your website.

Zen Cart® - The Art of E-Commerce Zen Cart® was the first Open Source e-Commerce web application to be fully PA-DSS Certified. Zen Cart® v1.5.8 is an

Zen Cart 304 Jan 6, 2023
Benefit PHP Shopping Cart Class (Simple Lightweight)

Benefit-PHP-Shopping-Cart-Class Benefit PHP Shopping Cart Class (Simple Lightweight) Table of Contents Initialization Get All Get Item Get Item Child

Osman Cakmak 8 Sep 6, 2022
AvoRed an Open Source Laravel Shopping Cart

AvoRed is commin up as a headless graphql version. AvoRed is a free open-source e-commerce platform written in PHP based on Laravel. Its an ingenuous

AvoRed Laravel E commerce 1.4k Dec 30, 2022
Laravel Shopping Cart Package

LaraCart - Laravel Shopping Cart Package (http://laracart.lukepolo.com) Features Coupons Session Based System Cross Device Support Multiple cart insta

Luke Policinski 516 Dec 10, 2022
AvoRed an Open Source Laravel Shopping Cart

AvoRed is commin up as a headless graphql version. AvoRed is a free open-source e-commerce platform written in PHP based on Laravel. Its an ingenuous

AvoRed Laravel E commerce 1.4k Dec 28, 2022