Jump to content
Sign in to follow this  

Configurare product-list pentru a afisa color picker - ajutor

Recommended Posts


cum 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-venit


Share this post

Link to post
Share on other sites

imi poti da un link catre varianta de pe forumul francez?

Share this post

Link to post
Share on other sites

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}


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


Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More