Welcome to the ecommercehints Codevault! 🚀
Link to website:
https://www.ecommercehints.com/Total number of Snippets: 172
Search:
You can search for a snippet by name.
Filter:
Clicking on any of the language buttons will show only snippets in that language. Selecting a snippet from the categroy list will only show snippets in that category.
Sorry, there are no snippets in that category...🫙
Have one in mind, click below to create one.
Create SnippetAI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 3 months ago
This snippet allows you to display the fixed amount monetary value the customer is saving when a product is on sale.
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 3 months ago
This snippet will automatically create a user account for customers ONLY when they pay for their order. Make sure you have the “Allow customers to create an account during checkout” unchecked under Da...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 1 year ago
This snippet adds jQuery (run form the footer for performance reasons) which only allows number input in the billing phone field on the checkout. Specifically, it will find and delete anything which i...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 1 year ago
This snippet allows you to change the product name after the purchase has been made. Let’s say for example you are selling adult products or services and the customer doesn’t want these shown on the e...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 3 months ago
The WooCommerce review form uses the default WordPress comment form and adds a few sprinkles of meta data, the star rating being one of these meta fields. This guide gives you a visual insight into wh...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 3 months ago
This snippet creates a custom text area field when creating a new shipping method and outputs the data entered as a tooltip on the cart and checkout where the shipping methods are shown. There are a f...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 3 months ago
This snippet inserts a progress bar on the product page to let customers know how many units you have in stock. The visual representation conveys more scarcity because they will be able to see not onl...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 3 months ago
This snippet looks at if there are any coupon codes used in the order.If there are, it fetches the coupon coupon type, name and the amount.If the coupon code type is a percentage based discount, a per...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 3 months ago
This snippet checks the billing email field upon the user clicking the place order button and if this email matches the email you have defined in this code, a custom error will appear, the cart is emp...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 1 month ago
This snippet checks the cart contents and will remove the billing fields if there are only virtual products in the order.This means your customers will only need to enter their first name, last name,...