sye1993 Posted August 24, 2016 Share Posted August 24, 2016 I already changed to not display the product by making it only searchable, but it still shows up on best seller, how can i hide these products. Another problem is my new arrival shows nothing, we have added products recently but nothing shows up. HEEEEELP! Deadline is coming and lottttttttts of buggs Link to comment Share on other sites More sharing options...
rocky Posted August 25, 2016 Share Posted August 25, 2016 Try changing lines 125 and 199 of classes/ProductSale.php from: AND p.`visibility` != \'none\''; to: AND p.`visibility` != \'none\' AND p.`visibility` != \'search\''; Regarding the "New arrivals", go to the Preferences > Products tab in the Back Office and check the value of "Number of days for which the product is considered new". By default, products added less than 20 days ago are considered new. Adjust that value as necessary. Link to comment Share on other sites More sharing options...
sye1993 Posted August 25, 2016 Author Share Posted August 25, 2016 Try changing lines 125 and 199 of classes/ProductSale.php from: AND p.`visibility` != \'none\''; to: AND p.`visibility` != \'none\'' AND p.`visibility` != \'search\'; Regarding the "New arrivals", go to the Preferences > Products tab in the Back Office and check the value of "Number of days for which the product is considered new". By default, products added less than 20 days ago are considered new. Adjust that value as necessary. Hi thank you but after i changed code it did not work. the best seller directs me to an error and cannot open the website. please help me on this. Link to comment Share on other sites More sharing options...
rocky Posted August 26, 2016 Share Posted August 26, 2016 Oops, my mistake. I had a ' in the wrong place. I moved it near the end of the line and updated my code above. Try again. 1 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