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 :
- Name
- Unit Amount
- Quantity
- Total Price
- SKU
- Category
Installation
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.
You must be logged in to post a comment.