by matt | Feb 10, 2017 | Prestashop, SQL, Uncategorized
Database of your Prestashop project could be really huge after some time because of all the junk stats related data. The most of such data is not needed at all and it is only takes space on your server and slows the whole project down significantly. The best example...
by matt | Jun 13, 2016 | Uncategorized, WordPress
If you are looking for a simple way to remove the “review” tab from the single product view throughout your project you need to add the following snippet to the function.php file of your theme: add_filter( ‘woocommerce_product_tabs’,...
by matt | May 31, 2016 | SQL, Uncategorized, WordPress
If you want to get all the WooCommerce products ready to be saved into a CSV / Excel file run the following query: SELECT ID, post_status, post_title, post_content, post_excerpt, guid FROM `wp_posts` WHERE (`post_status` = ‘publish’ OR `post_status`...
by matt | May 9, 2016 | Uncategorized, WordPress
Add the following snippet to your functions.php file in your theme. add_filter ( ‘woocommerce_before_cart’ , ‘allow_single_quantity_in_cart’ ); function allow_single_quantity_in_cart() { global $woocommerce; $cart_contents =...
by matt | May 5, 2016 | Prestashop, SQL, Uncategorized
During the years I have been working on Prestashop professionally I gathered many useful SQL queries which help you to overcome some unusual tasks. Here is a collection of useful SQL queries for Prestashop project ready to be fired. This is my personal collection from...
by matt | Apr 10, 2016 | Uncategorized, WordPress
WordPress with WooCommerce extension by default hides categories which have no products inside. Unfortunately for some reasons there is no option in the backend of WooCommerce to change it. We need to add a simple snippet code to our functions.php file: add_filter(...