I’m using magento 2.4.3, and I did a couple putty commands, like upgrade, compile, and now php bin/magento setup:static-content:deploy -f but now the front end is loading apparently without css and js, any help with what might be causing this?
Magento
I have approx 50000 product in my store. I would like to copy the SKU value to the Custom attribute(custom_sku_field) value for all products. I think going for SQL query might be risky. so can anyone suggest the programmatically way to update custom attribute value for all products? I have […]
Hello all I want to write a query magento 2 update query way where I can update 1 column value to another column value as below update table_name set column1 = column2 where id =1; Please help
I have a configurable product and 5 simple products Configurable product sku is DF-123 and its child products which are 5 different simple products sku is a,b,c,d,e 5 simple products:- a1,b1,c1,d1,e1 when cart has pair of a and a1 than discount should be applied automatically
I am trying to create custom attribute for customer , but it is not creating anything i cannot able to view in admin here is my code <?php namespace TestHdSetup; use MagentoFrameworkSetupInstallDataInterface; use MagentoFrameworkSetupModuleDataSetupInterface; use MagentoFrameworkSetupModuleContextInterface; use MagentoEavSetupEavSetupFactory; use MagentoEavModelAttributeRepository; use MagentoCustomerModelCustomer; use MagentoEavModelEntityAttributeScopedAttributeInterface; class InstallData implements InstallDataInterface { /** […]
I am trying to update custom attribute in magento2 but i am getting error while running this <?php namespace testOrgControllerResult; use MagentoFrameworkAppActionContext; use MagentoFrameworkViewResultPageFactory; use MagentoFrameworkControllerResultJsonFactory; use MagentoFrameworkAppHelperAbstractHelper; use MagentoFrameworkHTTPClientCurl; use MagentoCustomerApiCustomerRepositoryInterface; class Result1 extends MagentoFrameworkAppActionAction { /** * @var MagentoFrameworkViewResultPageFactory */ protected $resultPageFactory; protected $curl; protected $resultJsonFactory; /** * […]
I am creating a custom Module, in that I created a custom table and patch data. The patch data for inserting data into that table. Now the issue is, the custom table was created through declarative schema, when I am installing a module, the patch data get executed before table […]
I have added a module specific css file from within a module. I have a layout file at app/code/Vendor/Module/view/adminhtml/layout/catalog_product_edit.xml with the following contents: <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <head> <css src="Vendor_Module::css/modulestyles.css" /> </head> </page> I then placed a css file at app/code/Vendor/Module/view/adminhtml/web/css/modulestyles.css with the following contents: div { background-color: […]
In Magento 2.4, Checkout page I faced error. TypeError : Unable to process binding "afterRender: function () {return renderReCaptcha() }" How to solve this error?