I’m a new to magento and don’t know much about magento, Recently I have installed a custom theme in magento2 and then some products images became broken and some are having images with src=".../static/frontend/Mgs/claue/en_GB/MGS_Mpanel/images/blank.png" I know about php bin/magento catalog:images:resize but my store have more than 31000 products images and […]
Magento
I’ve recently updated a non-production version of a website from 2.4.4 to 2.4.5. The site has a number of configurable products with options for colours etc. The simple products behind the configurables are set to search only visibility whereas the configurable is set to catalog/search visibility. This all worked fine […]
I am upgrading from 2.4.3 to 2.4.3 p2 and just want to know, do I need both OpenSearch and Elasticsearch, or is just 1 sufficient. Thank you.
Can’t succeed to make a post frontend form to work <form class="form" name="download-form" action="<?= $block->getUrl('booklets/booklet/email') ?>" method="post" data-mage-init='{"validation": {}}' > <?= $block->getBlockHtml('formkey') ?> src/vendor/magento/framework/Data/Form/FormKey/Validator.php /** * Validate form key * * @param MagentoFrameworkAppRequestInterface $request * @return bool */ public function validate(MagentoFrameworkAppRequestInterface $request) { $formKey = $request->getParam('form_key', null); var_dump($formKey); var_dump($this->_formKey->getFormKey()); die(); […]
Parts in the header and footer are being overridden by the magento blank theme.. ie. logo and newsletter signup in the footer. I looked in the DB under the theme table and everything is identical to our production environment after upgrading a lower (staging) environment. Looked for the value to […]
I want to put an additional sku in the product page. I have this code: <?php $product = $block->getCurrentProduct(); $sku = $product->getData('sku'); if (trim($sku) !== "") : ?> <div class="product-info-sku"> <?php echo $sku; ?> </div> <?php endif; ?> but I got this error Fatal error: Uncaught Error: Call to a […]
I have a site built with Magento 2.3. In checkout cart, I want to hide the button that proceed to checkout if the quantity of a product pass the maximum quantity. How can I do this? Thank you!
I’m getting this error when I do: "bin/magento setup:static-content:deploy -f" but the website works fine, what does it mean? In File.php line 151: The contents from the "/var/www/magento/pub/static/frontend/Mytheme/custom/en_US/jquery/jstree/themes/classic/style.css" file can't be read. Warning!file_get_contents(/var/www/magento/pub/static/frontend/Mytheme/custom/en_US/jquery/jstree/themes/classic/style.css): failed to open stream: No such file or directory
I accidentally assigned product images as store view during csv import Like as base_image,small_image,thumbnail_image,swatch_image with store_view_code value. How can i unassing all image data from the store scope to use default value?