Reset Product Views Count

LiteCart Fan
Tól től United States
Tagság dec. 2016 óta

Hi all,
   How would I reset the product views and product sold quantities to 0?
Thanks Grant

LiteCart Fan
Tól től Thailand
Tagság aug. 2017 óta

Hello,
I would go for delete all the orders.
But maybe I did not well understand what you want to do.
What do you mean for product views?

LiteCart Fan
Tól től United States
Tagság dec. 2016 óta

In the admin section there is product views list "Most Visited Products", reset the product count views to "0". Deleting order does not subtract inventory. Also tried deleting individual items in each order and does not adjust inventory. Just need to reset those to zero starting point..
Thank for replying, Grant

tim
Founder
Tól től Sweden
Tagság máj. 2013 óta
tim

The views and purchases counter is in the mysql lc_products table.

Here is a query you can run in phpMyAdmin:
UPDATE lc_products SET views = 0, purchases = 0;

To restock quantities you must delete the orders or give them an order status that doesn't have the property "is sale".

LiteCart Fan
Tól től United States
Tagság dec. 2016 óta

Thanks Tim, Grant

Ezt a témát a hosszú inaktivitás miatt bezártuk. A hozzászólás nem lehetséges.
Ez a weboldal nem használ cookie-kat és nem használ harmadik féltől származó nyomkövetési technológiát. Úgy gondoljuk, hogy jobban tudjuk csinálni, mint mások, és tényleg gondolunk az Ön magánéletére.