Skip to content

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

Magento 2.4.6. Unable to output multiple data in json format

Unfortunately, I unable to output multiple objects when I send a request to my API endpoint. Here’s my code: appcodeDevRestApiModelApiProductRepository.php <?php namespace DevRestApiModelApi; use DevRestApiApiProductRepositoryInterface; use DevRestApiApiDataProductInterface; use MagentoCatalogModelResourceModelProductCollectionFactory; use MagentoStoreModelStoreManagerInterface; use MagentoFrameworkAppConfigScopeConfigInterface; use MagentoFrameworkAppRequestInterface; use MagentoFrameworkControllerResultJsonFactory; /** * Class… Read More »Magento 2.4.6. Unable to output multiple data in json format