In this tutorial, you will learn how to hide specific product attributes from WooCommerce order confirmation emails. There are usually two ways used for this purpose. The first way is to change the email template. The second way is to write a short snippet that will solve this problem. In this article, I will explain […]
how to
Fixing Date Placeholder Issues in Booking Forms on Mobile Devices
Hey, everybody! Recently, one of my clients encountered a bug in their booking form: the field for entering the date just looked grayed out, with no date format markup (DD-MM-YYYY). This caused many users to get confused and not fill out this field, which led to problems when making reservations. Before/After: To fix this issue […]
How to Add Customer Email to WooCommerce Cancelled Order Notification
Recently, one of my old customers asked me to add the customer’s email to the recipient list in the canceled order notification (woocommerce). I was surprised that this simple option is not there by default. I wrote such a hook, which works great and fulfills its function 100%. This snippet should be added to functions.php […]
How to Add Post Thumbnails to WordPress RSS Feed
If you use mailchimp or a similar mailing list service, you’ll probably find this code. This code ensures that the featured image of each post is included in the RSS feed as a element, enhancing the feed with images. Like all hooks this code needs to be inserted into fucntions.php of your child theme. Or […]
How to Disable Payment Method When a Specific Product Category is Available – Woocommerce
Recently one of my clients asked me to make the following change to a website. For specific products, hide all payment methods except Wise Payments. But at the same time hide the Wise Payments payment method for all other products.To solve this problem, I added a “Limited” category and added additional code to functions.php. This […]