Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 
Florian Eisenmenger 41ccc32b5d checkin há 2 anos
..
Block/Adminhtml checkin há 2 anos
Controller/Adminhtml/System/Config checkin há 2 anos
Model checkin há 2 anos
Setup/Patch/Data checkin há 2 anos
Test checkin há 2 anos
etc checkin há 2 anos
i18n checkin há 2 anos
view checkin há 2 anos
LICENSE.txt checkin há 2 anos
LICENSE_AFL.txt checkin há 2 anos
README.md checkin há 2 anos
composer.json checkin há 2 anos
registration.php checkin há 2 anos

README.md

Magento_OfflineShipping module

This module implements the shipping methods which do not involve a direct interaction with shipping carriers, so called offline shipping methods. Namely, the following:

  • Free Shipping
  • Flat Rate
  • Table Rates
  • Store Pickup

Installation

Before installing this module, note that the Magento_OfflineShipping is dependent on the following modules:

  • Magento_Store
  • Magento_Sales
  • Magento_Quote
  • Magento_Quote
  • Magento_SalesRule

The Magento_OfflineShipping module creates the shipping_tablerate table in the database.

This module modifies the following tables in the database:

  • salesrule - adds column simple_free_shipping
  • sales_order_item - adds column free_shipping
  • quote_address - adds column free_shipping
  • quote_item - adds column free_shipping
  • quote_address_item - adds column free_shipping

For information about a module installation in Magento 2, see Enable or disable modules.

Extensibility

Extension developers can interact with the Magento_OfflineShipping module. For more information about the Magento extension mechanism, see Magento plug-ins.

The Magento dependency injection mechanism enables you to override the functionality of the Magento_OfflineShipping module.

A lot of functionality in the module is on JavaScript, use mixins to extend it.

Layouts

This module introduces the following layouts in the view/frontend/layout directory:

  • checkout_cart_index
  • checkout_index_index

For more information about a layout in Magento 2, see the Layout documentation.

UI components

This module extends following ui components located in the view/adminhtml/ui_component directory:

  • sales_rule_form
  • salesrulestaging_update_form

For information about a UI component in Magento 2, see Overview of UI components.

Additional information

You can get more information about offline shipping methods in magento at the articles: