Champs personnalisés lié a un produit visible dans un mail de suivi de commande

  • Posts: 28
  • Thank you received: 3
  • Hikashop Business
4 years 4 months ago #313580

-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.12

Bonjour,

J'ai créé un champ personnalisé de type URL pour mes produits.



Je souhaite qu'il me permette d'indiquer une URL accessible une fois le produit acheté uniquement dans le mail envoyé à l'acheteur ...

J'ai donc identifié le ORDER_STATUS_NOTIFICATION_SUBJECT que je dois modifier pour y faire afficher mon champ créé et argumenté pour certains de mes produits.

Mais je n'arrive pas à faire apparaitre l'URL dans le mail envoyé au final à l'acheteur.
J'ai tenté plusieurs choses, j'en suis là :

<!--{START:PRODUCT_LINE}-->
	<tr>
		<td style="border-bottom:1px solid #ddd;padding-bottom:3px;">
			{LINEVAR:PRODUCT_IMG}
			{LINEVAR:PRODUCT_NAME}<!--{IF:ORDER_PRODUCT_CODE}--> {LINEVAR:PRODUCT_CODE}<!--{ENDIF:ORDER_PRODUCT_CODE}-->
			{LINEVAR:PRODUCT_DOWNLOAD}
			{LINEVAR:PRODUCT_DETAILS}
         	{LINEVAR:PRODUCT_urlaccespayant}
		</td>
		{LINEVAR:CUSTOMFIELD_VALUE}
		<td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right">{LINEVAR:PRODUCT_PRICE}</td>
		<td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right">{LINEVAR:PRODUCT_QUANTITY}</td>
		<td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right">{LINEVAR:PRODUCT_TOTAL}</td>
	</tr>
<!--{END:PRODUCT_LINE}-->

J'ai essayé avec
{LINEVAR:PRODUCT.urlaccespayant}
avec
{LINEVAR:PRODUCT.20}

J'avoue que je sèche ...

Attachments:
Last edit: 4 years 4 months ago by LaMarelle.

Please Log in or Create an account to join the conversation.

  • Posts: 81515
  • Thank you received: 13068
  • MODERATOR
4 years 4 months ago #313584

Bonjour,

Vous devriez essayer avec

{LINEVAR:product.urlaccespayant}

The following user(s) said Thank You: LaMarelle

Please Log in or Create an account to join the conversation.

  • Posts: 28
  • Thank you received: 3
  • Hikashop Business
4 years 4 months ago #313605

ça marche !!

Merci beaucoup :-)

Please Log in or Create an account to join the conversation.

Time to create page: 0.055 seconds
Powered by Kunena Forum