Mailchimp Banner Promo Product Page | Q3 2024

added by Mahrie for July $1 promo - product page specific link to Mailchimp pricing

Mailchimp Banner Promo Main | Q3 2024

added by Mahrie for July $1 promo

Product Icon

UPS Shipping Method for WooCommerce

by  Woo
Get shipping rates from the UPS API which handles both domestic and international parcels.

Add filter hook to change or override weight

As per our client’s requirement, we needed a way to modify the weight of the product when shipping request is processed. We needed a way to add or override the product weight with a custom field value from WooCommerce Extra Product Options. To achieve this we have added a custom filter hook in Shipping plugin where it’s retrieving the Product weight.

The following filter is added to the plugin

applyfilters( ‘epomscalculatedoptionweightforshipping’, wcgetweight( $values[‘data’]->get_weight(), ‘lbs’ ), $values, ‘lbs’ )

woocommerce-shipping-ups/includes/class-wc-shipping-ups.php
Line 1306, 1622

Author

Current Status

Open

Last updated: January 27, 2020

0 comments

Log in to comment on this feature request.