…today = date('d-m-Y'); $metaquery = array( array( 'key' => 'expires', 'value' => $today, 'type' => 'DATE', 'compare' => '<' ) ); $query->set( 'meta_query', $metaquery ); } } add_action( 'pre_get_posts', 'tutsplus_filter_expired_posts' );This does six things: First it defines the tutsplus_filter_expired_posts() function with $query as its object. It checks if we're in…
…Today let's take a look at the sub-section of Sales by product.But before I start, let me remind you where to access this section of WooCommerce. Just go to WooCommerce > Reports > Orders > Sales by product. Sales by productThe order report of Sales by product helps you find more…
…today's, please post them below. You can also reach me on Twitter @reifman or email me directly.What Does Incapsula Provide?When you sign up for Incapsula, your website traffic will be seamlessly routed through its globally distributed network of powerful servers. Your inbound traffic is intelligently profiled in real time, blocking the latest web threats (e.g., SQL…
…today, and I hope you've learned something useful in Magento. Share your thoughts using the feed below!
…today. Going back to my events site, let's say I want to display a big banner on my home page on the day when an event is happening. I can write a query for this and then output details of the event if one is found. Here are the arguments:$args…
…today, I will explain the details and functioning of the third part of Order reports which is Sales by category. Sales by categoryAs the name explains its meaning Sales by category will display all the order reports w.r.t categories which are a part of your online store. You can see the reports…
…Today we are going to add an import system in OpenCart. As we know that OpenCart is a free e-commerce solution which also let it developers to customize it accordingly. Let’s talk about Shopping Stores. On daily bases things change very often e.g. change in quantity, change in price, change…
…today's article where I plan to explain the section of Customers reports. So, let's get started.Customers ReportsWhen you enter the section of reports in WooCommerce you get to see four different tabs for different kinds of reports. The first tab is for the Orders reports which I have already discussed…
…Today we’ll learn how we can directly import the bulk data from our computers to our OpenCart System. Let’s consider the hierarchy first. In the previous tutorial we implemented the export tool, which allows the user to download CSV sheets and alternate as needed. After that we implemented the import…
…today's email—your existing email is stored in the cloud databases of your current email provider. If you wish to move all of your existing messages, you'll need to rely on their tools or your mail client software. And, of course, you'll also have to update your MX records to your…