Reset product stats

While for the moment the plugin does not offer this option, you may still do this by deleting the records directly from the table (using phpmyadmin or other database-editing resources):

// check what you're deleting, before

select * from `wp_postmeta` where meta_key in ('_amzaff_hits', '_amzaff_addtocart', '_amzaff_redirect_to_amazon');

select * from `wp_postmeta` where meta_key in ('_amzaff_hits_prev', '_amzaff_addtocart_prev', '_amzaff_redirect_to_amazon_prev');

 

// if it's ok, then run this queries

delete from wp_postmeta where 1=1 and meta_key in ('_amzaff_hits', '_amzaff_addtocart', '_amzaff_redirect_to_amazon');

delete from wp_postmeta where 1=1 and meta_key in ('_amzaff_hits_prev', '_amzaff_addtocart_prev', '_amzaff_redirect_to_amazon_prev');

Back To Top