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 =…
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
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…
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
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…
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…
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!
Please see the console highlighted tag below :
https://lh3.googleusercontent.com/-bbh1XSOt524/Wfcce1p3G3I/AAAAAAAAAv0/rRGBZ28R8403rTGKUc6U-wQCfeQzHZe7wCL0BGAYYCw/h800/2017-10-30.png
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:
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…
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.
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
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 =…