Universal Setting Add-on for Advanced Shipping for Magento 2

€200.00
In stock
Réf.
magento2-module-adv-ship-universal-setting-addon

Available in January 2018

Get a 20% off discount with the coupon « JAN18 »

What is Universal Setting Add-on?

Universal Setting is an add-on for Advanced Shipping for Magento 2.

This add-on allows you to hide or change price of any shipping method regardless of the shipping modules used.

The configuration can use the same variables and functions as Advanced Shipping for Magento 2.

Examples

Hide shipping method if the package weight is lower than 10 kg:

if ( $request->package_weight < 10 ) {
    hide('flatrate/flatrate');
}

 

Hide all shipping methods of a carrier:

hide('flatrate/*');

 

Set the method price to the sum of product's attribute 'shipping_fees':

setPrice('tablerate/bestway',
    array_sum(
        array_map(
            function ($item) {
                return $item->product->shipping_fees;
            },
            $request->all_items
        )
    )
);

Documentation

GitHub   Consult the documentation of Advanced Shipping on GitHub

More Information
Platform Magento 2
Magento Connect URL No
Magento Marketplace URL N/A
Project on Github No
Summary Hide or change price of methods regardless the shipping module
Copyright © 2016 Owebia. All rights reserved.