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 Snippet

WooCommerce

AI Verified

2

WooCommerce Create Coupon Code Automatically After Purchase

Added: 1 year ago

Last Updated: 2 weeks ago

This snippet automatically creates a coupon code when an order is placed and lets the customer know to share said coupon code to give their friend money off. Specifically, this code creates a coupon c...

WooCommerce

AI Verified

1

WooCommerce Add Custom Checkout Field If Specific Product Is In Cart

Added: 1 year ago

Last Updated: 2 weeks ago

This snippet will show a custom checkout field and save the data as order meta ONLY IF a specific product is in the cart.

WooCommerce

AI Verified

0

WooCommerce Colorado Retail Delivery Fee

Added: 1 year ago

Last Updated: 1 year ago

As of July 1st 2022, The Department of Revenue in Colorado, United States, is implementing a new “Retail Delivery Fee” as detailed here. This statute effectively says a flat $0.27 fee per order must b...

WooCommerce

AI Verified

1

WooCommerce Show Order Weight Column In My Account Orders Table

Added: 1 year ago

Last Updated: 2 weeks ago

This snippet inserts a new, custom column in the table of orders shown in My Account > Orders populated with the total weight of the order so the customer is aware how heavy their order was.Specifical...

WooCommerce

AI Verified

1

WooCommerce Product Time Picker

Added: 1 year ago

Last Updated: 2 weeks ago

This snippet adds a product time picker to the single product template above the add to cart button and save the time picked against the product as meta data. Once a time is picked against the product...

WooCommerce

AI Verified

1

WooCommerce Remove Prices From Product Automatically After They Are Ordered

Added: 1 year ago

Last Updated: 2 weeks ago

This snippet was requested by one of the members from the WooCommerce Facebook Snippets Community.This snippet will automatically remove product prices when the product is ordered making it non-purcha...

WooCommerce

AI Verified

0

WooCommerce Add Fee With A Coupon

Added: 1 year ago

Last Updated: 1 year ago

Yes, you read the title correctly, weird I know!This snippet was requested by one of the Facebook Community members.This code snippet checks if a user defined coupon code has been applied to the order...

WooCommerce

AI Verified

0

WooCommerce Update Checkout Totals On Billing State County Change

Added: 1 year ago

Last Updated: 1 year ago

Are you writing a custom snippet which makes changes to the order totals based on the billing county

WooCommerce

AI Verified

2

WooCommerce Show Sale Ending Countdown Timer On Loop

Added: 1 year ago

Last Updated: 2 weeks ago

This snippet increases the Fear Of Missing Out (FOMO) and urgency factor by showing a countdown timer on the product loop.Specifically, the timer counts down to the sale end price. If there is no sale...

WooCommerce

AI Verified

1

WooCommerce Buy Now Button

Added: 1 year ago

Last Updated: 2 weeks ago

This snippet generates a secondary button “Buy Now’.Introducing this button allows users to checkout more quickly as they skip the entire cart journey of the buying journey.This is particularly useful...