Magento2
I need to understanding if this is a bug or expected behaviour I’m using Postman for my testings. To get customer data first need to generate token: mutation generateCustomerToken($email: String!, $password: String!) { generateCustomerToken(email: $email, password: $password) { token } } To request basic customer information I use the following […]
Disable Proceed to checkout button in cart and minicart page based on quote item custom flag field same like if out of stock products in cart magento will restrict minicart and cart page proceed to checkout button
i’m working with Magento 2.4.7 and using the Minimog theme from Bluesky. Currently, the categories filter is part of the layered navigation on the left side of the catalog pages. I want to move this filter to the top of the main catalog page to make it more accessible and […]
Looking for a reliable Magento 2 Development Agency? We provide expert Magento 2 solutions tailored to your business needs, ensuring… Continue reading on Medium »
I added stock availability dropdown to “catalog product list” and added following code in MagentoCatalogWidgetBlockProduct/ProductsList.php I tried following code: public function createCollection() { $collection = $this->getBaseCollection(); $collection->setVisibility($this->catalogProductVisibility->getVisibleInCatalogIds()); $collection->getSelect() ->join(['stock_item'=>'cataloginventory_stock_item'], 'e.entity_id=stock_item.product_id and stock_item.qty>0', [] ); return $collection; } Also, tried: public function createCollection() { $collection = $this->getBaseCollection(); $collection->setVisibility($this->catalogProductVisibility->getVisibleInCatalogIds()); $this->_stockHelper->addInStockFilterToCollection($collection); return $collection; […]
Recently we have found out that some of our search results are not being cached because Setting called Stores->Configuration->Catalog->Catalog-> Catalog Search -> Number of top search results to cache was set to 100 (default value) This seems strange as not caching search results – makes website super slow at some […]
I search for few hours in the historic of Magento2 but I don’t find answers. Why, natively in M2, coupon code is not allowed on a quote NegotiableQuote request ?