kowal.info

Payment and Shipping Restrictions

Composer kowal/module-paymentrestriction · Version 1.0.19

Product page

Payment and Shipping Restrictions — kowal.co

Description

Match cash-on-delivery availability to the selected shipping service and cart subtotal. Restrict locker delivery or store pickup for bulky goods.

For whom

For stores where carriers collect payment only for specific services and some products need a different delivery method.

Features

  • Select shipping services that support cash on delivery.
  • Set minimum and maximum subtotals for COD.
  • Configure parcel lockers, pickup and international delivery separately.

Installation

From the Magento root, with Composer access to the Kowal package, run

composer require kowal/module-paymentrestriction
bin/magento module:enable Kowal_PaymentRestriction
bin/magento setup:upgrade
bin/magento cache:clean

Configuration

  1. Under Stores → Configuration → Kowal → Payment Restriction → Cash on Delivery (COD), select the carrier services that collect payment.
  2. Set Minimum order subtotal for COD and Maximum order subtotal for COD. Use the cart merchandise subtotal when checking the thresholds.
  3. Map the relevant services under Parcel lockers and Store Pickup Shipping Methods. Check the bulky-item flag on a product before enabling its restrictions.

Requirements / notes

The payment filter recognises Magento’s cashondelivery code. If a third-party module supplies your COD payment method, check its actual code and checkout behaviour.

FAQ

Why does cash on delivery disappear when I change carrier?

The module links it to the configured COD shipping list. Selecting a service outside that list filters out cashondelivery.

Verify the installation

bin/magento module:status Kowal_PaymentRestriction

With a cart between the thresholds, compare payment options for a COD service and an ordinary service. Then exceed the maximum subtotal and check which shipping methods remain available.