Jump to content

sferrero

New Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by sferrero

  1. I'm developing a module that links 2 products (in the example a white t-shirt and a black t-shirt), so in the product page instead of 1 color, there are both colors, like this: : In order to do that I modified the product-variants.tpl file like this: <input {if $group_attribute.url != ""} onclick="location.href='{$group_attribute.url}'"{/if} class="input-color" type="radio" data-product-attribute="{$id_attribute_group}" name="group[{$id_attribute_group}]" value="{$id_attribute}"{if $group_attribute.selected} checked="checked"{/if}> And it works perfectly (of course I modified the controller, and a few more things, but that's not the problem). My problem is that if I upload the module to the prestashop addons so everyone can download, the tpl file won't be modified, how can I modify that?
×
×
  • Create New...