parapgab Posted May 3, 2012 Share Posted May 3, 2012 Bonjour à tous Tout est dans le titre grand débutant j'essaye de mettre en place une catégorie vente au mètre en me servant du champ personalisé. je passe par shopping-cart.tpl et shopping-cart-produc-line.tpl ( peut on passer autrement ?) j'ai essayé de récupérer le champ personnalisé en "bidouillant" ceci mais il doit manqué quelque chose ... si quelq'un pourrait m'éclairer {if isset($customizedDatas.$productId.$productAttributeId)} {foreach from=$customizedDatas.$productId.$productAttributeId key='id_customization' item='customization'} {foreach from=$customization.datas key='type' item='datas'} {if $type == $CUSTOMIZE_TEXTFIELD} {foreach from=$datas item='textField' name='typedText'} {displayPrice price=$total_products*$textField.value}{$textField.value}{/foreach} {/if} {/foreach} {/foreach} {/if} {/foreach} Link to comment Share on other sites More sharing options...
parapgab Posted May 4, 2012 Author Share Posted May 4, 2012 j'ai bientôt fini, mal à la tête pour essayer de tout comprendre il me manque une fonction et je voudrai savoir si elle existe déjà Comment récuperer la catégorie du produit dans shopping-cart.tpl si une âme charitable pourrait m'aider 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