Friday, 30 June 2017

Difference between Magento 1.x and 2.x

The usage of modern technologies. Magento 2.0 will be using the most recent and popular versions of PHP, particularly 5.4 and 5.5, HTML5, CSS 3.3 and the latest versions of JQuery. Differences between technologies included in Magento 1.x and 2.0 are presented in the table below.



Modified directory structure. In order to make store management quicker, Magento will reduce the number of root directories from 9 to 5. For example, the new directory “pub” will contain all the data available for publicity. This system is more convenient than previous one, where numerous files were divided among “media”, “error”, “skin”, “js”. Also, shop owners will be able to place their Magento application files outside of webserver document root.
Absent, new and changed tables in Magento 2.0. By researching the new platform’s beta version, we’ve discovered that Magento 2 doesn’t contain the following tables:
  • catalogsearch_query;
  • catalogsearch_result
  • catalog_product_enabled_index.
Also, we’ve learned that few of the tables are renamed, and some of them have more columns than before.
Renamed tables (Magento 1.x - Magento 2.0 beta):
  • core_website - store_website
  • core_store - store
  • core_translate - translation
  • core_url_rewrite - url_rewrite
  • core_store_group - store_group
  • core_email_template - email_template
  • sales_flat_order - sales_order
  • sales_flat_order_address - sales_order_address
  • sales_flat_order_grid - sales_order_grid
  • sales_flat_order_item - sales_order_item
  • sales_flat_order_payment - sales_order_payment
  • sales_flat_order_status_history - sales_order_status_history
  • coupon_aggregated_order - salesrule_coupon_aggregated_order

Wednesday, 19 April 2017

MAGENTO 2 EXTENSION INSTALLATION OVER SSH


Download extension and unzip the folder. Then move modules files to your Magento 2 root directory.

1. Connect to your magento webserver using ssh details

Run the following command in the terminal using user/password (please skip this step if you're installing expansion on the local machine) :

ssh user@domain.com

OR

ssh user@ipaddress

2. Change your current directory to Magento 2 web root directory

Command :
cd /full_path_to_magento2

3. Start setup process

Command :
php bin/magento setup:upgrade

4. Run the compiler command

Command :
php bin/magento setup:di:compile

5. Deploy static view files

Command :
php bin/magento setup:static-content:deploy


6) for reindexing
Command :
php bin/magento indexer:reindex


7) file permission change by ssh  *

find . -type f -exec chmod 644 {} \;
find . -type d -exec chmod 755 {} \;

chmod -R 777 pub
chmod -R 777 var

Thats all ..

Good luck.

about new GraphQL freature in Magento2

GraphQL: GraphQL is a data query language developed internally by Facebook in 2012 before being publicly released in 2015. Magento impleme...