am using these commands but keep getting this at the end that it got killed php -d memory_limit=2G bin/magento setup:static-content:deploy php -d memory_limit=2G bin/magento setup:di:compile is 4G memory not enough? how can i know how much memory is really needed? it shows compilation is started but then i get something […]
Magento2
I have a question about the tabs widget, I want the titles to be stationary and not collapse to the bottom when clicking through them. They are implemented here in this block for products. <div class="product-data-items" data-mage-init='{"mage/tabs": {"openedState": "active", "active": 1, "disabled": [4], "disabledState": "disabled"}}'> <div class="item-title-main" data-role="collapsible"> <a class="switch" […]
There is error Call to a member function getValue() on null magento 2.4.6 after upgrading from Magneto 2.3.3 to 2.4.6. It was working fine with earlier Magento 2 version. Here is code: public function isModuleEnable() { $storeScope = MagentoStoreModelScopeInterface::SCOPE_STORE; return $this->scopeConfig->getValue('ordergrid/general/enable', $storeScope); } The system.xml file is fine as it […]
I’ve been trying to have the swatches that are enabled through customizable options have BOTH text and images but have had no luck. The first 2 images are what i want to achieve and the third image is what i currently get. Its either text or images but never both.
On Magento 2.4.0 Klarna is not showing on checkout page. Error log is Bad value: order_lines[0].total_tax_amount. When I update VAT 25 to 0 it works fine and shows on frontend. Here is request JSON body { "purchase_country": "SE", "purchase_currency": "SEK", "locale": "sv-SE", "order_amount": 93000, "order_tax_amount": 18600, "order_lines": [ { "type": […]
I created a module in Magento 2 to connect to a third-party API (which I created). The problem is that it’s not connecting and giving me a 404 error in the view path. local-project.test/getprovider/index/offer I have created a repository on GitHub with this module to see if you can take […]
I have created the block grid in admin product edit page section, I have added a text field in that grid column using below addcolumn method. $this->addColumn( 'position', [ 'header' => __('Position'), 'type' => 'number', 'index' => 'position', 'editable' => true, 'filter' => false, 'sortable' => false, ] ); Now […]
Im having some issue when comming back (using back button) from a payment gateway, we do a quote restore: $this->checkoutSession->restoreQuote(); But this works good having the same cart, but we would like to actually not restore the quote insteade creating a new one coping this one. As if we restore […]
Since a few weeks i’m getting more and more spam on the admin dashboard from adobe, auto-installed and everything. It started with polls on the right side taking all the space and impossible to delete. Now it’s entire help center buttons on the left. I don’t know how this is […]