Why do I make an app in the first place and I hear you ask? Applications may no longer be very useful for marketing, but they are very convenient for your customers – giving them more options and interacting with your site. With the continuous rise of the mobile Internet – more people are now […]
Having knowledge about how to find Magento category IDs is very useful for people who often need to deal with several services or requirements, including but not limited to:
Class invocation in PHTML block
Display featured products on the home page
Invoke the product in a custom PHTML file
Even on many other requests based on […]
Since I have been using the Elegant PURL plugin site, I decided to sell an advanced version of the plugin. The lite version is still available in WordPress.org for free, but I would like to provide two versions on the site. That means building a little e-commerce, without scaring me, because I know I’m going […]
The following is a quick but useful snippet that automatically adds custom charges to the WooCommerce cart. This code segment uses the default currency for each user role to apply a defined fixed cost to the shopping cart. Simply place this code in the functions.php file in your theme folder:
The error_reporting () function sets the error_reporting directive at runtime. PHP has many levels of error, using this feature to set the script’s duration (runtime) level. If the optional level is not set, error_reporting () will return only the current error reporting level.
The new error_reporting level. It accepts bitmask or named constants. It is strongly […]
WordPress is often mistakenly categorized as just a blogging platform. In the past few years, WordPress has evolved into a robust content management system. By default, WordPress has posts and pages as the main content type. However, you can create as many custom content types as you want, and these custom content types are called […]
We’ve moved a lot of client sites, and sometimes a WordPress memory runs out of errors when a new plugin is activated or doing some other task. The usual errors are as follows:
We received an e-mail from a user facing the same problem, so we decided to do a write because this is a common […]
When you want to know if your store is working as expected, the error log is the place to go, or in some cases, when an error occurs, your customer may not be able to get the experience you want. The error message here can help your web site developer track down errors or fix […]
OpenCart 1.5 also includes its own error log viewer for troubleshooting purposes. The following tutorial will walk you through how to navigate, view, and error logs.
Step 1. Log on to the management dashboard as an administrator
Step 2. Hover your mouse over SYSTEM, then scroll down and click the error log.
Step 3. Review the error log, as shown […]
WordPress is a powerful CMS. Sometimes a small tweak can make your site inaccessible. However, finding a solution for any WordPress problem is very easy (check how to properly ask WordPress support and get it). In the past, we’ve covered some of the most common problems faced by WordPress users. An error has occurred like […]
If the product sorting feature in WooCommerce is a waste of space, or you do not need it at all, you may want to remove it by PHP instead of CSS. It’s just a cleaner solution. Here is the code you need to put in your functions.php template file.
Goal: Delete the “default sort”
Snippet: Deletes the […]
This tutorial will show you how to customize the default sort / order drop-down list in Woocommerce:
You can check the steps listed below:
Log in to the FTP / File Manager and go to the wp-content / themes / themeXXXXX / includes folder to open the custom-function.php file:
Add this code to the bottom of the custom-function.php […]
WooCommerce: How to remove the “default sorting” dropdown If WooCommerce product sorting function is simply a waste of space, or you do not need all the features you may want to PHP, CSS rather than remove it. It’s just a clean solution. Here’s what you need to place code in your functions.php template file.
The goal: […]