I need to prevent the cart from merging in a way that only old items remains in the cart, so: guest user adds an item to the cart guest user logs in customer cart had already an item inside on merging, guest items are discarded and only old items remain […]
Magento
Magento 2.4.2-p1 Smartwave Porto theme Amasty extensions I have a product on the front page and when I click on it, I get the Magento 404 page (my store’s header and footer and in the body 404 on our background). Why does this happen and how to fix? I have […]
I am using Magento 2.4.3 enterprise edition. I have purchased a giftcard and used it in a few orders. Now I need to retrieve the gift card purchased order_id or increment_id using the giftcard code or giftcardaccount_id. The second one is to get purchased customer details using giftcardaccount_id or giftcard […]
I need to check the number of items in a collection without loading the full collection (as it has over 1.5 million items and causes memory issues). Is there an efficient way to go about this?
In admin Catalog->Category->content I would like this Form detail:Page Builder to have Layout->Row and Element->HTML Code=”Default Value” at setup. <?php namespace JustinsMyappSetupPatchData; use MagentoEavModelEntityAttributeScopedAttributeInterface; use MagentoEavSetupEavSetup; use MagentoEavSetupEavSetupFactory; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoFrameworkSetupPatchDataPatchInterface; use PsrLogLoggerInterface; use MagentoCatalogModelCategory; class AddFeatureDescription implements DataPatchInterface { const ATTRIBUTE_CODE = 'show_form_detail'; private $moduleDataSetup; private $eavSetupFactory; private […]
I have never created a bundle item before, and upon trying to create a new bundle today, I receive error: The “componentType” configuration parameter is required for the “tier_price” component. Any ideas what I can do to fix this? main.CRITICAL: The “componentType” configuration parameter is required for the “tier_price” component. […]
I’m using magento 2.3.5 and I am not able to create a new customer account on the frontend. I’ve been stuck on this issues for days and I’m not sure what is causing this. I’m not receiving any errors. The /customer/account/create page I use has forms from two different register.phtml. […]
Using Magento 2.3.5-p1 We are trying to download Braintree Payments – https://marketplace.magento.com/paypal-module-braintree.html Using these commands – composer require paypal/module-braintree Getting this error – Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - Conclusion: remove magento/project-community-edition 2.3.5-p1 - Conclusion: remove magento/product-community-edition […]
We have multiple stores in Magento 2.3.7. Some stores have products in some subcategories, but those products only appear in their subcategories. Not in parent category. Although the parent category has “Anchor” Yes. We have reindexed and cleared cache multiple times.