I think I am running into a routing issue where my post request is not reaching my controller. Test/Example/view/frontend/templates/swatches.phtml <form action="<? echo $block->getUrl('example/index/index'); ?>" id="pgswatchForm" method="post"> Test/Example/Controller/Index/Index.php <?php namespace TestExampleControllerIndex; use MagentoFrameworkAppActionAction; use MagentoFrameworkAppActionContext; use MagentoFrameworkViewResultPageFactory; use MagentoFrameworkMailTemplateTransportBuilder; use MagentoFrameworkAppActionHttpPostActionInterface; class Index extends Action implements HttpPostActionInterface { protected $resultPageFactory; protected […]
Daily Archives: April 16, 2024
recently a shop gave me the full directory and database of a site in magento. I’ve uploaded it on a new server on plesk and changed server domain. The problem is that after i deployed all of the static files i can’t edit a product cause it’s stuck on loading. […]
The goal is to render Paypal express button under the customer’s email address field in checkout page. Since the checkout page is render by jslayout, how can I insert the paypal express button block into an existing component. I have the following <item name="shipping-step" xsi:type="array"> <item name="children" xsi:type="array"> <item name="shippingAddress" […]
Help me, how to add the single item price on the email? i have tried using this Magento 2 Order Email with Single Item Price but somehow it doesnt work (the single item price value is not appeared but the table header is set)
I am using magento 2.4.6 with martfury theme. I want to display stock level on product that’s displayed via widget. Also, I have MSI enabled for the store. I am using the below code to display the stock level, but it throws me error. can you please suggest how to […]
in windows dhcp server if i set hte lease time to unlimited or any duration the ip address per mac is always the same .. (dhcp static) i guess How do i do that in linux? its really anonying if someone reboots an android devices reconencts and ihave to find […]
I dual booted fedora 39 with windows 11 the boot logo (vendor logo lenovo) during windows boot is black just the loading circle is there. But when i boot to fedora or screen before grub the logo is there Is there any way it could be fixed
I want to connect my desktop computer to the TV through a hole in the wall which should be as small as possible. The two devices are only couple of centimeters away from each other, so cable length should not matter. My first idea was to connect the PC via […]
Grub not showing support for all possible video modes? (Using Debian 12) Grub only shows support for 1280×1024 maximum, but once GNOME is up, 1920×1080@60 shown per the XWAYLAND0 device. Why this difference? How can are get grub to show parity to what the GNOME UI supports?