skip to Main Content

Magento 2 Can't Install Sample Data

Magento 2 Sample Data suddenly stopped at this junction @ "Module'Magento_DownloadableSampleData':" during installation. Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3449720 bytes) in C:wamp64wwwmagentovendormagentomodule-downloadable-samp le-dataModelProductConverter.php on line 103 Have tried every solution but doesn't work…

VIEW QUESTION

Magento 2 modal z-index

Is there a way to change the magento2 modal ( & modal overlay ) z-index, using their built in modal widget? I've read all their docs and I couldn't find a nice way of doing it. But I do really…

VIEW QUESTION

How to Get Child Product Ids from a Configurable product – Magento

I am trying to fetch all child product Ids from configurable product Ids. $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $product = $objectManager->create('MagentoCatalogModelProduct'); $storeManager = $this->_objectManager->get('MagentoStoreModelStoreManagerInterface'); $currentStore = $storeManager->getStore(); $mediaUrl = $currentStore->getBaseUrl(MagentoFrameworkUrlInterface::URL_TYPE_MEDIA); $productURL = $mediaUrl.'catalog/product'; $collection = $this->_productCollectionFactory->create(); $productCollection = $collection->addAttributeToSelect('*')->addAttributeToFilter('type_id','configurable'); $vendor_product = array();…

VIEW QUESTION

Magento2: Updating a line of code in core file

Here is what I need: In file vendor/magento/module-sales-rule/Model/Rule/Action/Discount/CartFixed.php there is a public function calculate I want to comment an If condition inside this function without modifying this core file. if ($availableDiscountAmount > 0) { I have created a preference inside…

VIEW QUESTION

Access Magento Admin on Subdomain

I have a running store on Magento 2 which has multiple websites that I can access in the front end without any problems, for example: https://siteone.mymagestore.com https://sitetwo.mymagestore.com https://sitethree.mymagestore.com . . . But when I try to access the admin panel…

VIEW QUESTION
Back To Top
Search