how to programmatically reindex product after update ex. price/stock quantity using Magento ver. 2.3.2 API via Swagger? I do application in C# which sync my system with Magento. I have a lot of article, so I think migrate ex. Pirce using catalogBasePriceStorage. But after that, i must manually reindex from […]
Magento1
We have magento running on AWS Fargate behind a load balancer. It works great when it is not scaled(i.e only one task is running), however when it scales to 2 or more tasks I am not able to login as a customer or administrator and we aren’t getting any login […]
I am getting an issue on a single page (caught ReferenceError: require is not defined) on the below code. Please help me to resolve this issue. I am not sure where I am getting this issue I inspected some code then I found this one. due to this CSS not […]
I have created a preference to add my custom filter to the collection. di.xml This is my ListProductPot.php file < ?php namespace VendorModuleBlockRewriteProduct; use MagentoCatalogApiCategoryRepositoryInterface; use MagentoCatalogBlockProductContext; use MagentoCatalogModelLayerResolver; use MagentoFrameworkDataHelperPostHelper; use MagentoFrameworkUrlHelperData; class ListProductPot extends MagentoCatalogBlockProductListProduct { public $featuredProduct; public function __construct( Context $context, PostHelper $postDataHelper, MagentoFrameworkStdlibDateTimeDateTime $dateTime, VendorPotHelperData […]
I noticed that the 0.5 minimum quantity doesn’t work if the stock management is not activated. Do you guys know how to make it work having the stock disabled? Right now it looks like I can still put 0.5, but the problem is that when I try it, it tells […]
Magento uses MagentoBackendModelUrl as a preference for MagentoFrameworkUrlInterface now MagentoBackendModelUrl has a dependency on MagentoFrameworkDataFormFormKey which has a dependency on MagentoFrameworkSessionSessionManagerInterface which in the admin area is implemented by MagentoBackendModelSession which has a dependency on `MagentoFrameworkSessionSidResolverInterface` which is implemented by MagentoFrameworkSessionSidResolver which in turn has a dependency on MagentoFrameworkUrlInterface in […]
I created a custom module that overrides the addtocart.phtml file. In that module, I also created a css file. Here is what I did: Here is my layout – catalog_product_view.xml: < ?xml version="1.0"?> Vendor_Module::product/view/addtocart.phtml Vendor_Module::product/view/addtocart.phtml and then I put the style.css in /Vendor/Module/view/frontend/web/css I thought that in this case the […]
Using M2.2.9 Enterprise Cloud – I am using B2B module to allow company users to purchase in a “private store” experience. I know that I can enable credit cards using Braintree vault as a stored payment method for user at each company but I don’t see any way for us […]
I seem to have set up everything correct in magento admin but emails for orders or confirmation or newsletter subscription do not seem to work I use cpanel with whm, centos Do I have to set up special email settings, something I see over my head? Thanks a lot for […]