Search Knowledge Base by Keyword

Change the Description of Commodities while creating label

In this guide, we will tell you how to change the description of commodities while creating the shipping label when using the WooCommerce FedEx Shipping Plugin with Print Label. Check out below.

The code facilitates you to change the description of commodities while creating the label for international shipping.
Add the following code to your functions.php or anywhere relevant.

In the above code, $request contains the API request data which will be sent to FedEx while creating the label and $order parameter contains order data. This code is given for changing the description to ‘ My Product Description’ as an example. For the required commodity value is changed to ‘ My Product Description’ and stored in the $request. Function returns array $request.

Last Updated On September 21, 2018

2 thoughts on “Change the Description of Commodities while creating label

  1. Nea says:

    Hi,

    Currently, the above solution will for changing the product description for all products only.

    Right now this is not possible to change the product description for the specific product.

    In case if you have any query, kindly raise a ticket at support@xadapter.com

    Let us know, if you have some query.

Comments are closed.