Generating a feed returns an error "There are no products to generate the feed". How to fix this issue?
This is one of the common errors, yet the troubleshooting process is quite simple.
First, double-check the settings in the General and Conditions tabs in order to make sure that those configurations are valid and do not contradict each other.
General tab:
Conditions tab:
Once the feed's settings and conditions are verified to be valid, please proceed to the module's indexers in System → Index Management. The Amasty Feed Rule and Amasty Feed Products indexers should be in the Ready status in order to proceed with the feed generation:
If
these indexers are in the Processing status, it is required to reset
and reindex them from the CLI with the following commands:
php bin/magento indexer:reset amasty_feed_product
php bin/magento indexer:reset amasty_feed_entity
php bin/magento indexer:reindex amasty_feed_product
php bin/magento indexer:reindex amasty_feed_entity
In case you use scheduled generation of the feed, we recommend switching the indexers to the Update On Save mode, as the schedule of the feed's generation may overlap the schedule of the indexers' update, causing the error.
As a result, it should be possible to generate the same feed manually and by schedule without any problems.
Related Articles
Generating a feed returns an error: "Something went wrong: Couldn't lock indexer. Reindex in progress". How to fix?
This message indicates that during the generation of the feed, its indexers are currently in progress, in the Processing status. Before proceeding with the next steps, please make sure to update the extension to version 2.8.0, where we significantly ...
Generating a feed returns an error "Something went wrong: SQLSTATE[42S02]: Base table or view not found: 1146 Table '****inventory_stock_1' does not exist". How to fix this issue?
This error occurs when the inventory module is enabled, yet the inventory is not used. The issue can be resolved by adjusting the InventoryResolver.php file that is located either in the app/code/Amasty/Feed/Model/ or vendor/amasty/feed/Model/ ...
How to fix the Magento 2.4.5 Layered Navigation showing incorrect results issue?
After upgrading Magento to version 2.4.5 you can see the error: TypeError: Magento\Elasticsearch\Model\ResourceModel\Fulltext\Collection\SearchResultApplier::categoryProductByCustomSortOrder(): Argument #1 ($categoryId) must be of type int, array ...
Feed is empty after download - how to fix that?
If the feed was created via the custom feed template in .xml, .txt, or .csv formats, it is required to manually add some product attributes to it because initially, the custom template does not contain any attributes. For that, navigate to the ...
How to add shipping attributes to the Google Merchant feed?
The module itself does not calculate any shipping values - weight, prices, etc. as those are calculated during checkout. Shipping costs for the products in the feed should be specified in the marketplaces where this feed will be uploaded. As to ...