This code removes the product description for each item under the PayPal Purchase Details. The code works when using the WooCommerce PayPal Payments plugin.
As shown in the following screenshots tested using sandbox.paypal.com not developer.sandbox.com, you can see the description removed from image 2 :
All other purchase details continue to display including the product title, item SKU and price. However, you can use the code to remove all other purchase details including the product :
- Unit Amount
- Total Price
Install the .zip folder as a new plugin or copy & paste the PHP code to the end of your child themes functions file or custom functionality plugin.
These solutions may also help :