Skip to content

magento2.4.3

Auto Added by WPeMatico

How to override vendormagentoframeworkViewPageConfigRenderer.php in Module

Thanks in advance 🙂 I can confirm the module is working correctly. I have tried adding the following to the di.xml file in my module: <preference for=”MagentoFrameworkViewPageConfigRenderer” type=”VendorModuleFrameworkViewPageConfigRenderer” /> And the following to my Renderer.php file in appcodeVendorModuleFrameworkViewPageConfig: <?php namespace… Read More »How to override vendormagentoframeworkViewPageConfigRenderer.php in Module

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; ( Can’t Create Configurable Products)

I am facing this issue, while creating the configurable products. SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to… Read More »SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; ( Can’t Create Configurable Products)

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?