Title: Custom Description
Last modified: July 10, 2023

---

# Custom Description

 *  Resolved [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/custom-description-2/)
 * Anyway to modify the product description using a hook? I want to show something
   different on PayPal order data, buyer orders, receipts email etc.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/custom-description-2/#post-16883999)
 * Hi [@wordpresssites](https://wordpress.org/support/users/wordpresssites/)
 * The PayPal Payments plugin includes filters that give you the option to alter
   the order creation and patch data. Please review the instructions [here in the GitHub wiki](https://github.com/woocommerce/woocommerce-paypal-payments/wiki/Actions-and-Filters#modify-the-order-creation-request-body-data).
 * Do keep in mind that if you modify any details at the order creation stage, it
   may be required to include these changes in the patch data as well. This ensures
   the patch operation does not overwrite your customized order creation data with
   the original values.
 * The item breakdown can also be [entirely disabled](https://github.com/woocommerce/woocommerce-paypal-payments/wiki/Actions-and-Filters#disable-item-breakdown-being-sent-to-paypal)
   if the intention is to send only the payment amount to PayPal.
 * I hope this helps! Let us know if any questions remain.
 * Kind regards,
   Niklas
 *  Thread Starter [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/custom-description-2/#post-16884099)
 * This hook doesn’t remove the item name and description or the order number and
   price from all PP order details based on my testing.
 * add_filter( ‘ppcp_ditch_items_breakdown’, ‘__return_true’ );
 *  Plugin Support [Syde Niklas](https://wordpress.org/support/users/niklasinpsyde/)
 * (@niklasinpsyde)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/custom-description-2/#post-16884193)
 * Hi [@wordpresssites](https://wordpress.org/support/users/wordpresssites/)
 * PayPal requires an Invoice ID and a payment amount. Everything else is more or
   less optional.
   When you use the `ppcp_ditch_items_breakdown` filter, the PayPal
   order only contains the two things mentioned above, a Custom id to identify the
   order later on, and the buyer’s shipping address.
 * In that case, there will be no product name, description, quantity, taxes, or
   shipping details. So PayPal essentially has no idea what you were selling.
 * Kind regards,
   Niklas
 *  Thread Starter [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/custom-description-2/#post-16884344)
 * Hi NIklas
 * Thanks for your help. Resolved.
 *  Thread Starter [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * (@wordpresssites)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/custom-description-2/#post-16888444)
 * Please add a filter for the $item details array in item.php. Would make modification
   much easier. Thank You.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Custom Description’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-paypal-payments/assets/icon-256x256.png?rev=
   3234615)
 * [WooCommerce PayPal Payments](https://wordpress.org/plugins/woocommerce-paypal-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-paypal-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-paypal-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-paypal-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-paypal-payments/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [WP SITES](https://wordpress.org/support/users/wordpresssites/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/custom-description-2/#post-16888444)
 * Status: resolved