BoDoPSX Posted June 22, 2010 Share Posted June 22, 2010 salutarecum spune si titlul as dori ca in product-list implicit category.php sa pot afisa color picker-ul. mai exact dupa view sa arata color picker.am incercat varianta data pe forumul francez dar imi da eroare.orice ajutor este bine-venitMultumesc Link to comment Share on other sites More sharing options...
Abh Posted June 22, 2010 Share Posted June 22, 2010 imi poti da un link catre varianta de pe forumul francez? Link to comment Share on other sites More sharing options...
BoDoPSX Posted June 22, 2010 Author Share Posted June 22, 2010 http://www.prestashop.com/forums/viewthread/31103/P15/integration/affichage_des_couleurs_lors_de_laffichage_de_la_liste_de_produits_dot_scuze am uitat linkul. Link to comment Share on other sites More sharing options...
BoDoPSX Posted June 23, 2010 Author Share Posted June 23, 2010 ok am incercat cu smarty si se pare ca am reusit partial sa apara ceva. dar tot nu stiu cum sa fac sa apara si culorile pt a putea alege {if $smarty.now|$colors} <!-- colors --> {l s='Pick a version:' js=1} {foreach from=$colors key='id_attribute' item='color'} {if file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')}{/if} {/foreach} {/if} practic am luat codul de afisare a color picker din product.tpl si am adaugat smarty aici: {if $smarty.now|$colors}in atasament se poate vedea ce afiseaza in acest moment. de aici nu stiu cum sa determin sa afiseze si culorile care trebuiesc alese 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