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 remove the ‘Total’ column from the table of orders shown in the users’ my account dashboard.
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 1 year ago
This snippet allows logged in users to see a history of previous purchases of the currently viewed product under the add to cart button. This snippet is particularly useful to remind customers of when...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 3 months ago
This snippet allows you to make all products from a specific category non-purchasable. This means the user is unable to buy the product. The ‘add to cart’ button is removed and the ability to add prod...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 1 year ago
Do you know what’s really misleading? When you are comparing two products on the archive page and you’re weighing up the reviews. You notice Product A is rated 5 stars and Product B is only rated 4 st...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 3 months ago
This snippet allows you to show the date range a product is on sale if you had set a sale price in the editor.
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 1 year ago
By default, only Virtual + Downloadable product orders move to the Completed order status automatically. This snippet looks at orders once created and if the order status is set to completed, will aut...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 3 months ago
This snippet counts the total number of products purchased in the order and outputs the total below the order details table. add_action( 'woocommerce_email_after_orde...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 1 year ago
This code snippets changes the user role upon registration. By default, users are assigned the “Customer” user role. This snippet allows you to change that and assign a different user ole. In this spe...
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 1 year ago
This code snippet creates a custom role showing every possible default capability.
AI Verified
Category: WooCommerce
Added: 1 year ago
Last Updated: 3 months ago
This snippet allows you to display the percentage saving amount on sale products on the single product template and on the loop items.