Questions tagged [magento-2.0]

Denotes questions related to Magento CE/EE version 2.0

Release notes regarding Magento 2.0.x versions can be found here for both EE/CE editions: http://devdocs.magento.com/guides/v2.0/release-notes/bk-release-notes.html

556 questions
16
votes
5 answers

How to add a customer programmatically in Magento 2?

I need to create a customer programmatically in Magento 2, I haven't found much documentation around... basically what I need to do is translate the following code into "Magento 2": $websiteId = Mage::app()->getWebsite()->getId(); $store =…
Eduardo
  • 691
  • 2
  • 6
  • 12
10
votes
2 answers

In magento 2.0 how can i add new top links and remove existing one using xml

app/design/frontend/Amydus/test/Magento_Theme/layout/default.xml
Priyanka Saini
  • 103
  • 1
  • 1
  • 6
5
votes
2 answers

Can i still use magento 1.9 module/theme at magento 2.0

Simple question as title, Can i still use magento 1.9 module/theme at magento 2.0? Is magento 2.0 a completely new system and not compatible with 1.9?
hkguile
  • 2,221
  • 5
  • 45
  • 85
4
votes
4 answers

Magento 2 Images not showing in Frontend

I installed Magento 2 on a new fresh installed VPS, running Debian 8. Magento is installed and I can seem to be working OK, but I cannot see any images on the front end and when I look in the catalog. I'm running Apache 2.4, PHP 5.6 and MySQL 5.6
Joe
  • 41
  • 1
  • 1
  • 2
4
votes
2 answers

After installing Magento 2.0.2 is very slow in loading home/admin page

I installed magento 2.0.2 on WAMP 2.5 successfully but I see home/admin page takes at least 3-4 mins to get loaded and the case is same in page navigation. Kindly help me in getting my pages loaded faster . Below are my env details OS:Windows 7 64…
Kotresh
  • 41
  • 2
3
votes
2 answers

Magento 2.0: How to override the .phtml in vendor>magento>module-theme>view>frontent>templates>html

I already made a structure app>design>frontend> > . What structure do I need to make do override the .phtml in vendor>magento>module-theme>view>frontent>templates>html
butcher
  • 101
  • 1
  • 1
  • 8
3
votes
1 answer

module-customer phtml override

I'm new to magento 2 and i have a question, how can i override the module module-customer with my own .phtml files? I tried several searches but i cant find anything, i have tried the following but they didnt work even after i flushed the cached en…
David
  • 31
  • 2
3
votes
1 answer

magento 2 store manager always returns default store id

I'm implementing module which have to store different data for all stores, so i need get current store id and set id to db with new records. I'm trying get store id this way $storeId = $this->_storeManager->getStore()->getId(); But when i change…
Rudolf
  • 241
  • 1
  • 4
  • 8
2
votes
0 answers

Reuse url in magento 2.0

changing a url does not let you use it again in the categories, any idea where the old urls used in categories are stored in magento 2.0 database? i'd like to be able to re-use them. thanks!
inibC
  • 21
  • 1
2
votes
2 answers

My magento 2 website's menu is not displaying, it is loading in esi.include tag

Please see the console highlighted tag below : https://lh3.googleusercontent.com/-bbh1XSOt524/Wfcce1p3G3I/AAAAAAAAAv0/rRGBZ28R8403rTGKUc6U-wQCfeQzHZe7wCL0BGAYYCw/h800/2017-10-30.png
2
votes
1 answer

How we can add unique containt for column in magento 2?

I am having custom table called channel with channel_id,channel_code,channel_name and so on. I want to make channel_code and channel_name unique by using installscript or upgradescript here is my code:
Pramod Kharade
  • 2,832
  • 1
  • 23
  • 39
2
votes
1 answer

Magento 2.0 cron job is working or not

Now I am upset on the Cron job of Magento 2.0. I have just installed Magento 2.0.4 and set the cron job using xampp. I know if the cron job is working, I can see the schedule at 'cron_scehedule'. But I cannot any internal cron job. At the same time…
wuang li
  • 71
  • 3
1
vote
1 answer

magento admin not clickable except dashboard

I have installed Magento-CE-2.0.0+Samples-2015-11-17-06-11-18 but after installing in admin side all the sections except dashboard is disabled, it not clickable. can anyone guide me regarding this.
Giri
  • 13
  • 3
1
vote
1 answer

I Create a custom module in Magento 2.0 (Add/Edit Customer Attribute) but i am faceing a problem in prepare grid in magento 2.0 backend

I am using a sample module And there have a grid own table thats working but i need to change to \Magento\Eav\Model\Attribute collection and i have no idea where and how many place i change? weblog_blog_index.xml
Prince Yadav
  • 673
  • 3
  • 8
  • 25
1
vote
1 answer

Magento 2 - Get Catalog rule name and end date on product page

I am trying to display a countdown timer using http://keith-wood.name/countdown.html on my product page to show the remaining time of the catalog rule that applies to that product I have started with $_product =…
1
2 3