I am adding products in English store view on calling payment information API i switched the store and give store_code arabic in param /rest/V1/carts/mine/payment-information?store_code=ar Now when this api successfully runs it gives me order confirmation email in English and stores store id in order table for enlish store. Note : […]
Magento
I am redirecting 404 pages to the homepage, but the URL is not changing it’s the same 404 page URL I want to change it to the homepage. My code : <?php namespace VendorModuleAppRouter; class NoRouteHandler implements MagentoFrameworkAppRouterNoRouteHandlerInterface { public function process(MagentoFrameworkAppRequestInterface $request) { $requestValue = ltrim($request->getPathInfo(), '/'); $request->setParam('q', $requestValue); […]
Currently I want to delete specific products from a website massively as it is a huge list of SKUs so I want to do it through a template and I have the first 2 fields but I need a third one what would be this one? I need to remove […]
I installed magento CE 2.4.6 in our local server and i have another database which is on magento EE 2.4.5-p1 and now i want to migrate all data from EE 2.4.5 p-1 to CE 2.4.6.
I am upgrading my website from version 2.4.3-p3 to 2.4.4 I run the following command to add the version 2.4.4 in my composer.json composer require magento/product-community-edition 2.4.4 --no-update And then running the composer update command gives me the following error composer update Problem 1 - Root composer.json requires magento/product-community-edition 2.4.4 […]
I am trying to create after plugin for MagentoFrameworkDataObject.php getData function but it seems not working also not getting sku value in it. Please suggest
is there any way to move the “product-add-form” to a new customer class? i have added in the catalog_product_view.xml <move element="product.add.form" destination="product.info.rechts" before="-"/> but not working… PriceBox and Social Links are working… <move element="product.info.price" destination="product.info.rechts" before="-"/> <move element="product.info.social" destination="product.info.rechts" after="-"/> Any idea? Thanks so much Alex
I need to get the stock value of a simple product in the dropdown selector from the configurable product page. I found the _fillSelect method in module-configurable-product/view/frontend/web/js/configurable.js I override it with app/code/Vendor/ConfigurableProduct/view/frontend/web/js/configurable-mixin.js But I don’t understand how to get the stock value and add it like this in the select […]