Top "Magento-2.0" questions

Questions related to Magento 2.0 version of PHP eCommerce software and platform.

Magento 2 - How to call a custom phtml file in another phtml file, xml layout, static block and cms page?

I am creating a magento 2 theme. I just want to know how can I add .phtml file in xml layout, …

php magento magento2 magento-2.0
Get customer data from id - magento2

how can we get the customer data from id not from customer session in Magento2. Kindly let me know.

magento2 magento-2.0
How to remove "My Wish List" and "Compare Products" blocks from Magento 2.0 Luma template?

I have spent a lot of hours trying to remove "My Wish List" and "Compare Products" blocks from Luma template. …

magento2 magento-2.0
How to get current category in magento2?

How can i get current category in magento2 ? I want to get category name and category id in custom phtml …

magento2 magento-2.0
Magento2 Media path in .phtml file

I have tried lots of option in magento2 to find the media path URL How can i find the media …

php magento2 magento-2.0
Products is not showing up on Magento2 subcategory

I installed a fresh magento2, and top categories are working, but for sub-category, there is no product showing up in …

magento magento2 magento-2.0
How to get Product Attribute Options by attribute code in Magento 2.0

I am trying to retrieve the list of dropdown attributes and check if the value exists (if it does i …

php magento-2.0
There are no commands defined in the "setup" namespace : Magento 2

I have installed latest version of Megento 2, everything is working fine frontend, backend and functionality. I have one issue with …

magento magento2 magento-2.0
Add/remove image programmatically to product Magento2

I am facing problem to add/remove image to product programmatically.

magento2 magento-2.0 magento-2.0.7
How to remove H1 title from CMS pages and category pages in Magento 2

I want to add the H1 title along with the description in the description filed for CMS pages and category …

magento2 magento-2.0