{"id":154676,"date":"2022-03-31T11:26:56","date_gmt":"2022-03-31T11:26:56","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/stock-snapshot-for-woocommerce\/"},"modified":"2025-10-10T20:29:22","modified_gmt":"2025-10-10T20:29:22","slug":"stock-snapshot-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/ca.wordpress.org\/plugins\/stock-snapshot-for-woocommerce\/","author":18216844,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.2.3","stable_tag":"2.2.3","tested":"6.8.5","requires":"5.0","requires_php":"","requires_plugins":null,"header_name":"Stock History & Reports Manager for WooCommerce","header_author":"WPFactory","header_description":"Keep track of your products stock in WooCommerce.","assets_banners_color":"cfd1f6","last_updated":"2025-10-10 20:29:22","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wpfactory.com\/item\/stock-snapshot-for-woocommerce\/","header_author_uri":"https:\/\/wpfactory.com","rating":5,"author_block_rating":0,"active_installs":100,"downloads":4507,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.2.0":{"tag":"1.2.0","author":"algoritmika","date":"2022-03-31 11:27:29"},"1.3.0":{"tag":"1.3.0","author":"algoritmika","date":"2022-04-05 14:14:10"},"1.3.1":{"tag":"1.3.1","author":"wpcodefactory","date":"2022-12-06 13:47:49"},"1.3.2":{"tag":"1.3.2","author":"wpcodefactory","date":"2022-12-06 14:56:46"},"1.3.3":{"tag":"1.3.3","author":"wpcodefactory","date":"2023-06-19 13:26:01"},"1.3.4":{"tag":"1.3.4","author":"wpcodefactory","date":"2023-09-26 18:34:46"},"1.4.0":{"tag":"1.4.0","author":"wpcodefactory","date":"2024-03-14 09:27:05"},"1.5.0":{"tag":"1.5.0","author":"wpcodefactory","date":"2024-03-20 10:39:30"},"1.6.0":{"tag":"1.6.0","author":"wpcodefactory","date":"2024-04-16 15:38:23"},"1.6.1":{"tag":"1.6.1","author":"wpcodefactory","date":"2024-07-31 06:12:12"},"2.0.0":{"tag":"2.0.0","author":"wpcodefactory","date":"2025-02-10 13:55:05"},"2.0.1":{"tag":"2.0.1","author":"wpcodefactory","date":"2025-02-20 12:09:02"},"2.1.0":{"tag":"2.1.0","author":"wpcodefactory","date":"2025-03-27 19:24:35"},"2.1.1":{"tag":"2.1.1","author":"wpcodefactory","date":"2025-04-14 15:52:14"},"2.2.0":{"tag":"2.2.0","author":"wpcodefactory","date":"2025-06-25 16:38:59"},"2.2.1":{"tag":"2.2.1","author":"wpcodefactory","date":"2025-08-29 20:34:13"},"2.2.2":{"tag":"2.2.2","author":"wpcodefactory","date":"2025-10-06 15:43:50"},"2.2.3":{"tag":"2.2.3","author":"wpcodefactory","date":"2025-10-10 20:29:22"}},"upgrade_notice":{"1.0.0":"<p>This is the first release of the plugin.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2971962,"resolution":"128x128","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":2971962,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2971962,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2971962,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2.0","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.4.0","1.5.0","1.6.0","1.6.1","2.0.0","2.0.1","2.1.0","2.1.1","2.2.0","2.2.1","2.2.2","2.2.3"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[158616,12448,187480,225724,286],"plugin_category":[45],"plugin_contributors":[78783,80665,178791,189606],"plugin_business_model":[216238],"class_list":["post-154676","plugin","type-plugin","status-publish","hentry","plugin_tags-product-stock","plugin_tags-stock","plugin_tags-stock-history","plugin_tags-stock-snapshot","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-anbinder","plugin_contributors-karzin","plugin_contributors-omardabbas","plugin_contributors-wpcodefactory","plugin_business_model-commercial","plugin_committers-algoritmika","plugin_committers-wpcodefactory","plugin_support_reps-anbinder","plugin_support_reps-karzin","plugin_support_reps-tahaamin"],"banners":{"banner":"https:\/\/ps.w.org\/stock-snapshot-for-woocommerce\/assets\/banner-772x250.png?rev=2971962","banner_2x":"https:\/\/ps.w.org\/stock-snapshot-for-woocommerce\/assets\/banner-1544x500.png?rev=2971962","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/stock-snapshot-for-woocommerce\/assets\/icon.svg?rev=2971962","icon":"https:\/\/ps.w.org\/stock-snapshot-for-woocommerce\/assets\/icon.svg?rev=2971962","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Stock History &amp; Reports Manager for WooCommerce<\/strong> plugin lets you keep track of your products stock in WooCommerce.<\/p>\n\n<h3>&#9989; Main Features<\/h3>\n\n<ul>\n<li>Automatically take your products <strong>stock snapshots<\/strong>.<\/li>\n<li>Customize snapshots <strong>time interval<\/strong>.<\/li>\n<li>View and export <strong>product's stock history<\/strong>.<\/li>\n<li>View <strong>all stock snapshots history<\/strong>.<\/li>\n<li>Use <strong>shortcode<\/strong> to display <strong>recently restocked products<\/strong>.<\/li>\n<li>Optionally set up <strong>system cron<\/strong> for the snapshots.<\/li>\n<\/ul>\n\n<h3>&#127942; Premium Version<\/h3>\n\n<p><a href=\"https:\/\/wpfactory.com\/item\/stock-snapshot-for-woocommerce\/\">Stock History &amp; Reports Manager for WooCommerce Pro<\/a> plugin version allows you to get stock snapshot <strong>emails<\/strong>.<\/p>\n\n<h3>&#128472; Feedback<\/h3>\n\n<ul>\n<li>We are open to your suggestions and feedback.<\/li>\n<li>Thank you for using or trying out one of our plugins!<\/li>\n<li><a href=\"https:\/\/wpfactory.com\/item\/stock-snapshot-for-woocommerce\/\">Visit plugin site<\/a>.<\/li>\n<\/ul>\n\n<h3>&#8505; More<\/h3>\n\n<ul>\n<li>The plugin is <strong>\"High-Performance Order Storage (HPOS)\"<\/strong> compatible.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the \"Plugins\" menu in WordPress.<\/li>\n<li>Start by visiting plugin settings at \"WPFactory &gt; Stock Snapshot\".<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.2.3 - 10\/10\/2025<\/h4>\n\n<ul>\n<li>Fix - Security - Shortcodes - <code>[alg_wc_stock_snapshot_restocked]<\/code> - Cross-site scripting vulnerability fixed.<\/li>\n<\/ul>\n\n<h4>2.2.2 - 06\/10\/2025<\/h4>\n\n<ul>\n<li>Dev - WPFactory Recommendations - Library updated (to v1.0.6).<\/li>\n<li>Dev - Developers - <code>alg_wc_stock_snapshot_request_uri_desc<\/code> filter added.<\/li>\n<li>WC tested up to: 10.2.<\/li>\n<\/ul>\n\n<h4>2.2.1 - 29\/08\/2025<\/h4>\n\n<ul>\n<li>WC tested up to: 10.1.<\/li>\n<\/ul>\n\n<h4>2.2.0 - 25\/06\/2025<\/h4>\n\n<ul>\n<li>Fix - Translation loading fixed.<\/li>\n<li>Fix - Report - Export - Double quotes replaced with single quotes.<\/li>\n<li>Dev - Report - \"Restocked\" options added.<\/li>\n<li>Dev - Report - \"Product ID\" and \"Product type\" columns added.<\/li>\n<li>Dev - Emails - \"Daily report emails\" option added.<\/li>\n<li>Dev - General - Extra data - Collect more data, e.g., request URI, order ID.<\/li>\n<li>Dev - WPFactory Admin Menu - Plugin icon added.<\/li>\n<li>Dev - WPFactory Admin Menu - Library updated.<\/li>\n<li>Dev - WPFactory Key Manager - Library updated.<\/li>\n<li>WC tested up to: 9.9.<\/li>\n<li>Tested up to: 6.8.<\/li>\n<\/ul>\n\n<h4>2.1.1 - 14\/04\/2025<\/h4>\n\n<ul>\n<li>Dev - Report - \"General &gt; Advanced Options &gt; Prepare reports in background\" option added (defaults to <code>no<\/code>).<\/li>\n<li>Dev - Report - Code refactoring.<\/li>\n<li>WC tested up to: 9.8.<\/li>\n<\/ul>\n\n<h4>2.1.0 - 27\/03\/2025<\/h4>\n\n<ul>\n<li>Dev - Security - Escape output.<\/li>\n<li>Dev - Security - Sanitize input.<\/li>\n<li>Dev - \"Report\" section added.<\/li>\n<li>Dev - History - Display dates in the timezone of the site.<\/li>\n<li>Dev - General - Product update snapshots - Default to <code>yes<\/code>.<\/li>\n<li>Dev - General - Extra data - Default to <code>yes<\/code>.<\/li>\n<li>Dev - General - \"Enable plugin\" option removed.<\/li>\n<li>Dev - Admin settings - Rearrange; update descriptions.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Dev - Coding standards improved.<\/li>\n<li>WC tested up to: 9.7.<\/li>\n<\/ul>\n\n<h4>2.0.1 - 20\/02\/2025<\/h4>\n\n<ul>\n<li>Dev - Display dates in the timezone of the site (except the \"History\" section).<\/li>\n<\/ul>\n\n<h4>2.0.0 - 10\/02\/2025<\/h4>\n\n<ul>\n<li>Dev - General - \"Product update snapshots\" option added (defaults to <code>no<\/code>).<\/li>\n<li>Dev - General - \"Extra data\" option added (defaults to <code>no<\/code>).<\/li>\n<li>Dev - Stock adjustment info added.<\/li>\n<li>Dev - Admin meta box - Rows reversed.<\/li>\n<li>Dev - Plugin settings moved to the \"WPFactory\" menu.<\/li>\n<li>Dev - \"Recommendations\" added.<\/li>\n<li>Dev - \"Key Manager\" added.<\/li>\n<li>Dev - Languages - POT file regenerated with WP-CLI.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 9.6.<\/li>\n<li>Tested up to: 6.7.<\/li>\n<li>Plugin name updated.<\/li>\n<\/ul>\n\n<h4>1.6.1 - 31\/07\/2024<\/h4>\n\n<ul>\n<li>WC tested up to: 9.1.<\/li>\n<li>Tested up to: 6.6.<\/li>\n<li>Requires Plugins: woocommerce.<\/li>\n<\/ul>\n\n<h4>1.6.0 - 16\/04\/2024<\/h4>\n\n<ul>\n<li>Dev - History - \"Product categories\" option added.<\/li>\n<li>Dev - History - \"Custom dates\" fields added.<\/li>\n<li>Dev - History - \"Export\" link added.<\/li>\n<li>Dev - History - Code refactoring.<\/li>\n<li>Dev - Developers - <code>alg_wc_stock_snapshot_after_settings_saved<\/code> action added.<\/li>\n<li>Tested up to: 6.5.<\/li>\n<\/ul>\n\n<h4>1.5.0 - 20\/03\/2024<\/h4>\n\n<ul>\n<li>Dev - \"Export to CSV\" links added (to the \"Stock Snapshot\" meta box on the product edit pages).<\/li>\n<li>Dev - PHP 8.2 compatibility - \"Creation of dynamic property is deprecated\" notice fixed.<\/li>\n<li>WC tested up to: 8.7.<\/li>\n<li>Readme.txt - Tags updated.<\/li>\n<\/ul>\n\n<h4>1.4.0 - 14\/03\/2024<\/h4>\n\n<ul>\n<li>Dev - \"High-Performance Order Storage (HPOS)\" compatibility.<\/li>\n<li>WC tested up to: 8.6.<\/li>\n<li>Tested up to: 6.4.<\/li>\n<\/ul>\n\n<h4>1.3.4 - 27\/09\/2023<\/h4>\n\n<ul>\n<li>WC tested up to: 8.1.<\/li>\n<li>Tested up to: 6.3.<\/li>\n<li>Plugin icon, banner updated.<\/li>\n<\/ul>\n\n<h4>1.3.3 - 19\/06\/2023<\/h4>\n\n<ul>\n<li>WC tested up to: 7.8.<\/li>\n<li>Tested up to: 6.2.<\/li>\n<\/ul>\n\n<h4>1.3.2 - 06\/12\/2022<\/h4>\n\n<ul>\n<li>Fix - Duplicated admin \"Settings\" link removed.<\/li>\n<\/ul>\n\n<h4>1.3.1 - 06\/12\/2022<\/h4>\n\n<ul>\n<li>Tested up to: 6.1.<\/li>\n<li>WC tested up to: 7.1.<\/li>\n<li>Readme.txt updated.<\/li>\n<li>Deploy script added.<\/li>\n<\/ul>\n\n<h4>1.3.0 - 05\/04\/2022<\/h4>\n\n<ul>\n<li>Dev - General - Variable Product Options - \"Include variations\" option added (defaults to <code>yes<\/code>).<\/li>\n<li>Dev - Emails - Product name is wrapped in product link now.<\/li>\n<li>Dev - Admin settings descriptions updated.<\/li>\n<\/ul>\n\n<h4>1.2.0 - 31\/03\/2022<\/h4>\n\n<ul>\n<li>Dev - \"History\" section added.<\/li>\n<li>Dev - Tools - \"Take snapshot\" tool added.<\/li>\n<li>Dev - Tools - \"Delete all snapshots\" tool added.<\/li>\n<li>Dev - General - \"Allow snapshots via URL\" option added (defaults to <code>no<\/code>).<\/li>\n<li>Dev - General - \"Periodic snapshots\" (defaults to <code>yes<\/code>) and \"Interval\" (defaults to <code>86400<\/code> seconds, i.e., once daily) options added.<\/li>\n<li>Dev - General - Add child products stock - Counting zero (<code>0<\/code>) children stock as well now.<\/li>\n<li>Dev - Emails - \"Email subject\" option added.<\/li>\n<li>Dev - Emails - \"Email heading\" option added.<\/li>\n<li>Dev - Emails - \"Email content\" option added.<\/li>\n<li>Dev - Emails - Wrapping in WC email template now.<\/li>\n<li>Dev - Emails - Using <code>wc_mail()<\/code> function instead of <code>wp_mail()<\/code> function now.<\/li>\n<li>Dev - \"WP Cron\" replaced with \"Action Scheduler\".<\/li>\n<li>Dev - Properly escaping all output now.<\/li>\n<li>Dev - Admin settings split into sections: \"Tools\", \"Emails\".<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>Free plugin version released.<\/li>\n<li>WC tested up to: 6.3.<\/li>\n<li>Tested up to: 5.9.<\/li>\n<\/ul>\n\n<h4>1.1.3 - 10\/09\/2021<\/h4>\n\n<ul>\n<li>Dev - Advanced - \"Clear plugin transients\" tool added.<\/li>\n<li>Dev - Shortcodes - <code>[alg_wc_stock_snapshot_restocked]<\/code> - Algorithm optimized.<\/li>\n<li>Dev - Shortcodes - <code>[alg_wc_stock_snapshot_restocked]<\/code> - Now <code>null<\/code> stock is processed the same as <code>0<\/code> stock.<\/li>\n<li>Dev - Shortcodes - <code>[alg_wc_stock_snapshot_restocked]<\/code> - <code>orderby<\/code> (defaults to <code>name<\/code>) and <code>order<\/code> (defaults to <code>ASC<\/code>) attributes added. In addition to the standard <code>orderby<\/code> options (<code>none<\/code>, <code>ID<\/code>, <code>name<\/code>, <code>type<\/code>, <code>rand<\/code>, <code>date<\/code>, <code>modified<\/code>), custom <code>last_restocked<\/code> option added.<\/li>\n<li>Dev - Shortcodes - <code>[alg_wc_stock_snapshot_restocked]<\/code> - <code>paginate<\/code> attribute added (defaults to <code>no<\/code>).<\/li>\n<li>Dev - Shortcodes - <code>[alg_wc_stock_snapshot_restocked]<\/code> - \"Filter products by brand\" widget compatibility added (\"Perfect Brands for WooCommerce\" plugin (https:\/\/wordpress.org\/plugins\/perfect-woocommerce-brands\/)).<\/li>\n<li>WC tested up to: 5.6.<\/li>\n<\/ul>\n\n<h4>1.1.2 - 17\/08\/2021<\/h4>\n\n<ul>\n<li>Dev - \"Add child products stock\" option added.<\/li>\n<\/ul>\n\n<h4>1.1.1 - 10\/08\/2021<\/h4>\n\n<ul>\n<li>Dev - Shortcodes - <code>[alg_wc_stock_snapshot_restocked]<\/code> - <code>total_snapshots<\/code> attribute added (defaults to <code>1<\/code>).<\/li>\n<li>Dev - Shortcodes - <code>[alg_wc_stock_snapshot_restocked]<\/code> - <code>new_stock<\/code> attribute added (defaults to <code>no<\/code>).<\/li>\n<\/ul>\n\n<h4>1.1.0 - 08\/08\/2021<\/h4>\n\n<ul>\n<li>Dev - Shortcodes - <code>[alg_wc_stock_snapshot_restocked]<\/code> shortcode added.<\/li>\n<li>Dev - Plugin is initialized on the <code>plugins_loaded<\/code> action now.<\/li>\n<li>Dev - Localisation - <code>load_plugin_textdomain()<\/code> function moved to the <code>init<\/code> action.<\/li>\n<li>Dev - Admin settings descriptions updated.<\/li>\n<li>Dev - Code refactoring.<\/li>\n<li>WC tested up to: 5.5.<\/li>\n<li>Tested up to: 5.8.<\/li>\n<\/ul>\n\n<h4>1.0.2 - 03\/03\/2020<\/h4>\n\n<ul>\n<li>Dev - Product meta box - Now showing stock changes only.<\/li>\n<\/ul>\n\n<h4>1.0.1 - 26\/02\/2020<\/h4>\n\n<ul>\n<li>Dev - Underscore added to the meta name.<\/li>\n<\/ul>\n\n<h4>1.0.0 - 21\/02\/2020<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"Keep track of your products stock in WooCommerce.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/154676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=154676"}],"author":[{"embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpcodefactory"}],"wp:attachment":[{"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=154676"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=154676"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=154676"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=154676"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=154676"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=154676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}