Magento 2.4.2 Is it possible to only have a qty of 1 in the cart for the same product? Like if I add a qty of 10 to the cart, it only adds 1 because its the same product. Possible?
Magento2
At the moment I have products that have the visibility of “catalog & search” and of “search”. When a user performs a search on the site I only want products that have a visibility of “catalog & search” unless the search term starts with a “63”. If the search term […]
I need to add to cart products with custom attribute price Ex i am having a custom price as booking amount as 1000 for a product and original amount as 10000 when customer chooses booking amount option 1000 should be added to cart and if user chooses full payment 10000 […]
How to trigger add to cart function After loading product by Ajax call. this above product loaded by ajax call I have to found solution if I click add to cart button, then add to cart function triggered. Kindly help me to find solution
I have the following status when I check elastic search health I believe its causing me error while doing bin/magento setup:upgrade ( getting error Could not validate a connection to elastic search. No alive nodes found in your cluster. Is there any way to have active shards in your cluster
The problem appeared on the site dump, on the front page Exception: Warning: SessionHandler::read(): open(/var/cpanel/php/sessions/ea-php73/sess_otpvdk0an5tso42ofv0df1f359, O_RDWR) failed: No such file or directory (2) in /var/www/vhosts/7.4/crazy/vendor/magento/framework/Session/SaveHandler/Native.php on line 22 in /var/www/vhosts/7.4/crazy/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 [internal function]: MagentoFrameworkAppErrorHandler->handler() #1 /var/www/vhosts/7.4/crazy/vendor/magento/framework/Session/SaveHandler/Native.php(22): SessionHandler->read()
I have overridden this below file vendor/magento/module-configurable-product/view/frontend/templates/product/view/type/options/configurable.phtml I’m trying to add an appropriate simple product id to its options. <div class="control"> <select name="super_attribute[<?= $block->escapeHtmlAttr($_attribute->getAttributeId()) ?>]" data-selector="super_attribute[<?= $block->escapeHtmlAttr($_attribute->getAttributeId()) ?>]" data-validate="{required:true}" id="attribute<?= $block->escapeHtmlAttr($_attribute->getAttributeId()) ?>" class="super-attribute-select"> <option value=""><?= $block->escapeHtml(__('Choose an Option...')) ?></option> </select> </div> For example: <select name="super_attribute[93]" data-validate="{required:true}" id="attribute93" class="super-attribute-select" onchange="changeAttr(this)" aria-required="true"> […]
I’m trying to upgrade magento 2.4.2 to 2.4.3-p1 with composer 2, but I’m stuck with is error: Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires allure-framework/allure-phpunit ~1.2.0 -> satisfiable by allure-framework/allure-phpunit[1.2.0, ..., 1.2.4]. - magento/product-community-edition 2.4.3-p1 requires magento/framework […]