Code Monkey home page Code Monkey logo

magento_freeshipping's Introduction

Freeshipping module

Work flow:
	If admin sets all params in admin part and turned method on, it will checks all checkout processes to find if total value of process is greater than max value.
	On shipping method available block all shipping methods allowed for this checkout will be check if our new freeshipping method is presents and pass it to the private field. In overridden block of layout than field will be checked. In case of its existence the message will be shown and name of shipping method will be hidden.

Contains:
•	backend part to set params and set it on
•	shipping model to add shipping method and check conditions
•	overridden block shipping method available – to catch the newshipping shipping method
•	frontend layout to hide all shipping methods and show message only if method on and conditions ok
•	sql migration – no direct access to db needed, left blank 

Workaround: 
•	Got troubles naming shipping method as freeshipping, its already exists so named it as newshipping
•	Complicated with overriding blocks and layout

magento_freeshipping's People

Watchers

James Cloos avatar

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.