Code Monkey home page Code Monkey logo

m2.shippingtweaks's Introduction

Magento2 Shipping Tweaks

Total Downloads Latest Stable Version

Extension hides any other shipping methods if free shipping is available.

No method of free shipping

Magento2 Shipping Tweaks

There is a method of free shipping

Magento2 Shipping Tweaks

Compatibility

Magento CE(EE) 2.0.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x

Install

Install via Composer (recommend)

  1. Go to Magento2 root folder

    For Magento CE (EE) 2.0.x, 2.1.x, 2.2.x, 2.3.x

    composer require faonni/module-shipping-tweaks:2.0.*

    For Magento CE (EE) 2.4.x

    composer require faonni/module-shipping-tweaks:2.4.*

    Wait while dependencies are updated.

  2. Enter following commands to install module:

    composer require faonni/module-shipping-tweaks

    Wait while dependencies are updated.

Manual Installation

  1. Create a folder {Magento root}/app/code/Faonni/ShippingTweaks

  2. Download the corresponding latest version

  3. Copy the unzip content to the folder ({Magento root}/app/code/Faonni/ShippingTweaks)

Completion of installation

  1. Go to Magento2 root folder

  2. Enter following commands:

    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy  (optional)
    

Configuration

In the Magento Admin Panel go to Stores > Configuration > Sales > Shipping Settings > Behavior of Methods.

Magento2 Shipping Tweaks

Uninstall

This works only with modules defined as Composer packages.

Remove database data

  1. Go to Magento2 root folder

  2. Enter following commands to remove database data:

    php bin/magento module:uninstall -r Faonni_ShippingTweaks
    

Remove Extension

  1. Go to Magento2 root folder

  2. Enter following commands to remove:

    composer remove faonni/module-shipping-tweaks

Completion of uninstall

  1. Go to Magento2 root folder

  2. Enter following commands:

    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy  (optional)

m2.shippingtweaks's People

Contributors

faonni avatar fsgrunt avatar karliuka avatar vy-shmal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

m2.shippingtweaks's Issues

Issue 2.3.4

Hi Guys
Thanks for a nice extention

But when i enable the extention i get this in checkout:
Internal Error. Details are available in Magento log file. Report ID: webapi-61786e6954b7a

And:
Sorry, no quotes are available for this order at this time

Flat rate hidden when "Show method if not applicable" is enabled for free shipping.

When "Show method if not applicable" is enabled for Free Shipping, the flat rate won't show up as an option anymore, even if the free shipping conditions are not met. This prevents customers from continueing.

Quick solutions is to disable "Show method if not applicable", but I would like to show it so I can show a message that free shipping is possible from X amount.

Enable only for frontend

How would I go about setting this up so it only disables other shipping methods on the frontend? Right now it's disabling them on both frontend and backend, however I need the backend admin created orders to have all shipping options available.

Magento 2.1.3 support

Hi,

I tested your code with Magento 2.1.3 and it works perfectly.

May I ask you to change composer requirements so we can install the addon thru composer on Magento 2.1.x too?

I installed it manually and tested like that, but having it available thru composer would be good too.

Thanks for your work and time for creating this. It is in big help.

Regards,
Ali Nebi

applying for all

after install the extension, now only free shipment available for all!
Please advice.

Free shipping option is not checked by default when it hides all the other methods

Hello!

The extension works great at hiding all the other shipping methods but even thought ithe free shipping method appears checked, as it is the only shipping method, the customers still have to click on the method again fot the order to be able to complete.

Is there any way that when the free shipping option appears and hides every other otpion to be checked by default without the customer input?

Thank you!

Doesn't remove shipping methods if free shipping is from Cart Rule

Module works well for removing other shipping methods when free shipping is available but it does not remove other methods if free shipping is applied from a cart rule.

Is there a way to also remove other shipping methods if a product has free shipping based off a cart rule?

Unable to install the plugin 2.4.0

Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for faonni/module-shipping-tweaks 2.4 -> satisfiable by faonni/module-shipping-tweaks[2.4.0].
- Can only install one of: laminas/laminas-code[3.4.1, 3.3.2].
- Can only install one of: laminas/laminas-code[3.4.1, 3.3.2].
- Can only install one of: laminas/laminas-code[3.4.1, 3.3.2].
- Conclusion: install laminas/laminas-code 3.4.1
- Installation request for laminas/laminas-code (locked at 3.3.2) -> satisfiable by laminas/laminas-code[3.3.2].

Installation failed, reverting ./composer.json to its original content.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.