Skip to content

Trying to override InvoiceSender

I tried to override InvoiceSender (in /app/code/UFS/Sales/Model/Order/Email/Sender/InvoiceSender.php) but it doesn’t work and I don’t understand why. I added “‘created_at_formatted’ => $order->getCreatedAtFormatted(3)”. My di.xml looks like: <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <preference for=”MagentoSalesModelOrderEmailSender” type=”UFSSalesModelOrderEmailSender” /> </config> My InvoiceSender.php looks like: <?php /** *… Read More »Trying to override InvoiceSender

pre order on the category page

How to change the label of add to cart to pre order on all magento 2.4.5 based on the below conditions: if(qty<0 , product is salable and getBackorders()/true ) to show pre order else add to cart

No longer able to access webserver

Hi: I put up a website a number of years ago and was able to do it at no cost, but the password and other FTP login details stopped working… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1915512&goto=newpost

host subdomain

hello there actually, I’m looking for a hosting company to host my existing subdomain, the common hosting they didn’t allow me to connect… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1915466&goto=newpost

403 error please help me

Hi One of the websites on the server throws a 403 error every few hours When I investigate, I see the following codes added to the .htacce… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1915457&goto=newpost

Email forwarding service?

Hi, I wasn’t sure which forum to post this in so hopefully it’s OK here. Our non-profit currently has a website registered at Godaddy, hos… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1915435&goto=newpost