Skip to content

Email template id is not found issue in magento 2 admin custom form Magento 2

I Want to send a url to customer from admin panel custom form. I use below steps to perform the task. 1 – email_templates.xml file content <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:module:Magento_Email:etc/email_templates.xsd”> <template id=”ayakil_hometry_email_carturl_template” label=”Home Try On Cart Url” file=”hometry_cart_url.html” type=”html”… Read More »Email template id is not found issue in magento 2 admin custom form Magento 2

Images in content from another url doesnt appear on frontend

Images with another url than our own: https://takoda.shop Doesn’t appear on frontend but broken. While images from our own url does appear. Can’t find a solution for this, anybody knows? See here: https://takoda.shop/en/catalog/product/view/id/281/s/crochet-bag-turquoise/category/37/

how to get revenue using custom period or date range?

how can we get the Revenue using custom Period or Date? below is code, custom.php : /var/www/html/m2_new_staging/app/code/Rental/Totalrevenue/Model/Api <?php namespace RentalTotalrevenueModelApi; use MagentoReportsModelResourceModelOrderCollectionFactory; use PsrLogLoggerInterface; class Custom { protected $_collectionFactory; protected $logger; public function __construct( LoggerInterface $logger, CollectionFactory $collectionFactory ) {… Read More »how to get revenue using custom period or date range?