On Magento 2.3.4 from the console I can run all reindex and running php bin/magento indexer:reindex catalog_product_price error > Product Price index <!DOCTYPE html> <html style="height:100%"> <head> <meta name="viewport" content="width=device-width, > initial-scale=1, shrink-to-fit=no" /> <title> 403 Forbidden > </title></head> <body style="color: #444; margin:0;font: normal > 14px/20px Arial, Helvetica, sans-serif; height:100%; […]
Magento
I’m trying to create admin configuration with two SKU’s fields, where later you can choose main product and second product will automatically add to cart for free. So, I created system.xml file first: <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd"> <system> <tab id="learning" translate="label" sortOrder="10"> <label>Learning</label> </tab> <section id="sku" translate="label" sortOrder="130" showInDefault="1" […]
I finally pointed my domain to the server and now I need to set up the SSL certificate. However, the Virtual Host (on Ubuntu 18.04) is giving me a lot of trouble. My website is hosted in /var/www/html/ (bad idea?), so this is what my current host file looks like: […]
I am trying fetch orders using store_id but I am not getting response from Magento rest API which I am using. So far, I have tried follwowing URL patterns to check the response but none of them worked. /rest/V1/orders/{store_id} /rest/default/V1/orders/ /rest/{store_id}/V1/orders/ /rest/all/V1/orders/ After trying above URL patterns I got error […]
I have a CMS page, and in certain place it references a custom block from my module as such: {{block class="MyNotificationBlockNotificationForm" name="notification.form" template="My_Notification::form.phtml"}} This works and shows the template, but I don’t know how to define child block within this template. In my module I have view/frontend/layout/default.xml: <?xml version="1.0"?> <page […]
I’m trying to create a tag extension in Magento PWA studio but it is throwing the below error. I’m following this documentation to create a tag extension. ERROR in ./tagList/src/TagList/tagList.js 24:11 Module parse failed: Unexpected token (24:11) File was processed with these loaders: * ./node_modules/@magento/pwa-buildpack/node_modules/@pmmmwh/react-refresh-webpack-plugin/loader/index.js You may need an additional […]
there are currently three distinct “size” attributes for configuring product variants on the website: size_international size_clothing size_foot Considering it a wrong approach I intend to unify the three attributes under “size_international”. To do this I need to fix all existing products that use “size_clothing” and “size_foot”. <?php namespace VendorMyModuleModelConfigurableSize; class […]
I am having a strange problem. When some customers login the cache loads with error (the page is lopped and images don’t load). But for other clients after logging in the loading is normal. Is the page cache stored per user? How can I avoid this error? Thanks