Following the Add A Required Checkbox Field In WooCommerce Checkout Page, this is the guide to adding multiple required checkboxes in the checkout. See also: How to add checkbox to checkout in woocommerce (not required) Add the following code to your theme’s functions.php file. Please note that the first checkbox is an Age Confirmation (represened […]
Copy this code to your theme’s functions.php and each call your ‘3rd party integrations’ plugin will make after a visitor submission (For CRMs API, for example), it will include the Country, City & State of the visitor by his IP address.
This is how you add a checkbox to checkout in Woocommerce. The Checkbox will appear in the checkout is not required. Add this code to your theme’s functions.php file: See also: Add Checkbox To Woocommerce (Required Checkbox) See also: Add Multiple Required Checkbox Fields On WooCommerce Checkout Page
Add this to your theme’s function.php to hide all product tabs on a single product page:
Paste those into your theme’s functions.php and edit the contact form shortcode inside do_shortcode function.
Add the following code to your theme’s functions.php file to remove the HREF attribute from all the links that link to “#”, Basically can be very useful if you’re using submenus and you want the parent item unlinked, for example.
This is how you add a checkbox to checkout in Woocommerce. The Checkbox will appear in the checkout and will not let the customer to proceed unless the checkbox is checked. See also: How to add checkbox to checkout in woocommerce (not required) See also: Add Multiple Required Checkbox Fields On WooCommerce Checkout Page Add […]
In this post I will include my code to track, store and pass HasOffers (affiliate id + transaction id + amount of order) data from the the first page, through the order details and back to HasOffers when the purchase is successfull. I will divide the process to a few steps: Track the Transaction ID […]
Put it in your theme’s functions.php. Whenever your visiot will try to add a product twice mistakenly, it will keep only 1 of this product in his cart. However, he will be still able to change the quantity of the single product he has in cart.
Put it in your theme’s functions.php and update the form id (999999) to your CF7’s form ID.
Put it into your theme’s functions.php:
This code will disable coupon on cart if it’s already applied.
How many times did you encounter a “Add to Cart” button or “View Cart” button on your WooCommerce website and you wanted to change it to something else, and didn’t know how? In this code snippet we can change any string we want (as long as it’s not a string with variables, it may be […]