[Skip to main content](#vessel-content)

#   Send An Email When Product Status Is Updated

##

- **[davec](/forum/user/7092-davec "View davec's Profile")**
- [![davec's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7092-davec "View davec's Profile") Topic Author
- [ Offline](/forum/user/7092-davec)

Less More

- Posts: 447
- Thank you received: 20
-
-

5 years 2 months ago -  5 years 2 months ago [\#334854](#334854) by [davec](/forum/user/7092-davec "View davec's Profile")  *[Send An Email When Product Status Is Updated](/forum/25-install-update/903039-send-an-email-when-product-status-is-updated#334854 "-- HikaShop version -- : 4.4.3  Hi  My customer has asked if it it possible to send an email when the status of a product is updated. Currently there is an ETA custom field so that his customers know the estimated time for delivery is. These are shown in the emails currently sent out after the order is placed and on the sites product pages.  So would it be fairly straightforward to create an email based on the existing emails by status in the Hikashop system by possibly creating a new status ETA and then using the actions button on the orders. So in this case I would use the following tag {LINEVAR:TABLE.XXX} replacing xxx with eta which is the column name as part of the email?  Thanks  David  PS: Sorry I have just realised I have posted this in the wrong section")* was created by *[davec](/forum/user/7092-davec "View davec's Profile")*

-- HikaShop version -- : 4.4.3

Hi

My customer has asked if it it possible to send an email when the status of a product is updated. Currently there is an ETA custom field so that his customers know the estimated time for delivery is. These are shown in the emails currently sent out after the order is placed and on the sites product pages.

So would it be fairly straightforward to create an email based on the existing emails by status in the Hikashop system by possibly creating a new status ETA and then using the actions button on the orders. So in this case I would use the following tag {LINEVAR:TABLE.XXX} replacing xxx with eta which is the column name as part of the email?

Thanks

David

PS: Sorry I have just realised I have posted this in the wrong section

Last edit: 5 years 2 months ago by [davec](/forum/user/7092-davec "View davec's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMzAzOS1zZW5kLWFuLWVtYWlsLXdoZW4tcHJvZHVjdC1zdGF0dXMtaXMtdXBkYXRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

5 years 2 months ago [\#334855](#334855) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Send An Email When Product Status Is Updated](/forum/25-install-update/903039-send-an-email-when-product-status-is-updated#334855 "-- HikaShop version -- : 4.4.3  Hi  My customer has asked if it it possible to send an email when the status of a product is updated. Currently there is an ETA custom field so that his customers know the estimated time for delivery is. These are shown in the emails currently sent out after the order is placed and on the sites product pages.  So would it be fairly straightforward to create an email based on the existing emails by status in the Hikashop system by possibly creating a new status ETA and then using the actions button on the orders. So in this case I would use the following tag {LINEVAR:TABLE.XXX} replacing xxx with eta which is the column name as part of the email?  Thanks  David  PS: Sorry I have just realised I have posted this in the wrong section")*

Hi,

By "Currently there is an ETA custom field" I suppose that you mean that you have a custom item field that you fill with the ETA for each product in each order in the backend.
A custom item field can be displayed automatically below the product name in the "order status notification" (sent when the status of an order is changed), or the "order notification" (sent when you use the "email" button of an order.
So supposing that the email display settings of the custom field are activated (menu Display&gt;Custom fields), that information can be added to the emails automatically without changing any code or doing any customization. It will actually be displayed by the tag {LINEVAR:PRODUCT_DETAILS} in the HTML version.
Now, you can indeed use the {LINEVAR:item.eta} tag to display it without letting the system display it for you, but it has to be displayed between the &lt;!--{START:PRODUCT_LINE}--&gt; and &lt;!--{END:PRODUCT_LINE}--&gt; tags of the HTML version of the email.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMzAzOS1zZW5kLWFuLWVtYWlsLXdoZW4tcHJvZHVjdC1zdGF0dXMtaXMtdXBkYXRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[davec](/forum/user/7092-davec "View davec's Profile")**
- [![davec's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7092-davec "View davec's Profile") Topic Author
- [ Offline](/forum/user/7092-davec)

Less More

- Posts: 447
- Thank you received: 20
-
-

5 years 2 months ago -  5 years 2 months ago [\#334938](#334938) by [davec](/forum/user/7092-davec "View davec's Profile")  Replied by *[davec](/forum/user/7092-davec "View davec's Profile")* on topic *[Send An Email When Product Status Is Updated](/forum/25-install-update/903039-send-an-email-when-product-status-is-updated#334938 "-- HikaShop version -- : 4.4.3  Hi  My customer has asked if it it possible to send an email when the status of a product is updated. Currently there is an ETA custom field so that his customers know the estimated time for delivery is. These are shown in the emails currently sent out after the order is placed and on the sites product pages.  So would it be fairly straightforward to create an email based on the existing emails by status in the Hikashop system by possibly creating a new status ETA and then using the actions button on the orders. So in this case I would use the following tag {LINEVAR:TABLE.XXX} replacing xxx with eta which is the column name as part of the email?  Thanks  David  PS: Sorry I have just realised I have posted this in the wrong section")*

Hi Nicolas

thanks for the reply. So I can configure it like the following at the start of the product line if it needs to be at the top?
Code:

&lt;!--{START:PRODUCT_LINE}--&gt; &lt;tr&gt;&lt;td colspan="4"&gt;&lt;b&gt;You Have A NEW ETA:&lt;/b&gt; &lt;span style="font-size:20px;"&gt;{LINEVAR:item.eta}&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;"&gt; {LINEVAR:PRODUCT_IMG} {LINEVAR:PRODUCT_NAME}&lt;!--{IF:ORDER_PRODUCT_CODE}--&gt; {LINEVAR:PRODUCT_CODE}&lt;!--{ENDIF:ORDER_PRODUCT_CODE}--&gt; {LINEVAR:PRODUCT_DOWNLOAD} {LINEVAR:PRODUCT_DETAILS} &lt;/td&gt; {LINEVAR:CUSTOMFIELD_VALUE} &lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right"&gt;{LINEVAR:PRODUCT_PRICE}&lt;/td&gt; &lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right"&gt;{LINEVAR:PRODUCT_QUANTITY}&lt;/td&gt; &lt;td style="border-bottom:1px solid #ddd;padding-bottom:3px;text-align:right"&gt;{LINEVAR:PRODUCT_TOTAL}&lt;/td&gt; &lt;/tr&gt; &lt;!--{END:PRODUCT_LINE}--&gt;

Thanks

David

Last edit: 5 years 2 months ago by [davec](/forum/user/7092-davec "View davec's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMzAzOS1zZW5kLWFuLWVtYWlsLXdoZW4tcHJvZHVjdC1zdGF0dXMtaXMtdXBkYXRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14280
-
-

5 years 2 months ago [\#334940](#334940) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Send An Email When Product Status Is Updated](/forum/25-install-update/903039-send-an-email-when-product-status-is-updated#334940 "-- HikaShop version -- : 4.4.3  Hi  My customer has asked if it it possible to send an email when the status of a product is updated. Currently there is an ETA custom field so that his customers know the estimated time for delivery is. These are shown in the emails currently sent out after the order is placed and on the sites product pages.  So would it be fairly straightforward to create an email based on the existing emails by status in the Hikashop system by possibly creating a new status ETA and then using the actions button on the orders. So in this case I would use the following tag {LINEVAR:TABLE.XXX} replacing xxx with eta which is the column name as part of the email?  Thanks  David  PS: Sorry I have just realised I have posted this in the wrong section")*

Hi,

Yes, you can add it like that.

The following user(s) said Thank You: [davec](/forum/user/7092-davec "View davec's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzkwMzAzOS1zZW5kLWFuLWVtYWlsLXdoZW4tcHJvZHVjdC1zdGF0dXMtaXMtdXBkYXRlZD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.067 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
