Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Modify FedEx Shipping Method Plugin to set origin post code by product WordPress

  • REFUNDED

Modify FedEx Shipping Method Plugin to reference a custom field _supplier_zip on each product that contains the origin post code.

Currently the plugin uses a field in the plugin options to set the vale for origin postcode on all products globally.

We need a function that will allow the plugin to use a custom field on each product with the id of '_supplier_zip' to set the origin post code for each product.

'id' => '_supplier_zip

https://woocommerce.com/products/fedex-shipping-module/

This is where the origin postal code is referenced in the plugin files


private function set_settings() {
$this->origin = apply_filters( 'woocommerce_fedex_origin_postal_code', str_replace( ' ', '', strtoupper( $this->get_option( 'origin' ) ) ) );
}

Answers (0)

No answers yet.