RP

ecommercehints

Welcome to the ecommercehints cloud library

Filters:

Search:

Number of snippets: 172

WooCommerce Add Content Under The Proceed To Checkout Button On The Cart Page

PHP
3

Category: WooCommerce

How many times have you bought something online and seen trust symbols near the proceed to checkout button on the...

AI Verified

WooCommerce How To Add Content Under The Proceed To Checkout Button On The Cart Page

PHP
0

Category: WooCommerce

How many times have you bought something online and seen trust symbols near the proceed to checkout button on the...

AI Verified

WooCommerce Add A Fee At Checkout Based On The Postcode Entered

PHP
0

Category: WooCommerce

You may wish to charge an additional fee based on the user’s postcode. This solution shows how you can add...

AI Verified

WooCommerce Automatically Set On-Hold Order Status To Processing

PHP
1

Category: WooCommerce

If you’d like to bypass the on-hold order status which either WooCommerce or the payment gateway the customer uses automatically...

AI Verified

WooCommerce Automatically Set the Complete Order Status

PHP
2

Category: WooCommerce

If you’d like to bypass the on-hold order status which either WooCommerce or the payment gateway the customer uses automatically...

AI Verified

WooCommerce Create Custom Order Statuses

PHP
1

Category: WooCommerce

Creating a custom order status in WooCommerce can be useful if there are extra steps in your business processes. Perhaps...

AI Verified

WooCommerce Custom Link To Add Products To Cart

HTML
1

Category: WooCommerce

Do you want to be able to add links in your content to allow customers to add products to cart...

Unverified

WooCommerce Move Email Address Field To The Top Of The Checkout

PHP
2

Category: WooCommerce

Moving the email address field to the top of the checkout seems trivial but actually a smart move. Giving the...

AI Verified
AI Verified

WooCommerce Change Choose An Option Text From Variable Add To Cart

PHP
1

Category: WooCommerce

Changing the variable product drop down text from “Choose An Option” is key to tailoring your store for a better...

AI Verified

WooCommerce Change Coupon Code To Discount Code

PHP
0

Category: WooCommerce

In some contexts, “coupon” is just the wrong word to use. For specifics, we have created a handful of guides...

AI Verified

WooCommerce Change Coupon Code To Promo Code

PHP
0

Category: WooCommerce

We’ve written a handful of guides on changing the coupon code wording to specific text. This is because some users...

AI Verified

WooCommerce Show Number Of People Viewing Product

PHP
8

Category: WooCommerce

We want to make this solution absolutely clear from the outset. This snippet does NOT generate the actual number of...

AI Verified

WooCommerce Change Verified Owner Reviews Text

PHP
0

Category: WooCommerce

If you’re using capturing reviews and using WooCommerce to facilitate bookings, courses, events, or services, showing the label “verified owner”...

AI Verified

WooCommerce Remove Cross-Sells On Cart Page

PHP
0

Category: WooCommerce

To remove the cross-sell products which show in the cart, it’s a quick and simple one liner. Typically, cross-sells only...

AI Verified

WooCommerce Change “Choose Some Product Options” Text

PHP
3

Category: WooCommerce

A lot of the time, users will miss the attribute drop down on a variable product page and immediately go...

AI Verified

WooCommerce Replace “Thank You. Your Order Has Been Received” Text

PHP
0

Category: WooCommerce

Personalising the intro text on the WooCommerce Thank You page (order received endpoint) can greatly enhance the customer experience. Even...

AI Verified

WooCommerce Remove Order Notes Field From Checkout

PHP
0

Category: WooCommerce

A lot of the time, the user wont need to enter additional information about their order especially if shipping is...

AI Verified

WooCommerce Show Product Meta Under Product Name In Emails

PHP
0

Category: WooCommerce

A lot of the time, the default WooCommerce product editor doesn’t give the user enough flexibility in assigning custom meta....

AI Verified

WooCommerce Change Add To Cart Button Text On Click

PHP
0

Category: WooCommerce

A key part of a good User Experience (UX) is feedback. Knowing you’ve clicked on something prevents rage clicks. Have...

AI Verified

WooCommerce Show Content Under The Add To Cart Button On The Product Page

PHP
0

Category: WooCommerce

Showing content under the add to cart button on the single product page can help you convey important messages to...

AI Verified

WooCommerce Rename The Sale Badge

PHP
0

Category: WooCommerce

In some contexts, the default “Sale!” badge shown on WooCommerce Product Arhive pages, single product pages, and on cross-sells and...

AI Verified

WooCommerce Change Order Received Title

PHP
2

Category: WooCommerce

Customising the thank you page title is relatively straight forward and a quick win in improving your Customer Experience (CX)....

AI Verified

WooCommerce Change Checkout Field Labels

PHP
2

Category: WooCommerce

Your business may require customised WooCommerce checkout field labels. This quick guide shows you how you can easily and quickly...

AI Verified

WooCommerce Change “Place Order” Button Text

PHP
0

Category: WooCommerce

Sometimes, it may be necessary to change the default “Place Order” button text on the WooCommerce Checkout form. Some payment...

AI Verified

WooCommerce Add Content Under Product Prices On Archive Page

PHP
0

Category: WooCommerce

This quick guide shows you how to add any custom content under the product price on the WooCommerce Product Archive...

AI Verified

WooCommerce Show Custom Content Under Checkout Fields

PHP
2

Category: WooCommerce

Sometimes, you may wish to provide additional instructions to your customers when they are completing the WooCommerce Checkout form. This...

AI Verified

WooCommerce Redirect To Different Thank You Page Based On Product In Order

PHP
4

Category: WooCommerce

In some cases, you may wish to redirect users to a different thank you page based on a product purchased...

AI Verified

WooCommerce Change Checkout Field Placeholders

PHP
1

Category: WooCommerce

Changing the checkout form field placeholders is a relatively straight forward task and something you may wish to do based...

AI Verified

WooCommerce Redirect To Checkout After Adding Product To Cart On Product Page

PHP
2

Category: WooCommerce

If your store deals with products where typically only one in the entire range is bought, you may wish to...

AI Verified

WooCommerce Checkout Redirect After Adding Product To Cart On Archive

PHP
0

Category: WooCommerce

This quick guide shows you how you can redirect your customers to the checkout after they immediately add a product...

AI Verified

WooCommerce Change Add To Cart Button Text On Product Page

PHP
2

Category: WooCommerce

Firstly, it’s important to note that if you’re trying to change the button text to either “add to cart” or...

AI Verified

WooCommerce Change Add To Cart Button Text On Product Archive

PHP
1

Category: WooCommerce

Like with changing the text on the single product template, it’s important to note that if you’re trying to change...

AI Verified

WooCommerce Change The Width Of The Checkout Fields

PHP
0

Category: WooCommerce

Something we keep seeing Shopify users keep raving on about is how good the checkout experience is when actually, WooCommerce...

AI Verified

WooCommerce Add Price Prefix

PHP
0

Category: WooCommerce

This guide allows you to add custom text as a prefix to prices on both the product archive and single...

AI Verified

WooCommerce Add Price Suffix

PHP
0

Category: WooCommerce

This snippet allows you to add custom content as a suffix to WooCommerce prices. You may wish to display information...

AI Verified

WooCommerce Subscribe To Emails Checkbox On Checkout

PHP
0

Category: WooCommerce

Asking users to subscribe to your emails on the checkout page is the perfect place to begin remarketing your store...

AI Verified

WooCommerce Add Stock Quantity Prefix

PHP
0

Category: WooCommerce

This snippet allows you to add any custom prefix to the stock quantity shown on the single product template. In...

AI Verified

WooCommerce Stock Quantity Suffix

PHP
0

Category: WooCommerce

This guide allows you to add custom content to the stock quantity value. For example, you may wish to show...

AI Verified

WooCommerce Checkout Change “Ship To A Different Address” Heading

PHP
1

Category: WooCommerce

Based on your store location, some titles will say “Deliver” instead of “Ship”. Whatever your checkout says, you need to...

AI Verified

WooCommerce Ship To A Different Address Checked And Open By Default

PHP
1

Category: WooCommerce

This quick guide shows you how you can automatically open the Ship To A Different Address section of the WooCommerce...

AI Verified

WooCommerce Add Custom Text Field To Product

PHP
1

Category: WooCommerce

In this example, we show you how customer can add custom text to products which will show on the product...

AI Verified

WooCommerce Checkout Upsell Checkbox

PHP
3

Category: WooCommerce

Do you want to be able to upsell products on the WooCommerce checkout without any bloated, expensive plugins? This quick...

AI Verified

WooCommerce Change Variable Product Price Range Display

PHP
2

Category: WooCommerce

If you wish to customise how variable product prices are displayed on both the Product Archive and Single Product templates,...

AI Verified

WooCommerce Custom My Account Navigation Tab Icons

HTML
0

Category: WooCommerce

You may wish to replace the default My Account Navigation Link icons with icons which are more appropriate and inline...

Unverified

WooCommerce Custom Content Under New Order Email Heading

PHP
1

Category: WooCommerce

As you know, editing the WooCommerce template core files is a big fat no-no for security and update purposes. If...

AI Verified

WooCommerce Disable Payment Gateway Based On Shipping Method

PHP
1

Category: WooCommerce

If you do not have the facility to take payments other than cash for in-person shipping methods like local pickup,...

AI Verified

WooCommerce Product Colour Picker

PHP
0

Category: WooCommerce

Yes you read that correctly, colour with a U. Here in the UK, we spell things a little differently. Anyway,...

AI Verified

WooCommerce Thank You Page How Did You Hear About Us

PHP
2

Category: WooCommerce

Awareness is the very first stage in any sales funnel. The user has to be aware of your existence before...

AI Verified

WooCommerce Product Preview Link

PHP
1

Category: WooCommerce

Long story short, this solution shows a button on the single product template which links to a URL of your...

AI Verified

WooCommerce Show Categories On Product Loop

PHP
1

Category: WooCommerce

Being able to show which categories a product belongs to on the archive page make it clear to users that...

AI Verified

WooCommerce Show Product Tags On Loop Items

PHP
0

Category: WooCommerce

Showing product tags on the loop items is something you may wish to implement if you want to allow customers...

AI Verified

WooCommerce Display Product-Unique Content On Loop Items

PHP
0

Category: WooCommerce

This guide shows you how you can display product-specific content on the loop items which are shown on the product...

AI Verified

WooCommerce Add Product-Unique Content Above Image On Loop Item

PHP
0

Category: WooCommerce

There are two hooks which can be used to show content above the product image on the loop item: woocommerce_before_shop_loop_item...

AI Verified

WooCommerce Add Product-Unique Content Below Loop Item Image

PHP
0

Category: WooCommerce

Showing product-specific content below the image on a loop item is really easy. In other words, if you want to...

AI Verified

WooCommerce Show Product-Specific Content Under Loop Item Title

PHP
0

Category: WooCommerce

Do you want to be able to display product specific information under the title and above the price on the...

AI Verified

WooCommerce Fixed Checkout Admin/Handling Fee

PHP
0

Category: WooCommerce

A little warning, unexpected fees at checkout can put some users off and some payment gateways do not allow custom...

AI Verified

WooCommerce Product Page Countdown Timer

PHP
1

Category: WooCommerce

This quick guide shows you how to add a countdown timer to your product page template under the products terms...

AI Verified

WooCommerce Percentage Checkout Admin/Handling Fee

PHP
0

Category: WooCommerce

A little warning, unexpected fees at checkout can put some users off and some payment gateways do not allow custom...

AI Verified

WooCommerce Add Custom Content Below Order Received Title

PHP
1

Category: WooCommerce

Hooking into the WooCommerce thank you page is really easy and in this guide, we show you how to add...

AI Verified

WooCommerce Add Custom Content To The Bottom Of The Order Received Thank You Page

PHP
0

Category: WooCommerce

Adding custom content at the bottom of the the WooCommerce Order Received Thank You page is a great way to...

AI Verified

WooCommerce Registration Form Postcode Field Validator

PHP
0

Category: WooCommerce

If you mange a store which does not allow for local pickup and you only deliver to specific postcodes, you...

AI Verified

WooCommerce Custom Text Metabox For Products

PHP
1

Category: WooCommerce

By default, WooCommerce allows editing for a range of fields including the product’s weight, height, it’s menu order, it’s price…the...

AI Verified

WooCommerce Custom Text Area Field For Editing Products

PHP
0

Category: WooCommerce

This guide shows you how you can create a custom Text Area field type in the product editor of WooCommerce...

AI Verified

WooCommerce Custom Checkbox Field For The Product Editor

PHP
0

Category: WooCommerce

This guide shows you how to create a custom checkbox field type in the product editor of WooCommerce. The Sold...

AI Verified

WooCommerce Custom Select Field For Product Editor

PHP
1

Category: WooCommerce

This guide shows you how you can create a custom Select field type in the product editor of WooCommerce. A...

AI Verified

WooCommerce Custom Radio Button Field For Product Editor

PHP
0

Category: WooCommerce

This guide shows you how to create custom radio buttons in the product editor of WooCommerce. This is perfect if...

AI Verified

WooCommerce Show Custom Content Above Product Name

PHP
1

Category: WooCommerce

This quick guide shows you how to display custom content above the product title on the single product template using...

AI Verified

WooCommerce Add Content At The Top Of The Mini-Cart

PHP
0

Category: WooCommerce

By default, the WooCommerce mini-cart doesn’t even have a title. This quick guide shows you how you can add custom...

AI Verified

WooCommerce Add Content Below Products In Mini-Cart

PHP
0

Category: WooCommerce

This quick guide shows you how you can display custom content below the list of products in the mini-cart. This...

AI Verified

WooCommerce Mini Cart Custom Content Under Subtotal

PHP
0

Category: WooCommerce

This quick guide shows you how to add custom content under the subtotal shown in the minicart

AI Verified

WooCommerce Enable Shipping Method Based On Coupon

PHP
0

Category: WooCommerce

This guide shows you how to hide a specific shipping method option and only enable it when a specific coupon...

AI Verified

WooCommerce Free Shipping Before A Certain Time

PHP
0

Category: WooCommerce

A lot of online stores allow free delivery before a certain time of day depending on the courier used. This...

AI Verified

WooCommerce Disable Shipping Method If User Is Logged Out

PHP
1

Category: WooCommerce

Enabling and disabling shipping method options based on whether the user is logged into their account is easy. Having this...

AI Verified

WooCommerce Free Shipping For Specific Products

PHP
1

Category: WooCommerce

Firstly, you try to achieve free shipping if a certain product is in the cart by using shipping classes. Only...

AI Verified

WooCommerce Set Minimum Product Quantity For All Products

PHP
0

Category: WooCommerce

This guide shows you how you can globally set a minimum product quantity across all products in your store. Minimum...

AI Verified

WooCommerce Change In Stock Text

PHP
1

Category: WooCommerce

If you’ve enabled stock management on our store, customers will see the stock status on the single product page. If...

AI Verified

WooCommerce Change Out Of Stock Text

PHP
0

Category: WooCommerce

If you’ve enabled stock management on our store, customers will see the stock status on the single product page. If...

AI Verified

WooCommerce Spend £X To Unlock Free Shipping

PHP
1

Category: WooCommerce

Native WooCommerce functionality means you can achieve this by setting am minimum order amount under the free shipping method options....

AI Verified

WooCommerce Show Banner On Specific Product Archive

PHP
0

Category: WooCommerce

Showing a banner on the product archive template is a great way to capture the customer’s attention as they browse...

AI Verified

WooCommerce Show Product Unit Price

PHP
1

Category: WooCommerce

By default, WooCommerce only shows the product’s unit price (or price per item) only on the cart page. On the...

AI Verified

WooCommerce Payment Method Fixed Fee

PHP
0

Category: WooCommerce

Firstly, it’s important to check you with your payment gateway provider and the appropriate laws that you are allowed to...

AI Verified

WooCommerce Checkout Confirm Email Address

PHP
1

Category: WooCommerce

This guide shows you how you can introduce a new required checkout billing field which asks the user to confirm...

AI Verified

WooCommerce Remove Cart Notices

PHP
2

Category: WooCommerce

When adding or removing a product to or from the cart in WooCommerce, a message appears under the header letting...

AI Verified

WooCommerce Product Attribute Dimensions (LxWxH) Suffix

PHP
1

Category: WooCommerce

For some products, it be necessary to make clear that the dimensions planes listed in the attributes table is in...

AI Verified

WooCommerce Hide Product Meta (SKU, Categories, Tags)

PHP
1

Category: WooCommerce

Typically, the product’s SKU, categories and tags it belongs to, will appear under the Add To Cart call to action...

AI Verified

WooCommerce Choose Charity For Fixed Donation On Checkout

PHP
0

Category: WooCommerce

This guide shows you how can you can a fixed fee to the order based on a radio button selection...

AI Verified

WooCommerce Change “Billing & Shipping” Heading

PHP
1

Category: WooCommerce

If you’re building an eCommerce site for a pickup only shop, you’ll notice that the checkout form by default will...

AI Verified

WooCommerce Thank You Page Up-Sells

PHP
0

Category: WooCommerce

Depending on your website theme, WooCommerce by default will only show product up-sells on the product page. Up-sells are products...

AI Verified

WooCommerce Thank You Page Cross-Sells

PHP
0

Category: WooCommerce

Depending on your website theme, WooCommerce by default will only show product cross-sells in the cart based on products added....

AI Verified

WooCommerce Registration Redirect

PHP
1

Category: WooCommerce

By default, when a user registers and creates an account on your WooCommerce website, they are redirected to their dashboard...

AI Verified

WooCommerce Cart Total Based Banner

PHP
0

Category: WooCommerce

This guide shows you how you how to show a banner on your WooCommerce site based on the cart total....

AI Verified

WooCommerce Show Number Of Units Sold On Product Page

PHP
4

Category: WooCommerce

Showing the number of product units sold on the single product page is a great way to introduce Fear Of...

AI Verified

WooCommerce Show Number Of Units Sold On Product Archive

PHP
0

Category: WooCommerce

Showing the number of units sold for products on the archive page is a great way to introduce Fear Of...

AI Verified

WooCommerce Display Product Specific Content Under Add To Cart Button On Archive Loop

PHP
0

Category: WooCommerce

Do you want to be able to display product specific information under the add to cart button on the product...

AI Verified

WooCommerce Change Order Of Product Tabs

PHP
1

Category: WooCommerce

By default, the first tab is the tab which is opened when the product page is loaded. That means, out...

AI Verified

WooCommerce Logout Redirect

PHP
1

Category: WooCommerce

This guide shows you how you can redirect users to any page on your site when they logout instead of...

AI Verified

WooCommerce Login Redirect

PHP
1

Category: WooCommerce

By default, when a user logs into their account on your WooCommerce website, they are redirected to their dashboard on...

AI Verified

WooCommerce Show Custom Text On Empty Cart Page

PHP
1

Category: WooCommerce

If the user navigates to the cart page when there is nothing in their cart, they will see a cart...

AI Verified

WooCommerce Change “Your Cart Is Currently Empty” Text

PHP
1

Category: WooCommerce

This quick guide shows you how you can change the cart notice text which appears when you cart is empty,...

AI Verified

WooCommerce Empty Cart Button

PHP
2

Category: WooCommerce

By default, WooCommerce only lets users clear items from their cart one by one. This guide shows you how to...

AI Verified

WooCommerce Custom Text Before Register Form Fields

PHP
1

Category: WooCommerce

This quick guides shows you how you can add any custom text under the Register Form heading, above the form...

AI Verified

WooCommerce Custom Text After Register Form Fields

PHP
1

Category: WooCommerce

This guide shows you how you can add any custom text below the form fields on the Register form on...

AI Verified

WooCommerce Custom Text After Register Form Button

PHP
1

Category: WooCommerce

This guide shows you how you can add any custom text after the register button on the registration form shown...

AI Verified

WooCommerce Remove Product Images On Archive Loop

PHP
0

Category: WooCommerce

This code snippet will remove product images from the product loop item displayed on the product archive pages (categories

AI Verified

WooCommerce Show Custom Text Above Login Form Fields

PHP
1

Category: WooCommerce

This guide shows you how to add custom content above the login form fields shown on the My Account page.

AI Verified

WooCommerce Show Custom Text Below Login Form Fields

PHP
1

Category: WooCommerce

This quick code snippet allows you to show custom content below the Login form fields on the My Account page.

AI Verified

WooCommerce Show Custom Text Below Login Form

PHP
1

Category: WooCommerce

This quick guide shows you how you can add custom content below the login form on the My Account page.

AI Verified

WooCommerce Sort Products By SKU

PHP
1

Category: WooCommerce

For very rare cases, you may wish to allow customers to sort products by SKU. This use case would be...

AI Verified

WooCommerce Sort Products By Stock Status

PHP
1

Category: WooCommerce

This quick guide shows you how you can sort products on the archive template by stock status. This means you’ll...

AI Verified

WooCommerce Custom Product Tabs

PHP
1

Category: WooCommerce

This guide shows you how to create a custom product tab shown on the single product template. You may wish...

AI Verified

WooCommerce Custom Date Field On Registration Form

PHP
0

Category: WooCommerce

This guide shows you how you can implement a custom date picker field on the My Account registration form in...

AI Verified

WooCommerce Custom Select Field On Registration Form

PHP
1

Category: WooCommerce

This guide shows you how to add a custom select field (drop-down list) to the registration form on the my...

AI Verified

WooCommerce Custom Text Field On Registration Form

PHP
1

Category: WooCommerce

This guide shows you how you can add a custom text field on the registration form on the My Account...

AI Verified

WooCommerce Order Again From My Account View Orders Endpoint

PHP
1

Category: WooCommerce

This code allows the customer to reorder their previous orders from the View Orders endpoint on the My Account page....

AI Verified

WooCommerce Change “$0.00” to “Free”

PHP
1

Category: WooCommerce

If you have products which are free, the single product template and archive loop item will display the price as...

AI Verified

WooCommerce Force Numeric Usernames On Registration

PHP
0

Category: WooCommerce

This code snippet shows you how to make the registration form on the My Account page show an error is...

AI Verified

WooCommerce Show “NEW” Badge On Newly Added Products

PHP
1

Category: WooCommerce

This guide shows you how to add the next “NEW” on products which have been added to your WooCommerce store...

AI Verified

WooCommerce Show Product SKUs In Emails

PHP
0

Category: WooCommerce

This snippet appends the product SKU adjacent to the product names in all emails.

AI Verified

WooCommerce Remove Sale Badge

PHP
1

Category: WooCommerce

This snippet shows you how you can remove the sale badge on both the product archive loop item (which usually...

AI Verified

WooCommerce Move Product Category Description Below Product Loop

PHP
0

Category: WooCommerce

This snippet will allow you to move your product description below the loop of products.

AI Verified

WooCommerce Change User Role After Purchase

PHP
0

Category: WooCommerce

This snippet will automatically change the role of users who complete a purchase for specific products. Specific to this example,...

AI Verified

WooCommerce Show Custom Content Between Title And Price

PHP
1

Category: WooCommerce

This guide shows you how you can display custom content between the product title and the price on the WooCommerce...

AI Verified

WooCommerce Show Custom Content Below Product Meta

PHP
1

Category: WooCommerce

This snippet allows you to display custom content below the product meta. Product meta being the SKU, categories and tags...

AI Verified

WooCommerce Show Custom Content Above Product Meta

PHP
0

Category: WooCommerce

This snippet allows you to display custom content above the product meta. Product meta being the SKU, categories and tags...

AI Verified

WooCommerce Show Custom Content Between Short Description And Add To Cart

PHP
1

Category: WooCommerce

In this guide, we show you how you can display custom content between the short description and add to cart...

AI Verified

WooCommerce Show Customer Addresses On Thank You Page For Guest Checkouts

PHP
0

Category: WooCommerce

WooCommerce thank you page not showing customer details like the Billing Address and Shipping Address? It may be because the...

AI Verified

WooCommerce Show Custom Content Between Price And Short Description

PHP
1

Category: WooCommerce

This snippet allows you to show custom content between the price and short description on the WooCommerce Single Product Template....

AI Verified

WooCommerce Call For A Price

PHP
0

Category: WooCommerce

This snippet removes all instances of the Add To Cart button whatever the product type (Simple, Grouped, Variable, External) then...

AI Verified

WooCommerce Remove Checkout Button From Mini Cart

PHP
0

Category: WooCommerce

This guide shows you how you can remove the checkout button from the mini cart, forcing users to view their...

AI Verified

WooCommerce Remove View Cart Button From Mini Cart

PHP
0

Category: WooCommerce

This snippet allows you to remove the View Cart button from the mini-cart, forcing your users to proceed straight to...

AI Verified

WooCommerce Change Product Links On Grouped Products

PHP
0

Category: WooCommerce

If you have grouped products set up on your site, you’ll notice the table which is output to the right...

AI Verified

WooCommerce Remove Header From Checkout

PHP
1

Category: WooCommerce

This snippet allows you to remove the header from your checkout page. Why do this? Well, you’ll know from our...

AI Verified

WooCommerce Remove Footer From Checkout

PHP
1

Category: WooCommerce

Removing the footer from the checkout page is important if you want to reduce exit points and increase conversions. Remember,...

AI Verified

WooCommerce Remove Coupon Code Field From Cart

PHP
1

Category: WooCommerce

This snippet allows you to remove the coupon code form field from only the cart page – leaving it on...

AI Verified

WooCommerce Redirect Product Links On Archive Page

PHP
0

Category: WooCommerce

This snippet stops the user from being able to the view the single product template and instead redirects them to...

AI Verified

WooCommerce Show Product Attribute On Archive Loop Items

PHP
0

Category: WooCommerce

This snippet allows you to get the WooCommerce product attributes and output them on the product archive loop items below...

AI Verified

WooCommerce Show Products Ordered In My Account Orders Table

PHP
1

Category: WooCommerce

This snippets allows you to add a custom column to the Orders table under My Account which will be populated...

AI Verified

WooCommerce Confirm Email On Registration Form

PHP
1

Category: WooCommerce

This snippet generates a new custom field on the registration form which asks the user to confirm their email address...

AI Verified

WooCommerce Custom Checkbox On Product

PHP
1

Category: WooCommerce

This snippet generates a custom checkbox on the product page, which if checked, adds meta to the order. You’ll notice...

AI Verified

WooCommerce Remove Total Column In My Account Orders Table

PHP
1

Category: WooCommerce

This snippet allows you to remove the ‘Total’ column from the table of orders shown in the users’ my account...

AI Verified

WooCommerce Show Previous Orders Of Product On Single Product Template

PHP
0

Category: WooCommerce

This snippet allows logged in users to see a history of previous purchases of the currently viewed product under the...

AI Verified

WooCommerce Make Products Non-Purchasable For A Specific Category

PHP
1

Category: WooCommerce

This snippet allows you to make all products from a specific category non-purchasable. This means the user is unable to...

AI Verified

WooCommerce Show Review Rating Count On Product Archive

PHP
0

Category: WooCommerce

Do you know what’s really misleading? When you are comparing two products on the archive page and you’re weighing up...

AI Verified

WooCommerce Show Sale Price Dates On Product Page

PHP
1

Category: WooCommerce

This snippet allows you to show the date range a product is on sale if you had set a sale...

AI Verified

WooCommerce Automatically Update The Completed Order Status To Processing

PHP
0

Category: WooCommerce

By default, only Virtual + Downloadable product orders move to the Completed order status automatically. This snippet looks at orders...

AI Verified

WooCommerce Show Number Of Products Purchased In Emails

PHP
1

Category: WooCommerce

This snippet counts the total number of products purchased in the order and outputs the total below the order details...

AI Verified

WooCommerce Change User Role On Registration

PHP
0

Category: WooCommerce

This code snippets changes the user role upon registration. By default, users are assigned the “Customer” user role. This snippet...

AI Verified

WordPress Create Custom User Role

PHP
0

Category: WooCommerce

This code snippet creates a custom role showing every possible default capability.

AI Verified

WooCommerce Show Percentage Saving Amount On Sale Product

PHP
2

Category: WooCommerce

This snippet allows you to display the percentage saving amount on sale products on the single product template and on...

AI Verified

WooCommerce Show Fixed Amount Savings On Sale Products

PHP
1

Category: WooCommerce

This snippet allows you to display the fixed amount monetary value the customer is saving when a product is on...

AI Verified

WooCommerce Automatically Create User Account Only After Payment

PHP
1

Category: WooCommerce

This snippet will automatically create a user account for customers ONLY when they pay for their order. Make sure you...

AI Verified

WooCommerce Only Allow Number Input For Billing Phone

PHP
0

Category: WooCommerce

This snippet adds jQuery (run form the footer for performance reasons) which only allows number input in the billing phone...

AI Verified

WooCommerce Change Product Names After Purchase

PHP
0

Category: WooCommerce

This snippet allows you to change the product name after the purchase has been made. Let’s say for example you...

AI Verified

WooCommerce Review Form Visual Hooks Guide

PHP
1

Category: WooCommerce

The WooCommerce review form uses the default WordPress comment form and adds a few sprinkles of meta data, the star...

AI Verified

WooCommerce Shipping Method Description Tooltips

PHP
1

Category: WooCommerce

This snippet creates a custom text area field when creating a new shipping method and outputs the data entered as...

AI Verified

WooCommerce Stock Status Progress Bar

PHP
3

Category: WooCommerce

This snippet inserts a progress bar on the product page to let customers know how many units you have in...

AI Verified

WooCommerce Show Coupon Code Used In Emails

PHP
1

Category: WooCommerce

This snippet looks at if there are any coupon codes used in the order.If there are, it fetches the coupon...

AI Verified

WooCommerce Prevent Specific Email Address From Checking Out

PHP
1

Category: WooCommerce

This snippet checks the billing email field upon the user clicking the place order button and if this email matches...

AI Verified

WooCommere Remove Checkout Billing Fields For Virtual Product Orders

PHP
3

Category: WooCommerce

This snippet checks the cart contents and will remove the billing fields if there are only virtual products in the...

AI Verified

WooCommerce Create Coupon Code Automatically After Purchase

PHP
2

Category: WooCommerce

This snippet automatically creates a coupon code when an order is placed and lets the customer know to share said...

AI Verified

WooCommerce Add Custom Checkout Field If Specific Product Is In Cart

PHP
1

Category: WooCommerce

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

AI Verified

WooCommerce Colorado Retail Delivery Fee

PHP
0

Category: WooCommerce

As of July 1st 2022, The Department of Revenue in Colorado, United States, is implementing a new “Retail Delivery Fee”...

AI Verified

WooCommerce Show Order Weight Column In My Account Orders Table

PHP
1

Category: WooCommerce

This snippet inserts a new, custom column in the table of orders shown in My Account > Orders populated with...

AI Verified

WooCommerce Product Time Picker

PHP
1

Category: WooCommerce

This snippet adds a product time picker to the single product template above the add to cart button and save...

AI Verified

WooCommerce Remove Prices From Product Automatically After They Are Ordered

PHP
1

Category: WooCommerce

This snippet was requested by one of the members from the WooCommerce Facebook Snippets Community.This snippet will automatically remove product...

AI Verified

WooCommerce Add Fee With A Coupon

PHP
0

Category: WooCommerce

Yes, you read the title correctly, weird I know!This snippet was requested by one of the Facebook Community members.This code...

AI Verified

WooCommerce Update Checkout Totals On Billing State County Change

PHP
0

Category: WooCommerce

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

AI Verified

WooCommerce Show Sale Ending Countdown Timer On Loop

PHP
2

Category: WooCommerce

This snippet increases the Fear Of Missing Out (FOMO) and urgency factor by showing a countdown timer on the product...

AI Verified

WooCommerce Buy Now Button

PHP
1

Category: WooCommerce

This snippet generates a secondary button “Buy Now’.Introducing this button allows users to checkout more quickly as they skip the...

AI Verified

WooCommerce Checkout How Did You Hear About Us

PHP
2

Category: WooCommerce

Keep in mind, the longer the checkout process, the more friction there is for the user to pay and become...

AI Verified

WooCommerce Estimated Delivery Dates

PHP
2

Category: WooCommerce

This snippet adds some much needed functionality to the WooCommerce shipping methods shown on the checkout page. Specifically, when adding...

AI Verified