Jump to content

how to reset the product popularity statistics


Guest trevorrs

Recommended Posts

Hi Trevor,

Open the index.php file in the root of your shop directory and right at the end before the ?> put in this piece of code, upload the file, visit your shop, then go back and take these two lines out again before reuploading the file. Be very careful not to change anything else in this file as its rather important and remember to backup any files you make changes to.

Hope this helps you. It helped me.

$query = "UPDATE `CubeCart_inventory` SET popularity = '0' WHERE 1";

$db->misc($query);

Cheers

aPoLLo :)

Link to comment
Share on other sites

Hi Trevor,

Open the index.php file in the root of your shop directory and right at the end before the ?> put in this piece of code, upload the file, visit your shop, then go back and take these two lines out again before reuploading the file. Be very careful not to change anything else in this file as its rather important and remember to backup any files you make changes to.

Hope this helps you. It helped me.

$query = "UPDATE `CubeCart_inventory` SET popularity = '0' WHERE 1";

$db->misc($query);

Cheers

aPoLLo :yeahhh:

I have done this but its not working any ideas please

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...