I’m looking a cod in woocommerce to don’t allow users for leave comments on products that has comment. in other words users have only leave comment on products that has no comment (0 comment) thatks
Magento
I’m installing a new third party extension in a new fresh magento 2.4.3-p1 environment with php 7.4 after uploading the module , and running : php bin/magento setup:upgrade I ended up with the following error: Enabling caches: Current status: layout: 1 block_html: 1 full_page: 1 Area code is not set […]
I facing issue while adding product images from admin image is uploaded successfully with images, but cache image not generated in pubmediacatalogproductcache1637702b25461d0958b06fd538fa2dbe/s/t/steam-cards-_800x800_-150_1.png from the frontend. I tried following step to generate cache from command line bin/magento catalog:imges:resize -a add chmod -R 777 pub/media/* Trying to resize images from admin But […]
How add max_price to aggregations on Elasticsearch? For use when code pass to: MagentoElasticsearchModelResourceModelFulltextCollectionSearchResultApplier::apply() I want sort by max price, but configurable products are not working. I want the configurable products to be ordered by their max_price, but I can’t do it
I want two setup two different version of magento 2 on my local nginx machine, v2.4.2 and v2.3.7 mapped with two different domains. One version(2.4.2) is working fine on my nginx server at port 80 with domain- http://magento.local.in/ folder location /var/www/html/magento. Below is the nginx config file- /etc/nginx/site-enabled/magento (same config […]
Let me start off with I have tried the most common solutions: Refreshing cache Building static content etc. I am unable to enter the admin panel due to this issue as it’s stuck in an everlasting load screen. It appears that on the user side everything is working fine. [2021-12-04 […]
I’m trying to change the increment id number in the request, but I’m not succeeding, I have an API that generates a single code, and I already have an observer that retrieves this value for me. now I need to change or make the increment id receive this value from […]
I have created a custom media_image attribute for the customer entity, Now I want to add upload control at the registration page (I have tried with file upload control). when I upload the image, it shows me message: Class MagentoCustomerModelMetadataFormMedia_Image does not exist. please suggest to me, if any alternative […]
Where can i find tax amount calculation function? I find this <td class="admin__total-amount"> <?= /* @noEscape */ $block->formatPrice($block->getTotal()->getValue()) ?> </td> I searched for getTotal function, but i didn’t find it in the block class