I’m trying to override the default Magento logo product placeholder images within my theme, however, the results are inconsistent. I added 4 image files in the following location app/design/frontend/[VENDOR]/[THEME]/Magento_Catalog/web/images/product/placeholder/ image.jpg small_image.jpg swatch_image.jpg thumbnail.jpg Then I ran the following just to be safe and nuke all the things… $ rm -rf […]
Magento
I as well am getting this error in postman. { "message": "The consumer isn't authorized to access %resources." } for this api: rest/all/V1/salesorders/update In the Web API Security I have the dropdown set to “No” for allow anonymous guest access but when i turn it to yes it hits it’s endpoint. This issue only started happening after […]
I have a problem with product prices, the prices in the backend are right and on the home page and search list as well. But in the product page they turn to be zero after a second of the page load Also when I add a product to the cart […]
I am new in magento 2 I am trying to import product data programmatically using csv file. The Error is shown below My Folder and code structure are following. This is My registration file. Vendor/Modulename/regis.xml use MagentoFrameworkComponentComponentRegistrar; ComponentRegistrar::register(ComponentRegistrar::MODULE, 'vendorName_moduleName', __DIR__); This is my module.xml file Vendor/Modulename/etc/module.xml <?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" […]
I need to add a custom variable based on payment method to credit memo email. I captured the event email_creditmemo_set_template_vars_before in my custom module, Which was dispatched on MagentoSalesModelOrderCreditmemoSenderEmailSender.php. I need to add my custom variable showrefund to bellow set. $transport = [ 'order' => $order, 'creditmemo' => $creditmemo, 'comment' […]
Magento 2 Widget doesn’t display template. Code here https://github.com/curtisdelicata/magento-product-widget I followed a guide but don’t know if it is outdated for 2.4.4
We’re in the process of upgrading our store from Magento 2.4.2 to 2.4.4 and encountered the error shown in the image below. Please help us fix this issue. Script in the project folder: <?php namespace StripeIntegrationPaymentsBlockCustomer; use MagentoFrameworkAppFilesystemDirectoryList; use MagentoFrameworkFilesystem; use MagentoFrameworkViewElement; use StripeIntegrationPaymentsHelperLogger; class Cards extends MagentoFrameworkViewElementTemplate { public […]
Using Enterprise, I need to get the expiration date of the coupon (the expiration date of the cart rule schedule). The problem is that when saving the schedule, this date is not saved in either the “salesrule” table or in “salesrule_coupon”. All the fields of the “to_date” column appear empty. […]
In my magento 2.4.4 version i just created a new category. I need to assign all products to this new category. So keep the product to their current category but in addition assign to this new one category. Is it possible through or in different way? Thanks!