…with the next tab in Coupons Data in the list, i.e. Usage Restriction. Usage RestrictionThe tab/section of options which you find below the General settings is Usage Restriction. These settings add some additional features which will affect how the coupons can be used by customers. Let's look at the options which you…
…with plugins and themes, and tweaking the wp-config-sample.php file. Granted, bundling themes and plugins isn't such an amazing idea, but you have to admit that editing wp-config-sample.php to install WordPress with custom wp-config.php tweaks is kind of cool. Plus, both tips work in conjunction with the magical trick we're going…
…with WP_Query. So, without further ado, let's begin! WP_Query-Related Filters In the "Filters Reference" of the Codex, there are 16 WordPress filters listed under the title "WP_Query Filters". In this section, we're going to talk about them. It will be a fairly quick section because most of the filters are…
…without having to have a virtual machine installed.In this tutorial, developer advocate Rey Bango shows you how to set up RemoteIE, and demonstrates what it looks like in Chrome on his MacBook.Understanding Fluent APIs in JavaScriptHave you ever wished that more APIs were fluent? In other words, do you think the community should be able…
…with the topic formally, allow me a brief recap of where we are. Go to your website's WordPress admin dashboard and then WooCommerce > Coupons > Add Coupon > Coupon Data > Usage Restriction. Now let's start with the configurations ahead.Products Products is the option from where I will start today's topic.…
…With OOP, we use "classes" as blueprints—I took the term from one of the classic posts of Code Tuts+, "Object-Oriented PHP for Beginners" by Jason Lengstorf: A class, for example, is like a blueprint for a house. It defines the shape of the house on paper, with relationships between the…
…with the following settings:Coupon code: freeDiscount type: Cart DiscountCoupon amount: 50Minimum spend: 50Product categories: Hoodies, Posters, SinglesThe above data shows that the store owner has entered the categories of Hoodies, Posters and Singles in this field.Case 1: Cart Items Belong to Product CategoriesIn case 1, a customer visits the store and places various items in…
…with Bootstrap' and you'll get hundreds of results. These include guides telling you how to use Bootstrap to build your theme as well as commercially and freely available themes using the Bootstrap framework.Search for 'Bootstrap' in the WordPress theme repository and you get 199 results. That's a lot of choice.It…
…with the best possible tools necessary.If you were to ask, say, 10 different people which tools they prefer, you'd not only get a wide array of answers—things from IDEs to dependency management applications to build tools—but you'd also give a variety of different answers, all of which provide similar functionality…
…with the third and last section i.e. Usage Limits.The name of this section explains its meaning and purpose quite well. Online store owners can define and edit various usage limits of the coupon from here. Inside usage limits section there are two fields to be configured i.e. Usage limit per…