Skip to content

magento man

Magento 2.4.4, Product count in layered navigation is incorrect after setting “Display Out of Stock Products” to “Yes”

Magento 2.4.4, Product count in layered navigation is incorrect after setting “Display Out of Stock Products” to “Yes”. (STORES->Configuration->CATALOG->Inventory->Display Out of Stock Products) Any idea why this happening? Should show the correct product count in layered navigation after setting “Display… Read More »Magento 2.4.4, Product count in layered navigation is incorrect after setting “Display Out of Stock Products” to “Yes”

Magento not showing products in category list page due to elastic search issue

I am getting that exception when view category in front end , I did re index also. [2023-11-09T05:26:45.393702+00:00] report.CRITICAL: ElasticsearchCommonExceptionsServerErrorResponseException: {“error”:{“root_cause”: [{“type”:”no_shard_available_action_exception”,”reason”:null,”index_uuid”:”WJLPjai1SamDpLoyR_gerA”,”shard”:”0″,”index”:”intro-uat_product_1_v3″}],”type”:”search_phase_execution_exception”,”reason”:”all shards failed”,”phase”:”query”,”grouped”:true,”failed_shards”:[{“shard”:0,”index”:”intro-uat_product_1_v3″,”node”:null,”reason”:{“type”:”no_shard_available_action_exception”,”reason”:null,”index_uuid”:”WJLPjai1SamDpLoyR_gerA”,”shard”:”0″,”index”:”intro-uat_product_1_v3″}}]},”status”:503} in /var/www/html/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Connections/Connection.php:726

How can I show the review form?

Now I want to turn off the review form as shown in the image. When I click on the word Be the first to review this product, the review form appears, what should I do?

Notice: Undefined variable: secureRenderer in /home/user/domains/domain.com/public_html/app/

hello i get this error with my module on my store magento Notice: Undefined variable: secureRenderer in /home/user/domains/domain.com/public_html/app/code/Webkul/VideoPlayer/view/adminhtml/templates/helper/gallery.phtml on line 38 and the code <?= $secureRenderer->renderEventListenerAsTag( ‘onclick’, “jQuery(‘new-video’).modal(‘openModal’); jQuery(‘#new_video_form’)[0].reset();”, ‘button#add_video_button’ ) ?>

Feed with min_sale_qty attribute

we have a product attribute called min_sale_qty. It’s inside the advanced_inventory. We created a custom variable called min_sale_qty. No comment. Php Script: <?php class Gmsq { public function getMinSaleQtyAllowed($productSku): float { $objectManager = MagentoFrameworkAppObjectManager::getInstance(); $stockResolver = $objectManager->get(‘MagentoInventorySalesApiApiStockResolverInterface’); $storeManager = $objectManager->get(‘MagentoStoreModelStoreManagerInterface’);… Read More »Feed with min_sale_qty attribute