From 76d45bf529aa91dc0284d6472af4bd7a524be06c Mon Sep 17 00:00:00 2001 From: ah-net <103565001+ah-net@users.noreply.github.com> Date: Wed, 10 Apr 2024 12:16:57 +0200 Subject: [PATCH] fix: use id instead of SKU #39 Use entity_id in the WHERE clause instead of sku. This adjustment enhances the query's speed, especially when dealing with a large number of products. During local testing, the export time decreased significantly from 50 minutes to just 8 minutes. Resulting in an increase in speed of 84%. This speed increase only seems to occur if you don't have all numbers as sku's. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index eb9e99f..9ce62f3 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ https://yoursite.com/tweakwise/feed/export/key/{{feed_key}}/type/price //price e https://yoursite.com/tweakwise/feed/export/key/{{feed_key}}/store/storecode //store level export, only available if store level export is enabled ## Export Settings -- Store Level Export: Enables generating seperate feed for each store. If store level export is enabled +- Store Level Export: Enables generating seperate feed for each store. If store level export is enabled. - Enabled: If products of that store should be exported to tweakwise, note that if this is false for some store then navigation and search should also be disabled for that store. - Schedule: Cron schedule for generating the feed. We strongly encourage you to register the export task on the server crontab instead of using the Magento cron. - Schedule export: Generate the feed on the next cron run. (default feed)