How to include the name of a module in Magento 2
To include the module name in Magento 2, you should use the following code: Continue Reading
To include the module name in Magento 2, you should use the following code: Continue Reading
To get access to working directories in Magento 2, you can declare the class in __constract: Continue Reading
Since Magento 2 relies on the concept of resources to interact with database, you can easily get the global resource and use it for playing with SQL queries or execute directly. Continue Reading
To execute the Magento 2 cron job, use the following code:
If you want to automate the process, add it to /etc/crontab. For instance:
Mage::Registry in Magento 2 is very similar to the registry of Magento 1. You can find it here: \Magento\Framework\Registry
Utilize dependency injection for adding it to the constructor. As a result, you will be able to use both $registry->register($key, $value) and $registry->registry($key) methods to store / access data.
In this Magento 2 vs Bigcommerce review we take a look at both platforms to show which of these ecommerce solutions is best suited for the needs of online retail. Please note that this blog post will be updated when we will get more information about Magento 2.
Magento and osCommerce are widely used by all possible merchants to run online retail. Both platforms come with numerous features allowing store owners maintain their ecommerce websites with minimum effort. But what about Magento 2? The new version of the platform offers much more features than its predecessor, so it should have more competitive advantages in comparison with osCommerce. Learn details in the following blog post.
SlideShare is the biggest source of worthy presentations. There, you can find tons of useful materials covering various topics, including Magento 2. The new version of the ecommerce platform is quickly rising in popularity, so there are enough presentations for creating this blog post. Continue Reading
Recently, we’ve compared Magento 2 with Shopify, and now it’s time to see how the platform differs from WooCommerce. Unlike Shopify, WooCommerce is an open source ecommerce solution, so it should have more common with Magento 2 features. When it comes to choosing a right online retail platform there are lots of nuances to think about, therefore we’ve tried to cover major differences between Magento 2 and WooCommerce.
This blog posts contains vital information on Magento 2 debugging. Below, you will find Magento 2 tutorials related to Xdebug Magento 2 configuration, Magento 2 logging, enabling template path hints as well as a short list of free Magento 2 debugging tools. Continue Reading