Jump to content

savoir quel code promo a été utilisé...


Claire

Recommended Posts

Bonjour,

Ma boutique est sous Presta 1.6.1.8.

J'ai crée via les règles paniers 3 codes promo différents A-B et C (3 opérations marketing différentes) qui offrent le même cadeau X.

Quand un client passe commande, je sais qu'il a saisi un code promo, car le cadeau X apparait dans son panier. Par contre, je ne vois nulle part l'information du code utilisé A-B ou C.

Quelqu'un a eu le même souci ? Merci !

Link to comment
Share on other sites

Avez-vous ce code vers la ligne 1021 de /votre_admin/themes/default/template/controllers/orders/helpers/view/view.tpl ?

										<tbody>
											{foreach from=$discounts item=discount}
											<tr>
												<td>{$discount['name']}</td>
												<td>
												{if $discount['value'] != 0.00}
													-
												{/if}
												{displayPrice price=$discount['value'] currency=$currency->id}
												</td>
												{if $can_edit}
												<td>
													<a href="{$current_index}&amp;submitDeleteVoucher&amp;id_order_cart_rule={$discount['id_order_cart_rule']}&amp;id_order={$order->id}&amp;token={$smarty.get.token|escape:'html':'UTF-8'}">
														<i class="icon-minus-sign"></i>
														{l s='Delete voucher'}
													</a>
												</td>
												{/if}
											</tr>
											{/foreach}
										</tbody>

 

Link to comment
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
×
×
  • Create New...