Skip to content

magento2.4.3

Auto Added by WPeMatico

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?

Getting error “Please enter a correct entity model” while creating product csv import

I am creating a custom product import function. While importing the csv I am getting an error Please enter a correct entity model. This is what I have done ModelImportProductImportProductImport.php <?php namespace TtmHelloPrintModelImport; use Exception; use MagentoFrameworkAppConfigScopeConfigInterface; use MagentoFrameworkAppResourceConnection; use… Read More »Getting error “Please enter a correct entity model” while creating product csv import