This here is my woocommerce discount Coupon code today I’m going to hack it And I’m going to do it in 23 different Ways so if you’re interested then jump In because it’s going to be a fun ride And here are some of the examples we’re Going to do today for example we’re Going to add a discount coupon filled on A single product page so you can use the Coupons if I add it here you’ll see the Coupon has been applied Also I’m going to show you how to change A coupon location as you see I have Moved it down below here And not only on the card page but also On a checkout page I’m gonna show you how to add coupons Automatically based on the quantities For example if three or more products is Added to the card you’ll see that twenty Percent discount coupon has been added Automatically I’m gonna show you how to display the Discount percentage here And coupon used here with a discounted Price and those are only a couple of Hacks there are plenty more as I said Earlier I’m gonna show you 23 Woocommerce coupons based hacks and now When this is out of the way it’s time to Dive in Now a couple of things I need to point Out first all the Snippets I’m gonna Show you today take a look at the
Description of this video there is a Link to the blog post that contains all The code and second one you can add all Those Snippets into your child teams Functions PHP file or you can go to the Plugins add new search for code Snippets This one here install and activate it This one allows you to add all the codes To the site and you don’t have to worry Whether the Snippets are active in case You change your teams Yo gold snippet is another option but There is also a third option and this One is WP code box this is my favorite Code snippet manager this one is a Premium plugin but it allows me to save My Snippets to the cloud I can choose what kind of snippet I add Here I can choose the condition for example If I add snippet I can add the condition To show it only Four Specific product categories for example If I add a snippet this one works only On accessories product category Pages Previously I have made a Toro review Video about WP code box the link to this Video is in the description of this Video one more things as I said it’s a Premium plugin but if you take a look at The description of this video there is a Nice 20 discount coupon for you In this video I’m going to use code
Snippets plugin So I installed it and activate it now I’m gonna go to the Snippets and add new And first actually we’re going to add Today is a pack-and-based hex that is We’re going to filter woocommer’s orders By coupon used to give it the title and Paste this snippet here Nothing to configure here So choose only running Administration Area Save changes and activate now go to Woocommer’s orders And you’ll see a new filter here filter By coupons used for example let’s test This one here filter And now as you see those two others are The one that used coupon test 20. Seems to be working well so let’s go Back to the Snippets and let’s add Another one here and this time we’re Going to display used coupons on Woocommerce admin orders list that is We’re going to create a new column here And this one will display the coupon That is used for these are another order So paste the snippet only run in Administration area save changes and Activate let’s refresh And done if there is no coupon used You’ll see this message if there is a Groupon used you’ll see this message Here Already two hacks done so let’s add
Another one And this time we’re going to display use Coupons in woocommerce order preview Template As you see if I open it up in a preview It doesn’t show me the coupon that is Used With the help of this snippet we’re Gonna fix it so only running Administration area Save changes and activate Let’s refresh And open up the preview and you’ll see There is a coupon used here Now we’re done with the back end which Means let’s add another snippet And with the help of this snippet we’re Going to remove payment gateways if any Groupon is applied whatever coupon it is If it’s applied then we’re going to Remove direct bank transfer Or PayPal Now let’s take a look at the checkout Page here Make a right click on the payment Gateway choose inspect And you’ll see this one here is the Value Antonio card payments if I would Like to remove this one here I’m gonna Copy it And add it instead of PayPal or if I Need another one to be removed I’m gonna Just add it here and replace PayPal with This one here
But at the moment I’m going to remove Direct bank transfer and PayPal If any of the coupons is used only run Outside front end save changes and Activate I’m going to go to the checkout Page I’m going to refresh it Now I’m gonna add a coupon called test20 As you see Groupon is applied but you Don’t see a PayPal or direct bank Transfer If I remove the coupon Both of them are back With the next ACT I’m gonna tweak this a Bit because maybe I would like to remove PayPal or direct bank transfer where Only if a specific coupon is applied so I’m gonna add a new snippet Give it the title base to snippet Everything works basically the same the Only difference is that here goes my Coupon code So I’m gonna add my coupon code test 20 Here if I apply it then PayPal and Direct bank transfer are removed so Let’s publish it refresh the page Apply the coupon Is applied and you’ll see there is no PayPal or direct bank transfer I’m going To remove the coupon and I’m gonna test It with another one ABC 30. It’s been applied But as you see PayPal and direct bank Transfer are there Nifty isn’t it
Next deck is useful if you would like to Send your customers the link which Applies a coupon code So let’s make it work give it a title Paste the snippet and what will it do it Will auto apply a coupon at woocommerce Checkup page using your url I’m gonna run it on a side front end and Let’s see how does it work I’m going to Go to the checkout page I’m going to Remove the coupon Let’s go to the home page And now I’m gonna add this address check Out coupon code test20 don’t worry you Don’t have to remember it if you take a Look at the description of this video as I said there’s a link to the site that Contains all the Snippets and the Explanations now I’m gonna go to this Page and you’ll see that coupon code is Applied successfully It’s here With the next deck I’m gonna tweak it a Bit that means I’m going to add a button On a checkout page and if someone Presses on the button then the same Coupon is applied so I’m gonna paste This small snippet down below of this One here those two should go together if You need to do that if you don’t need to Use a button option then this part is Optional So as you see there is a heading to be Wanted 20 discount there is a coupon
Replace your coupon code here Button title click to add your discount Now let’s save it Let’s reverse it checkout page here And there’s my button and the heading do You want a 20 discount If I click on it Coupon code applied successfully and It’s here Easy peasy isn’t it Which means it’s time to move to the Next hack and with the help of this hack We’re going to Auto apply a coupon based On your card total I’m going to paste the snippet and Couple of the explanations for you So here goes the coupon code this time I Added test 20 and the amount threshold Is 100 euros If cart amount is 100 Euros or more Coupon test 20 will be applied If I would like to exclude some products From this card minimum then this is the Part I’m gonna exclude those two Products if product with ID number 400 Or 813 is added to the card this is not Counted as a minimum where can you get Your product IDs easy go to your Products If you hover on it you’ll see it here So If this product or this product is added To the card it’s not counted as a Threshold
Couple of other things If the coupon is added then this Notification is shown twenty percent Discount added to your cart Or add at least 100 worth of products to Your cart and get 20 discount if the Card contains less and when all of this Is done I’m gonna choose only run on Site front end save changes and activate I’m gonna go to the cart page let’s see What happens here As you see at the moment the total Amount is 800 Euros but Now this count is applied and it’s Because this product called the lamp As a product ID 400. So I’m going to delete it And add some other one here For example This one Now I’m gonna go to the cart And you’ll see that 20 discount is added To my cart it’s because the threshold is 100 euros and the card amount is 120 Euros And if I delete this one here You’ll see the message at at least 100 Words of products to your card and get 20 percent of discount You can customize this message here Now this snippet added a coupon based on Car total and I applied it out Automatically but with the next snippet We’re going to Auto apply coupon based
On quantity Let’s see what happens here once again Here goes my Groupon code test 20 and Here goes items count So what will it do if at least four Products as added to the card then the Coupon test 20 will be automatically Applied There is a 20 discount coupon added Success message or sorry discount is not Available message Let’s see how it works Only run inside front and save changes And activate Let’s go to the cart page I’m going to Refresh it now let’s add three products Update card Card updated no coupon is added Now let’s add one more altogether four Products update card and you’ll see that Twenty percent discount coupon added and It’s here works like a charm Next let’s go to the checkout page and You’ll see that there is a have a coupon Click here to enter your code You have to click on the link here with The next tag I’m gonna make it to Auto Expand every time so you don’t have to Click here In order to make it work I’m gonna add a New snippet give it a title paste the Snippet nothing to configure here except If you would like to change the text Then do it here
Only run outside front end save changes And activate back to the checkout page Refresh And done have a coupon added to the Field below Let’s see whether it works ABC 30 And done But what if you would like to remove This have a coupon section all together Two ways first go to the woo warmers and Settings There is a enable coupon section disable It and save it Now refresh it And it’s gone But what if you would like to use the Coupons But you would not like to display this Area here so let’s use a small snippet Let’s go to the snippet page and let’s Paste this small line of code here only Run inside front end save changes and Activate Refresh and it’s gone Since we’re already messing with the Checkout page then let’s continue by Moving this have a coupon section Down below here below the place order Button so I’m gonna add a new snippet And paste this one here Nothing to configure here so only run Outside front end save changes and Activate Refresh
And it’s here click to enter your code If you would like it to be expanded then Then activate the snippet we created Earlier so refresh it Is here Let’s test whether it works And let’s add test 20 coupon Added and works like a charm Now let’s go back to the cart page and Let’s move this coupon area also down Below here So back to the Snippets add new Based snippet only run outside front end Save changes and activate You know the drill let’s refresh it and Done Now in order to make it look like this You need to tweak it a bit with a CSS Code also we need to hide the original Coupon code here so we’re gonna go to The customizer Let’s open up the additional CSS At this piece of CSS code you may need To tweak it the colors and stuff According to your theme This one works well for me I’m gonna Publish the changes back to the card Page and boom it’s here Let’s test it out Coupon ABC 30 and coupon applied Successfully Now there is also a small bonus tip for You if you would like to display the Same coupon input in a similar way on a
Checkout page that is Like this one here Then you would need to modify a with This code for example Instead of this hook you’re going to use This hook here And instead of get cart URL You’re Gonna Change it to checkout URL and Here you will add margin top 10 pixels And now if you save it And refresh it Is down below here let’s see whether it Works And works like a charm Now let’s tweak the system even a bit More And this time we’re gonna make adding a Coupon mandatory for certain woocommerce Products for example I’m gonna go to the Shop page I’m gonna add this golden lamp To the cart I’m gonna go to the cart and Let’s imagine that this product called a Lamp can be only purchased only if the Coupon is added if the coupon hasn’t Been added we’re not allowed to purchase It show how to make it work back to the Snippets add new Give it the title paste the snippet only Run inside front end Once again those are the product ID Numbers I showed you earlier where to Get those and these are the coupon codes Here so what happens if the card Contains product with this or this ID
Then you can purchase them only if you Add this coupon or this coupon if no Coupon has been applied then this Message is shown So let’s save changes and activate Let’s go to the cart I’m going to remove This coupon here and as you see it says The product called and lamp requires a Coupon for checkout if I want to go to The checkout nope there are some issues In your cart return to card message is Shown if I would like to access Checkout page directly Nope it’s the same thing happens so I Would need to add a coupon here so let’s Add a coupon test 20 Apply it Coupon applied successfully and now I Can proceed to checkout Let’s go back once more I’m going to Remove it and add another coupon Get free apply coupon It is added but as you see it doesn’t Work for code lamp because Only ABC 30 or test 20 will work with it So I’m gonna remove it and that There’s 20 And once again I’m good to go So are you excited already if not then Bear with me because we have nine good Hacks to go and in order to demonstrate One of those I’m gonna go to the Products There is a product
Which is available only on back order I’m gonna add it to the cart now I’m Gonna go to the card page and with the Next hack I’m gonna make it work in a Way that if the card contains product at Least one product that is available only On pack order then no coupon will work Here Just to demonstrate I’m gonna add a Coupon test 20 here As you see it works But I’m gonna make it do work in a way That it is not applied You know the drill that is Give it a name paste the snippet nothing To configure here only run inside front End save changes and activate let’s go To the cart page Let’s add a coupon test 20 Nope coupon is not valid ah but what About ABC 30 Nope still not valid let’s delete this Product from the cart and let’s test one More time with ABC 30. Now it works So this is out of the way let’s Deactivate it And let’s move to the next snippet I’m gonna add new If the title display coupon percentage In cart and checkout page basically it’s Self-explanatory but nevertheless I’m Gonna show you what will it do So it will display us you’ve got a deal
How many percent of And the percent amount is taken from the Coupon you can customize the text if Needed but choose only run on site front End save changes and activate go to the Cart refresh it and you’ll see this is a Message we added here thirty percent off Because coupon ABC 30 gives you 30 Discount I’m going to remove it and that Test 20 Now it displays 20 off Next one I’m gonna tweak this column Here because I would like to display the Discounted price here Which means I’m going to go back to the Beginning Add new Paste the snippet Basically there is nothing to configure Here so only run on site front end save Changes and activate refresh And it’s here discounted price it says Coupon test 20 is used and if I go to The checkout it also appears here But I would like to tweak The Styling a Bit so I’m gonna go to the customizer Additional CSS and I’m going to paste This piece of gold here publish Refresh And now it looks a bit better Simple yet effective isn’t it Now it’s time to move to the next hack And probably this one is gonna be your Favorite so back to the Snippets add new
Give it a title for me it’s create Coupon code automatically after purchase And display it on the thank you page Well we’ll see what will happen here So if Google John purchased something From your site then after the purchase a Coupon code containing his name or her Name will automatically create it that Is if my name is John then a coupon Called the John 20 will be created Here I’m gonna set that it’s a 20 Discount 20 goes here and percent here If you would like to give a fixed Card Discount then use this one or fixed Product Then you use this one and here goes the Amount limit is only one time usage And this is the message here’s your Personal coupon for your next purchase And let’s see how does it work this time Run snippet everywhere save changes and Activate now let’s go to the checkout Page Let’s change the name for Jon Snow I’m gonna select direct bank transfer One more thing I’m gonna go back to the Back end As you see the last coupon that is added Is get free Let’s see what happens if I place the Order here First I’m going to play the order and You’ll see here is your personal coupon For your next purchase
John 20. If I refresh it here It’s created here percentage discount 20 Usage limit One now I’m gonna go back to the shop Let’s add something to the cart Let’s go to the cart and add John 20 Here boom works like a charm proceed to Check out Once again place order And now you know what happens once again The same coupon will be created So pay attention to that one here and Use it carefully Now I’m gonna move to the Single product page I’m going to open up this one here and I’m going to add a coupon field down Below here Back to the Snippets add new Paste the snippet this is the message Coupon applied successfully or coupon Can’t be applied Styling change it accordingly And we will display it on the single Product page but not only pay attention That this part here allows us to use a Shortcode The one you see here We can use this shortcode anywhere on Our site and with this part we will add It to the single product page so Only run on site front end save changes And activate
Refresh It’s here now let’s add a coupon test 20. Redeem offer Coupon applied Let’s go to the cart and see whether it Has been applied yes it has so it works Now I’m gonna go to the random page here I’m gonna grab this shortcode I’m going to edit the page And add the short code somewhere here Paste it update it View page Well what do you know there is our our Coupon input let’s add a coupon here Redeem offer applied successfully let’s See whether it has been applied It has awesome With the help of this snippet we added This coupon field to everywhere but in The beginning of this video I introduced You a plugin called WP code box now I’m Going to use this one instead here I’m going to choose Type as PHP I’m going to paste this Piece that creates the coupon field Under the rules I’m gonna choose custom Open condition builder at condition and Only if the current post is Golden lamp that is this product here Save and close Save Activate now let’s refresh It’s here if I open up this product
Nope it’s not here Also it’s not here It is displayed only for this product And this is why I love the wp compost Plugin so much it has so much features That you can use especially if you’re Not the coder Nevertheless let’s move to the next Snippet we have only three to go And this time we’re going to tweak the Shipping options Just to clarify what is happening here I’m gonna disable this one for a second I’m gonna go to the coupons page there Is a coupon called get free It allows us free shipping Next I have to go to the woo warmer Settings Shipping Open up free shipping And there is a minimum order amount I’m gonna add another one here Free shipping and this time the rule is A shipping coupon Is needed I’m Gonna Save It Go to the cart refresh It As you see no free shipping is offered But if I add the Coupon here There is a free shipping but Courier is Still for six euros Is because It’s defined here
With the help of the next snippet I’m Going to show you how can we tweak it a Bit This means a free shipping coupon is Used then we’re going to set all Shipping rates to zero so paste it here Nothing to configure only run on site Front end save changes and activate Refresh And The Courier is also free It also adds the label free to every Shipping method here I like this snippet a lot Next one Create a new snippet and this time I’m Going to show you how you can create a Coupon programmatically so I’ll paste it Here And what happens Here goes your coupon code name Coupon type whether it’s fixed percent Or fixed product Amount and usage limit Nothing else to configure here so Let’s tweak it my coupon 200 here my two Coupon 200 here Choose only run once and save changes And execute once Go to the coupon page refresh it And you’ll see this is a coupon we Created let’s do it one more time Coupon 2000 for example Only run once save changes and execute Once
And we created another one here Which means we have only one hack to go So I’m gonna Create it here And this hack will delete woocommer’s Coupons 10 days after they expire what I Mean by that sometimes maybe you will Create a coupon You will set the expiration date for Those for example October 20 And after the expiration date they will Still be here Because as you see this one here has Expired 18 months ago I need those to be deleted automatically 10 days after the expiration date so I’m Gonna paste the snippet here And here goes today’s amount if you Would like it to be one days then set it To -1 or minus 100 days whatever it is I’m gonna set it to minus 10 days I can demonstrate it for you but Nevertheless I’m gonna choose only run On in the administration area save Changes and activate and it will take Care of the expired coupons Now before you go I have a favor to ask That is Wait If you find this tutorial helpful then Press thumbs up there’s one here and Take a look at this side of the screen It contains two good videos I think you May find the mutual meanwhile take care
My Internet Business Success Formula For Beginners – Your Proven Path to Success in 2021
By success, I mean making your first $1m million online within one year even as a beginner. By beginner, I mean someone who is new to online business; has less than 10,000 followers; and has not made his or her first $10,000. If you’re a beginner and wish to make it big online, in short, you want to be counted a success, read on.
Find Content to Share With Your Tribe
Comment on places to get ideas to share with people on your list (your tribe, team, etc.). Shared are brainstorming areas to look for ideas… places where people are looking and asking questions.
How Coaches, Content Creators, And Info Marketers Can Spin “Digital Driftwood” Into Cold, Wet Cash
If you are a content creator, coach, or info marketer who wants to squeeze out more sales and money from content you’ve already created, then this article will show you how. Following is a true story to illustrate what to do.
Advice To Businesses Using WordPress Who Are Worried About Security
I have this client whose entire business is completely wrapped up in his WordPress website. But the bigger he gets, and the more his income is tied up into the software… the more vulnerable he feels, the more at risk his business is from being obliterated by a jealous hater or hacker, and the more he worries about it.
Nuclear Engineer Reveals How Content Creators Can Get Insanely High Levels Of Engagement
If you’re a content creator who wants to get exponentially more engagement, response, and “brand power” from your content, then this article will show you how. Here is the story: A few years ago, I had created a niche-based digital course designed for a small part of my audience, that didn’t even come close to my other courses’ sales. So after I sold it, I told my small band of customers where they could consume the content on my website, and then went about my business as usual.
Getting Started With Cryptocurrencies
Investing in the cryptocurrency market space is often complex especially for the traditional investors. This is because investing directly in Cryptocurrency requires the use of new technologies, tools and adopting some new concepts. If you decide to dip your toes in the CryptoCurrency world, you will need to have a clear picture of what to do and what to expect. Be it Bitcoin, Litecoin, Ethereum or any of the 1300 tokens, buying and selling cryptocurrencies require you to choose an Exchange that deals in the products you want.
What Do Teachers and Students Think of Online Learning After 2020?
2020 was quite a year. Even before the pandemic, online course enrollment was growing leaps and bounds. It is estimated that 90% of students were enrolled in some type of online course this year. With all the changes, it is interesting to explore what teachers and students thought about online education after the switch. This quick article summarizes the varied responses of the two groups.
How to Build an E-Commerce Website From Scratch in 8 Easy Steps
The unfortunate onset of the Covid-19 pandemic had resulted in lockdowns and travel restrictions that are being enforced worldwide to curb the spread of the disease. Owing to this, many people all over the world have become less mobile and doing their physical shopping to meet their needs has become an issue. Hence, shopping online has become popular worldwide over the prevailing pandemic period and is expected to increase even after the pandemic is over.
How to Make a Fortune Out of Your Passion?
Nothing is more inspiring than the person building his or her own fortune. You don’t get lucky just by sitting at home; everyone needs to step outside their comfort zone in order to achieve extraordinary things. In this age of technology, thousands of options are available at your doorstep, but you need to make a wise decision regarding your career choice. Don’t follow the herd, follow your passion and it will pay you back.
The wooCommerce plugin is a powerful eCommerce solution which enables you to create a fully customizable storefront and automate the ordering process. It accounts for 42% of all eCommerce websites. The plugin supports various design standards, offers multiple in-built themes and helps you manage all content of your store from a single dashboard. It also allows you to import external products and list them on your site. If a customer purchases a product from your website, you will earn an affiliate commission.
You can also use search engine optimization (SEO) techniques to make your website search engine-friendly. This technique allows you to get top rankings in organic search results, thereby attracting more customers. SEO is an important component of web optimization, and it’s important to make sure your website is optimized for maximum exposure.
Search Engine Optimization (SEO) is the process of optimizing your website for better visibility in search engines, including Google and Yahoo. It’s one of the primary ways of attracting new clients to your site. However, it’s a dlugofalow process that will take you some time. Therefore, it’s important to hire a professional SEO agency if you want to make your website stand out.
To offer the best user experience, you must have a fast-loading website. Another key factor to a good eCommerce experience is that your store must be easy to navigate. If a customer is unable to find what they want quickly, they’ll leave the site without purchasing anything. To achieve this, WooCommerce must provide advanced product search features and efficient filtering options.
An Instagram extension for WooCommerce is another effective option for marketing your products. This extension allows you to connect your Instagram account with your store and syncs your products to your Instagram page. Once your products are synchronized with Instagram, your Instagram followers will be able to click a link to view your Instagram posts about the product. The Instagram posts must include the same hashtags as your product pages on your website.
Foodica is a theme ideal for food-based blogs and recipe websites. It has a recipe index, custom image sliders, and WooCommerce integration. Its minimal and distraction-free design makes it an ideal option for food-related websites. The theme also includes a beautiful featured slider and many other features.
Conversion tracking is another useful feature of the plugin. You can track up to four Facebook events and three Twitter events with WooCommerce Conversion Tracking. The free version, however, only allows you to track one Twitter event. This can make tracking your website incredibly easy. In addition, you can also use Google Ads to track the conversion and revenue generated by the ads on your website.