I have created setup patch data using the attribute please check the below code and block using add custom tab moduleDataSetup = $moduleDataSetup; $this->customerSetupFactory = $customerSetupFactory; $this->eavConfig = $eavConfig; } public function apply() { $this->moduleDataSetup->getConnection()->startSetup(); $customerSetup = $this->customerSetupFactory->create([‘setup’ => $this->moduleDataSetup]); // Add global_customer_price attribute $customerSetup->addAttribute(Customer::ENTITY, ‘global_customer_price’, [ ‘type’ => ‘varchar’, […]
Magento2
I’m facing a critical issue with order creation in my Magento2.4.6 store. Sometimes, when customers place new orders using credit limit payment method, instead of creating a new order, the products are getting merged into their old completed orders. For example: Customer has an old order containing products A, B, […]
I have two custom options on the product view page: width and length. When adding a product to the cart, I want to update both the weight and the price based on these options. Currently, the price update works correctly. However, the weight update behaves unexpectedly. Here’s the issue: When […]
Problem: We have discovered that when we start getting a large amount of cookies/data, users are getting errors or undesired issues or, in some cases, getting a 400 error. We need to implement some code that forcibly dumps the user’s on-site cookies. This can be after X days/hours, X number […]
In my local dev system I need to symlink modules into the /vendor folder. Unfortunately magento checks if any included file actually resides inside magento’s root folder. Files from outside that scope are not permitted for security reasons. Since I only need this in my local dev setup I wanted […]
there are no commands in indexer namespace magento 2.4.6 on windows installation while running following command bin/magento indexer:reindex
We use PWA Studios as the “headless” frontend for our B2B website. We need to create a new website, this time B2C, with a shared magento 2 backend while keeping the same domain in between both websites. I know Venia/PWA do not offer a website switcher (only store & store […]
We are trying to embed a Magento 2 website’s page on another Magento CMS page using iframe, but the iframe is not working. When I checked the browser console I found an error.
I want to implement Binance Payment gateway to Magento 2 How can I do this, and if there is any extension for this? Thanks in advance.