bicdeveloper Posted July 8, 2016 Share Posted July 8, 2016 On the Page, Stats > Stats > Catalog Statistics I can read the number of products never viewed, I would like to ask can I find out the list of products that have never viewed, which is similar case to bottom part for "PRODUCTS NEVER PURCHASED"? To display the list, I can see which products are never viewed and edit it. Link to comment Share on other sites More sharing options...
vekia Posted July 9, 2016 Share Posted July 9, 2016 prestashop does not have a page where you can display such list of products, but it is possible to achieve this with available tools in ps. go to advanced parameters > sql manager create new sql query ("Add new sql query") name it "not viewed products" use this sql code: SELECT p.id_product, pl.name FROM ps_product p LEFT JOIN ps_product_lang pl ON pl.id_product = p.id_product WHERE p.id_product NOT IN ( SELECT page.id_object AS id_product FROM ps_page page INNER JOIN ps_page_type paget ON page.id_page_type = paget.id_page_type WHERE paget.name='product' ) AND pl.id_lang=1 the result will be the list of products that were not viewed please note that this require "data mining" module installed and enabled. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now