I want to add A custom Amasty Social login to my login page because I want a different layout of the login form meaning I want to insert it inside my form. But I cant figure out how. maybe because I am using amasty social login lite? This is my […]
Magento
looking for fix the error after created the category and the category display in home page and after click on category to show page category i get this error WHOOPS, OUR BAD… The page you requested was not found, and we have a fine guess why. If you typed the […]
I have a Magento 2.4.1 store with two languages (EN and DE). Let’s say the EN store view is currently selected and a product URL will look like this: https://website.de/wedding-bands/wedding-band-1.html. I may give this URL to a customer, but he has the DE language currently selected. So, when he tries […]
I am creating a simple form in which users can add images. I want to add the image uploader field to my custom form but the problem is, it is built with js & html. Is there a way I can add this image uploader without using xml? Thank you!
How to get the correct shipping address for an order ID? I am using MagentoSalesApiOrderRepositoryInterface to get the order information by order ID, but there are no methods for getting the shipping address, despite a lot of people on the internet claiming otherwise. I considered using MagentoSalesApiOrderAddressRepositoryInterface, and I am […]
In Magento, by default, the sales order items for configurable products are showing the parent product SKU. How can we show the child product SKU for configurable products? I have tried changing the code in the function at vendor/magento/module-sales/Block/Adminhtml/Items/Column/DefaultColumn.php public function getSku() { return $this->getItem()->getSku(); } to public function getSku() […]
Is there a way to load different fonts for different products in Magento2.4 ? The fonts will be self hosted in /web/fonts, but I want them to load only to specific products. Could be done in a block inside a product, something like <style>font-face {font-family: 'custom';src: url('fonts/custom.woff2');</style> ?
Magento 2.4.6 I am trying to get an orders surcharge amount which was added by the Fooman Surcharge extension. In Magento 1 it worked with $order->getFoomanSurchargeAmount();, in Magento 2 it doesnt work this way. Any ideas how to get the amount from an order object? Thanks!
I am trying to move the top.links to the header-wrapper as in the picture in order to create some fancy icons instead of just text links. I was able to do that adding this line to the default.xml file on my custom theme. <move element="header.links" destination="header-wrapper"/> But when i do […]