Category "magento"

Could not validate a connection to Elasticsearch. Unknown 401 error from Elasticsearch null

{ "name" : "DESKTOP-BNTBBBG", "cluster_name" : "elasticsearch", "cluster_uuid" : "DlRfjfPlRg69wUBRfy3kKQ", "version" : { "number" : "8.1.3", "bu

When trying to edit a configurable product ... lost on this error... how to fix it

Notice: Undefined offset: 0 in /home/magento2/www/vendor/magento/module-configurable-product/Model/Product/Type/VariationMatrix.php on line 43

Magento2.4: How to get Salable quantity in list.phtml file?

How can I get salable quantity on list.phtml or category page file, I want to show labels on products with 0 salable quantity. Are there any other approaches wi

Does magento 2.4.4 works on php 7.4

I am planning to upgrade my magento version from 2.4.3 to 2.4.4 Will the new magento version 2.4.4 works well on php 7.4? Or it requires php 8 only

Magento 2 : Allow customer to edit custom options on Cart

I am trying to add functionality to allow a customer to edit options. I have created a Module Vendor/COptions. This is loading custom options and select, howev

Magento 2 + Elasticsearch + We can't find products matching the selection

I installed a testshop with Magento 2 and made a clone of this testshop. Everytime when I configurate Magento 2 that it should use Elasticsearch I get this erro

Magento Installation SQLSTATE[HY000] [2002] No such file or directory error

I am a newbie at LAMPP enviroment and I installed XAMPP for installing Magento. Everthing was going fine till "Add database" step of Magento installation. I cre

Not able to override collapsible.js in magento 2

I'm working on Magento EE 2.1.1 and I need to extend activate method functionality which located in lib/web/mage/collapsible.js . but I can't find the right way

Magento and Redis: Connection to Redis failed after 2 failures error after upgrading/downgrading Redis

I recently setup Redis for caching with a Magento instance on a staging server (separate web server and DB server, DB server is the one running Redis), and it h

Div breaking table in mail template magento

I need help regarding this because frankly I have been stuck trying to fix it for a while. Magento transporter wraps the table in a <div> and the <div&

Div breaking table in mail template magento

I need help regarding this because frankly I have been stuck trying to fix it for a while. Magento transporter wraps the table in a <div> and the <div&

Magento 2 products disable hover

I have Magento 2 Luma theme installed. I want to remove the hover effect on my products' page and the 'add to cart' button be visible all the time. This works o

Magento 2 Indexing

We have one Magento 2 project where we configured cron every min. Ideally the site has no change but still all cron jobs running too frequently. Questions : How

Nginx disallowing execution of PHP in uploads directory with Magento

I'm having difficulties getting nginx to stop execution of PHP in an uploads directory on a magento install. I've tried many combinations of directives that sh

Magento 1.9 add to cart slow when cached

We have been experiencing an odd issue on some of our sites since moving from Magento 1.7 to 1.9. When a sites cache hasn't been cleared for a while add to cart

Return value of Magento\ComposerRootUpdatePlugin\Updater\RootPackageRetriever::getOriginalEdition() must be of the type string, null returned

We are upgrading magento2.4.3 to 2.4.4 using composer require-commerce magento/product-community-edition:2.4.4 also tried with --no-update unfortunately, we ar

Failed loading /usr/local/IonCube/ioncube_loader_lin_5.3.so

I just cloned a website from one server to another using cPanel import tool (probably this last part is not relevant) The site is a Magento CE store. The new

Server-sent events in PHP (without echo or print)

We have built a prototype application in PHP and JS using Server-Sent Events (single AJAX requests, multiple streamed events sent by event handlers in PHP). Ess

Migrate magento 1.9.3 to prestashop 1.16.1.18

Actually I have 2 magento and I want to migrate both to one prestashop with multistore functionality. I want migrate orders,products, and client. I show tutori

How to get url of a category in magento

am trying to display all the second level categories and my code is <?php $storeId = Mage::app()->getStore()->getId(); //Get category model $_cate