I’m trying to find a way to set prices on specific products to change on a specific date. I know about Catalog Price Rules, but they tend to be more for promotions over a specific period and group of products. In this case, the site owner sometimes has spare time […]
Magento
How to set default values in admin for the page builder (for example the default padding and margin values should be 15 in admin) as seen in the image below:
Is there a way to call custom admin controller (which prints a pdf file from sales order view page) from frontend download anchor link? <a href="http://m7.local/index.php/admin/magemechanic_workorder/order/print/order_id/<?php echo $orderId ?>" download>Download</a>
Im seeing this error in my logs, I notice it happends on products that dont have an inventory source asigned to them. This is on purpose, as this are old products that we dont sell any more, we only keep them for SEO. This is the error, i dont think […]
I’m using magento2.4.2 and added catalog widget in homepage.Need to add datalayer to addtocart event in MagentoCatalogWidgets. Note:Add to cart event for listing and detail pages are working perfectly
I have a question, is it possible to get Magento to set order status to “sent” after you have shipped the product instead of “Processing”? Sometimes we have so many orders that need to be shipped and then invoiced when it is a company that is buying the product. As […]
Magento admin and frontend is broken. I tried to run the commands setup:upgrade, di:compile, static-content:deploy -f but website is still broken.
By default /Checkout/view/frontend/web/template/billing-address/list.html is loaded as a html select element, but we want to change it into a radio button option. How can we achieve that? We tried the following for billing-address/list.html, but that does not work: <div class="field field-select-billing"> <label class="label"><span data-bind="i18n: 'Billing Address'"></span></label> <div class="control" data-bind="foreach: addressOptions"> <input […]
I’m trying to display a simple page, but still getting this error. Fatal error: Declaration of MacademyBlogControllerPostDetailInterceptor::execute() must be compatible with MacademyBlogControllerPostDetail::execute(): MagentoFrameworkViewResultPage in /var/www/html/generated/code/Macademy/Blog/Controller/Post/Detail/Interceptor.php on line 19 PHP 7.4.30 Magento 2.4.5 <?php declare(strict_types = 1); namespace MacademyBlogControllerPost; use MagentoFrameworkAppActionHttpGetActionInterface; use MagentoFrameworkViewResultPage; use MagentoFrameworkViewResultPageFactory; class Detail implements HttpGetActionInterface { private […]