techimprovement/module-state-removal

N/A

1.0.0 2024-02-18 03:46 UTC

This package is auto-updated.

Last update: 2024-09-18 05:14:00 UTC


README

Introduction

The TechImprovement_StateRemoval module allows you to hide selected US states from the checkout and customer address options in Magento 2 stores. This can be useful for stores that do not ship to certain states or want to simplify their checkout process.

Features

  • Enable or disable the module from the admin panel.
  • Select specific US states to hide from the frontend.

Installation

Via Composer

  1. Run composer require techimprovement/module-state-removal to add the module to your project.
  2. Enable the module by running php bin/magento module:enable TechImprovement_StateRemoval.
  3. Run php bin/magento setup:upgrade to install the module.
  4. Deploy static content (if necessary) with php bin/magento setup:static-content:deploy.

Manually

  1. Create the following directory structure in your Magento installation: app/code/TechImprovement/StateRemoval.
  2. Upload the module files to the newly created directory.
  3. Run php bin/magento module:enable TechImprovement_StateRemoval from the Magento root directory.
  4. Run php bin/magento setup:upgrade to install the module.
  5. Deploy static content (if necessary) with php bin/magento setup:static-content:deploy.

Configuration

  1. Navigate to Stores -> Configuration -> TechImprovement -> Hide US States in the Magento Admin Panel. Enable the module and select the states you want to hide.

Usage

Once configured, the selected states will no longer be visible in the state/region dropdowns on the frontend of your Magento store during checkout and customer address management.

Enable/Disable Module

To enable or disable the module, use the following CLI commands:

  • Enable: php bin/magento module:enable TechImprovement_StateRemoval
  • Disable: php bin/magento module:disable TechImprovement_StateRemoval

After enabling or disabling, always run php bin/magento setup:upgrade and clear the cache.

Support

For any issues or questions regarding the module, please contact support at info@techimprovement.net.

Author

This module is brought to you by TechImprovement Inc, a provider of Magento extensions and custom eCommerce solutions.

Support Our Project

If you find this project helpful, consider supporting us with a donation by clicking this button or scan the QR code below:

Donate QR Code