Skip to content

magento man

delete category

How can I delete a product from category using API? I tried with: rest/V1/categories/&{category_id}/products/&{sku} and usually works fine. But sometimes I get err msg: “The category doesn’t contain the specified product.” I tried POST with the new category links list,… Read More »delete category

Magewire security vulnerability: Magewire encountered corrupt data

Whilst working with a Magewire component, randomly getting: {“message”:”Magewire security vulnerability: Magewire encountered corrupt datan when trying to hydrate the X\Y\Z component. Ensure that the [name, id, resolver and data] of the Magewire component wasn’tn tampered with between requests.”,”code”:500}

Composer install fails with curl errors from repo.packagist.org – BunnyCDN connection issues (Romania/Docker)

Updated issue description: Problem: Persistent Composer install failures when using official Packagist repository Affects both HTTP/1.1 and HTTP/2. Environment: Environment: Docker containers PHP: 8.1 Composer: 2.8.4 Magento: 2.4.7-p7 Errors encountered: curl error 92: HTTP/2 stream 0 was not closed cleanly:… Read More »Composer install fails with curl errors from repo.packagist.org – BunnyCDN connection issues (Romania/Docker)

error is occuring in smartwave porto theme

how can i fix this Compilation from source: /var/www/html/magento248p1/vendor/magento/theme-frontend-blank/web/css/styles-l.less Operation on an invalid type in _responsive.less Error happened during deploy process: Compilation from source: /var/www/html/magento248p1/vendor/magento/theme-frontend-blank/web/css/styles-l.less Operation on an invalid type in _responsive.less

how to fix this issue facing after upgrade 248p2

Compilation from source: /var/www/html/evolutionhomecorp.com/vendor/magento/theme-frontend-blank/web/css/styles-l.less error evaluating function ceil: math functions take numbers as parameters in _responsive.less Error happened during deploy process: Compilation from source: /var/www/html/evolutionhomecorp.com/vendor/magento/theme-frontend-blank/web/css/styles-l.less error evaluating function ceil: math functions take numbers as parameters in _responsive.less

Can we safely return false for MagentoBundleModelProductType::isVirtual?

We are only using simple products as child of Bundle product. Could we safely return early with false? for isVirtual method of Bundle class? # Class: MagentoBundleModelProductType public function isVirtual($product) { /*if ($product->hasCustomOptions()) { $customOption = $product->getCustomOption(‘bundle_selection_ids’); $selectionIds = $this->serializer->unserialize($customOption->getValue());… Read More »Can we safely return false for MagentoBundleModelProductType::isVirtual?