standdowncafe Posted July 12, 2015 Share Posted July 12, 2015 Hello guys, i need your help. My shop is on Prestashop 1.6 and i have this issue - when i add new items in shop, all is fine, coz at that time my page is populated with those items in the lower side of the page. Yet, if i don't add new item, there's none shown on that area, even if i have "popular items" module activated. How can i set this module to be visible by default , not only if the customer hits the tab ? Thank you, Link to comment Share on other sites More sharing options...
vekia Posted July 13, 2015 Share Posted July 13, 2015 hello can you please share url to your shop? it can be a case of some css styles Link to comment Share on other sites More sharing options...
standdowncafe Posted July 13, 2015 Author Share Posted July 13, 2015 Yes, sure here it is http://pentruprichindei.ro/ Link to comment Share on other sites More sharing options...
standdowncafe Posted July 16, 2015 Author Share Posted July 16, 2015 Any other idea ? Link to comment Share on other sites More sharing options...
vekia Posted July 17, 2015 Share Posted July 17, 2015 what is the exact number of your prestashop? (1.6.x.x) Link to comment Share on other sites More sharing options...
standdowncafe Posted July 17, 2015 Author Share Posted July 17, 2015 is 1.6.0.5 I never did updates, was kinda scared of losing things i've done by now. Link to comment Share on other sites More sharing options...
standdowncafe Posted July 28, 2015 Author Share Posted July 28, 2015 Anyone here ? ^^ I am still looking for support on this Link to comment Share on other sites More sharing options...
NemoPS Posted July 29, 2015 Share Posted July 29, 2015 Are those products actually associated to the home category? Link to comment Share on other sites More sharing options...
standdowncafe Posted July 29, 2015 Author Share Posted July 29, 2015 Yes Nemo, they are in the right category. Problem is not that they are not visible in category, but the category is not present, by default, on first page Visit my link http://pentruprichindei.ro/ You will find, under central banner, the tab "Popular" - click and you will see 12 random products. My wish is that this category to be by default present and visible when someone visit my shop. This would not be a problem if i would have a constant input for new products, that category will be visible. Link to comment Share on other sites More sharing options...
NemoPS Posted July 31, 2015 Share Posted July 31, 2015 Ah! So you want to replace your homepage with the home category?It's more complex than it seems. You'd have to modify the indexcontroller, fetch content using category::getProducts, assign them and return the category.tpl template instead. Just mimic the categorycontroller basically -or- Do you mean it needs to be visible in the first place? Link to comment Share on other sites More sharing options...
standdowncafe Posted July 31, 2015 Author Share Posted July 31, 2015 (edited) Wait wait..I will attach 2 pics Pic number one - Actual view - its what you see if you hit my URL Pic number two - Wanted view - its what i want to see if i hit my URL without "clicking" the "POPULAR" button there in image. P.S. All these problems wont be a problem if i would have constant new products in shop. I think its this what i want "or- Do you mean it needs to be visible in the first place?" Edited July 31, 2015 by standdowncafe (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted August 1, 2015 Share Posted August 1, 2015 Ah!Ok, in this case it's a js issue. You might as well want to hardcode the active state on the popular tab, since it's the only one.First, clear cache, see if it helps. If not: theme folder, js, index,js. Does it look like this? $(document).ready(function(){ $('#home-page-tabs li:first, #index .tab-content ul:first').addClass('active'); });That's on 1.6.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