Configure flat-rate shipping
Offer a named delivery service to the destinations and currencies your store serves.
Install and enable shipping#
Install sellissimo/shipping-flat-rate:1.0.0-beta.17 alongside the matching core archive, run php please sellissimo:install, and include flat_rate in the shipping array in config/sellissimo.php. Give the operator Manage shipping zones and rates permission.
Define a service#
- Open Store settings → Shipping zones. Edit Standard delivery or choose Add zone.
- Enter a service name, stable handle, and country codes. Optionally restrict the service to regions or postcodes. Separate multiple values with commas. Use
*for postcode prefixes. - Set a rate in each supported currency. Enter
5.00for USD 5, or zero for free delivery. Select This service collects payment on delivery only for a participating service. - Save the zones and use Preview delivery options with a matching country, region, postcode, and currency. Check an unsupported address too.
Every matching service is available to the buyer. A digital-only cart skips delivery. If a physical cart shows no service, check the destination, currency, enabled provider, and full saved set of zones.
Configure a new installation from a file#
php artisan vendor:publish --tag=sellissimo-flat-rate-config
Before the first Control Panel save, Sellissimo reads config/sellissimo-flat-rate.php. Config-file amounts are in integer minor units, so 500 means USD 5.00. Saving the full zone list in the Control Panel makes the commerce database the source for active rates.