Jump to content

rodgrolop

Members
  • Posts

    3
  • Joined

  • Last visited

Profile Information

  • First Name
    Rodrigo
  • Last Name
    Gross

rodgrolop's Achievements

Newbie

Newbie (1/14)

3

Reputation

1

Community Answers

  1. Cool, everything working again, I must say that hakeryk2 was correct, my issue was that I was changing codes in wrong place. I dont know if it is something that Prestashop does or the tempate itself, but I had a copy of blocklayered.tppl in my template files and is there where hakeryk2 solution has worked.
  2. You´re welcome everybody. It´s funny how i´ve broken everything after an update of the site where this was implemented and now can´t figure how to set it. It seem routes have changed in updates or something like that, I´m working right now in solving this, I´ll come back with solution for people that lost this solution with upgrades. I´ve tried this too because seemed like a good aproach having the issue while checking if there is such attribute but had no luck. I´ll keep you all updated.
  3. I don´t know if anybody is still interested in this issue, but after a long day of research i´ve been able to solve this huge problem. Here is the solution that has worked for me: in your theme blocklayered.tpl file, in modules folder, look for this line: {if isset($value.color)}{if file_exists($smarty.const._PS_ROOT_DIR_|cat:"/img/co/$id_value.jpg")}url(img/co/{$id_value}.jpg){else}{$value.color}{/if}{else}#CCC{/if} and replace it with: {if isset($value.color)}{if file_exists($col_img_dir|cat:$id_value|cat:'.jpg')}url({$img_col_dir}{$id_value}.jpg){else}{$value.color}{/if}{else}#CCC{/if}
×
×
  • Create New...