For some reason, when I load template hints on my magento catalog page, the files that are being included are var/www/html/var/view_preprocessed/pub/static/vendor/magento/module etc, instead of var/www/html/app/design/frontend/theme/ etc… how would i change this and how did it get changed to begin with It feels like my app is stuck in production mode, […]
Magento2
I need to get the result value of this calculator to add to the cart from the product page for both single and configurable products. I add the calculator to catalog_product_view.xml Then I copied the code from addtocart.phtml to calc.phtml as the button and changed the QTY to my result […]
I’m struggling trying to add this js library AOS This is what I’ve tried to add both, css and js: in Theme/Magento_Theme/layout/cms_index_index.xml i have this code: < ?xml version="1.0"?> The reason of why i’m using cms_index_index.xml instead of default_head_blocks.xml is because I want the library just be available in the […]
Magento grid filter_condition_callback ignored? in Magento ver. 1.9.4.3 Help appreciated! Stuck 😉 We added a column to both the order and the product grid. This works fine. We then added a filter_condition_callback .. this has worked for years Recently we updated to Magento ver. 1.9.4.3 the LTS version found here […]
I need to show the magnification sizes as fixed for all different sizes of images in product pages. How can I change this? 2 0 0 300 300 hover true I have tried the above code. But it showing different sizes for different product image sizes.
I’ve imported users from an opencart site to Magento 2. Logging in obviously doesn’t work, but when I try to use “forgot my password”, it doesn’t work either. The only way that I can get the accounts to work is by clicking “reset password” on the admin side. Doing this […]
I have two questions regarding the generation of promo codes: Is there a limit on how many promo codes can be generated in backend? Is there a limit on how many promo codes can be generated per store view? I was able to generate 2 million promo codes, I am […]
My site is running on the server .I want to make it password protected by using htacess but i am confused about the htacess file location
I am writing an Observer to MagentoCustomerAccountIndex but the Objects from class MagentoCustomerModelCustomer return null when getExtensionAttributes is executed. $customer = $customerFactory->create()->load($customerID); //$customerRepository->get($customerID); $ext = $customer->getExtensionAttributes(); if($ext == null){ throw new Exception(" var ext = null"); } I used CustomerRepository and CustomerFactory to get $customer