I’m trying to get the checkout sending methods on another page in magento 2, and I saw that it would be possible to do it using magento 2 api consumption. However, magento 2 documentation is very bad, an api request using ajax?
Daily Archives: September 27, 2021
I have installed Amasty Mega menu extension. I have added mega menu. In that display categories and subcategories. Now I want when hover any of the category right side div display that category image. Thanks in advance!!!
Does anyone know how one is suppose to correctly implement critical-css-generator to auto-generate ciritcal.css files in Magento2? I tried to replicate the instructions here: https://www.rohanhapani.com/how-to-enable-and-generate-css-critical-path-in-magento-2/ I added this block of code const critical = require('critical-css-generator'); critical.generate({ url: 'https://<my website>', path: '/var/www/html/m240/app/design/frontend/<my-theme>/web/css/test_critical.css', viewport: true }); insdie module.exports in the Gruntfile.js. But […]
I have created a custom block that appears below the price in the product detail page. I did this by creating the following file app/design/frontend/vendor/theme/Magento_Catalog/layout/catalog_product_view.xml with the contents <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceBlock name="product.info.sku" remove="true" /> <referenceContainer name="product.info.main"> <block class="MagentoFrameworkViewElementTemplate" name="stockstatus.text" template="Magento_Catalog::view/stockstatus.phtml" after="product.info.price"/> </referenceContainer> </body> </page> What i […]
is elasticsearch required for magento newest versions to work. I am having a hard time finding the answer and hosting sites do not support it for shared plans. I am trying to do an eCommerce store so IDK if I even need it, plus know nothing about web development. I […]
My motherboard recently died on my windows 7 machine which meant after replacing the mobo I was getting a digital signature error on booting up. I would work around this by using the F8 shortcut to go into the advanced boot options and disable driver signature enforcement. I decided to […]
I’m on Windows using Git Bash to use Linux commands. I typed in where Python and saw that I had two paths returned: C:/Users/user/AppData/Local/Microsoft/WindowsApps/python (this is only an executable file) C:/Python39 When I uninstalled python in the add or remove applications window in Python. It removed the files located at […]
In ImageMagick’s display, if I press ‘c’ and start to drag a crop frame, a small box appears at top left showing WxH+x+y for the crop frame. Is there any way that data can be accessed programmatically in bash, other than taking a screenshot and running tesseract-ocr or the like […]