New answers tagged

1

try to this way $date = Mage::app()->getLocale()->date($product->getSpecialToDate(), Mage::app()->getLocale()->getDateFormat(Mage_Core_Model_Locale::FORMAT_TYPE_SHORT), null, false ); $promoEndDate = strtotime($date); For Date Format : const DATETIME_INTERNAL_FORMAT = 'yyyy-MM-dd HH:mm:ss'; const DATE_INTERNAL_FORMAT ...


0

Before migrating from Magento 1.7 to Magento 2.x, there are 3 things you need to consider: Magento 1 and Magento 2 are dissimilar in many aspects. A few differences can be listed here: file structure, built-in technologies, JavaScript library,...The migration between the two is so complicated so that you cannot just import or export it manually. If you want ...


0

Run Command: 1)setup upgrade 2)dicompile 3)static content it's work for me!


2

Before you start the tool installation, make sure that the version of Magento 2 store and Data Migration Tool match. For example, if you are using Magento version 2.2.0, you must install the Data Migration Tool version 2.2.0. Install Data Migration Tool 1) Check your Magento 2 version :- sudo php bin/magento --version 2) Install Data Migration ...


0

Actually you can use a for loop in emails. I've tested it on 2.3.3 version. This is the code location to inspect. This is how it looks like in the template: <ul> {{for item in data.items}} <li>Name: {{var item.name}}</li> {{/for}} </ul> The transport information: $this->transportBuilder->setTemplateVars( [ 'items' =&...


0

Short and helpful: Mage::getResourceModel('eav/entity_attribute')->getIdByCode('catalog_product', 'color');


0

Someone marked this as duplicate, it is not. Those looking to do it through database can refer to original answer of Shoaib Munir - Magento 2 - Bulk update stock programmatically - Using database query Apart from two updates in cataloginventory_stock_item and cataloginventory_stock_status; also update inventory_source_item. Your cron should reindex ...


0

Does default Magento not support buy x and get y different size discounted?


0

If you have recently enabled HTTPS magento config:set web/secure/use_in_adminhtml 1 I found this command several pages deep into google and it fixed the admin HTTPS redirect error.


Top 50 recent answers are included