Skip to content

magento man

Frontend JS get access to attributes?

Is it possible to get Magento attribute values on product page when writing custom java script code? I am working on a frontend script where i need access to the product sku to check some logic i am writing.

Syntax Error DeploymentConfig Magento2.4.3

syntax error, unexpected end of file, expecting ‘;’#0 /var/www/html/myproject/vendor/magento/framework/App/DeploymentConfig.php(153): MagentoFrameworkAppDeploymentConfigReader->load() I am getting the above error when i am running any command like cache,upgrade my php version is 7.4 and megento2.4.3