Import Product Reviews in Magento via SQL

Import Product Reviews/Ratings in Magento

Customers are more likely to make purchasing decisions when they see a product that has good reviews.Also, some search engines give sites with product reviews a higher ranking than those without. Since Magento doesn’t support default functionality for importing product reviews, we came up with a quick approach using SQL. Database Schema for Product Reviews …

Read moreImport Product Reviews in Magento via SQL

Bash Script: Create MySQL Database & User with Optional Password

I have been using DigitalOcean for my personal projects. And one repeated things that I had to do is the creation of MySQL database & user. I know I could have used some CPanel like GUIs and even some of them came to my mind like VestaCP, Ajenti, ServerPilot, etc. But all come with sort …

Read moreBash Script: Create MySQL Database & User with Optional Password

MySQL Issue: Table storage engine for ‘catalog_product_relation’ doesn’t have this option

When you export the Magento database dump from MySQL 5.5.x and try to import in MySQL 5.7.x, You are likely to face an error: ERROR 1031 (HY000) at line 3002: Table storage engine for ‘catalog_product_relation’ doesn’t have this option PROBLEM This is probably due to the table option that you have in your CREATE TABLE …

Read moreMySQL Issue: Table storage engine for ‘catalog_product_relation’ doesn’t have this option

How to find the size/rows of Magento database & tables?

Introduction Magento is a giant e-commerce application having more than 300 tables. It uses an EAV model concept and provides different complex features which make the database huge. Sometimes you may wonder what’s the database size of your Magento database or individual tables so that you can work on some optimization task or freeing some …

Read moreHow to find the size/rows of Magento database & tables?

Getting super attributes info using raw SQL in Magento

Introduction While creating a configurable product, you need to create an attribute(s) which will be used as a select option(s) for the customer(For Example Color, Size, etc.). These kinda attributes are called super attributes or configurable attributes. In this article, we will be discussing how to get different info about super attributes using raw SQL. …

Read moreGetting super attributes info using raw SQL in Magento