I’m trying to change the increment id number in the request, but I’m not succeeding, I have an API that generates a single code, and I already have an observer that retrieves this value for me. now I need to change or make the increment id receive this value from […]
Magento1
I have created a custom media_image attribute for the customer entity, Now I want to add upload control at the registration page (I have tried with file upload control). when I upload the image, it shows me message: Class MagentoCustomerModelMetadataFormMedia_Image does not exist. please suggest to me, if any alternative […]
Where can i find tax amount calculation function? I find this <td class="admin__total-amount"> <?= /* @noEscape */ $block->formatPrice($block->getTotal()->getValue()) ?> </td> I searched for getTotal function, but i didn’t find it in the block class
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 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. […]