The code in this download folder adds a custom field to the WooCommerce Product Data meta box on the Single Product edit screen. This field enables you to add a 2nd product title which is only displayed on the checkout, my account > orders, email receipts for PayPal & credit card payments as well as order confirmation emails as seen in the demo video below.
No plugins are required when using this code to hide the real name of the product or service you are purchasing.
The real name for your product still appears on the single product page, shop page and other archive page types in WooCommerce but is changed once you complete the order. The order number stays the same for future reference and tracking.
Shows Product 1 which is the real name of the product title changed to Special Product Title which is displayed at the checkout, under My Account Orders and on email order confirmations.
Tested using WooCommerce, Genesis Sample and custom code from the download folder.
There’s only 1 step : Copy the PHP code from the functions.php file to the end of your child themes functions file or custom functionality plugin.