Troppau Posted January 26, 2011 Posted January 26, 2011 Hack jsem zkoušel na Prestashop 1.3.5. a je funkční.Díky této úpravě lze nastrkat do "Home" kategorie téměř cokoliv a jak zákazníci, tak hlavně google a seznam dostanou pokaždé novou stránku.Mělo by to fungovat obecné pro jakoukoliv stránku s výpisem zboží, ale já to zkoušel zatím jenom na Doporučených produktech:Editujte:/modules/homefeatured/homefeatured.phppůvodní stav: tento stav je přibližný mohou se najít drobné odychylky $products = $category->getProducts(intval($params['cookie']->id_lang), 1, ($nb ? $nb : 10)); nový stav: $products = $category->getProducts(intval($params['cookie']->id_lang), 1, 100); if ($products) { shuffle($products); array_splice($products, ($nb ? $nb : 10)); } 1 Share this post Link to post Share on other sites More sharing options...
Sem Tam Posted January 26, 2011 Posted January 26, 2011 Na to existuje modul se sirokymi moznostmi nastaveni:http://www.prestashop.com/forums/viewthread/8830/third_party_modules/homepagefeatured__custom_ Share this post Link to post Share on other sites More sharing options...
optiplex1 Posted January 26, 2011 Posted January 26, 2011 thanks for sending the solution.after the visiting my problem is solve . Na to existuje modul se sirokymi moznostmi nastaveni:http://www.prestashop.com/forums/viewthread/8830/third_party_modules/homepagefeatured__custom_ Share this post Link to post Share on other sites More sharing options...
Troppau Posted January 26, 2011 Posted January 26, 2011 Na to existuje modul se sirokymi moznostmi nastaveni:http://www.prestashop.com/forums/viewthread/8830/third_party_modules/homepagefeatured__custom_ Myslím, že je hodně lidí, kterým bude stačit takovýto jednoduchý postup, místo kupování modulu... Share this post Link to post Share on other sites More sharing options...
Sem Tam Posted January 26, 2011 Posted January 26, 2011 Na to existuje modul se sirokymi moznostmi nastaveni:http://www.prestashop.com/forums/viewthread/8830/third_party_modules/homepagefeatured__custom_ Myslím, že je hodně lidí, kterým bude stačit takovýto jednoduchý postup, místo kupování modulu... Ten modul je zadarmo...Ale urcite je lepsi upravovat kod php souboru, nez si stahnout a nainstalovat modul, kde si jednoduse v administraci zvolim co potrebuju... ;-) Share this post Link to post Share on other sites More sharing options...
Prasivka Posted May 11, 2011 Posted May 11, 2011 ahoj, potvrzuji funkcnost hacku na PS 1.4.1.pod odkazovanym vlaknem neni odkaz na dany modul a jeho nova verze je jiz placena... navic podle reakci jeho autor jiz neni aktivni. Share this post Link to post Share on other sites More sharing options...
flavio.cz Posted November 18, 2011 Posted November 18, 2011 Úprava kódu v prvním příspěvku funguje i ve verzi 1.4.5.1 V modulu homefeatured se mi ale zobrazuje pouze zboží, které je v kategorii "Home". Poradíte co udělat, aby se tam zobrazovalo i zboží, které je mimo (a to pouze mimo) hlavní kategorii? Share this post Link to post Share on other sites More sharing options...
josejumbo Posted November 18, 2011 Posted November 18, 2011 Je to SUPER na 1.4.4.1 funguje! DĚKUJI TROPPAU! Share this post Link to post Share on other sites More sharing options...
ViktorT Posted January 3, 2012 Posted January 3, 2012 Super jednoduché, funguje , díky Share this post Link to post Share on other sites More sharing options...
Aramon Posted January 11, 2012 Posted January 11, 2012 Potvrzuju funkčnost hacku na 1.4.6.2 Share this post Link to post Share on other sites More sharing options...
Mlsounkov Posted February 19, 2012 Posted February 19, 2012 Na ver. 1.4.7.0 funguje. Díky. Share this post Link to post Share on other sites More sharing options...
Shottik Posted October 17, 2012 Posted October 17, 2012 Tak tahle úprava php souboru funguje i na verzi 1.5.1 :-) Super. Díky. Share this post Link to post Share on other sites More sharing options...
jary.85 Posted September 13, 2013 Posted September 13, 2013 Tak mě to teď úprava také fungovala ale u 1.5.5.0 už mi to nějak nejde. Není nějaké náhrada v podobě modulu či nová úprava kódu?? Share this post Link to post 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