Emails - notification administrator - code

  • Posts: 73
  • Thank you received: 1
11 years 3 months ago #116283

Hi,
I would like to know how I can obtain the "code" of a product in the email sent to the administrator when a product is ordered?
Thank you!

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

  • Posts: 82730
  • Thank you received: 13343
  • MODERATOR
11 years 3 months ago #116297

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

  • Posts: 73
  • Thank you received: 1
11 years 3 months ago #116302

Thank you. So the code is:
<p><?php echo $item->order_product_name . ' (' . $item->order_product_code . ')'; ?></p>
But where I must copy it into the email document "Order administrator notification"?
Any place or a precise place of the document?

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

  • Posts: 82730
  • Thank you received: 13343
  • MODERATOR
11 years 3 months ago #116378

You need to replace:
<p><?php echo $item->order_product_name; ?></p>

by:
<p><?php echo $item->order_product_name . ' (' . $item->order_product_code . ')'; ?></p>

The following user(s) said Thank You: julian56

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

  • Posts: 73
  • Thank you received: 1
11 years 3 months ago #116428

Thank you fo ryour answer!
To follow the possible updates of this email: is it possible to include in this email to the administrator the indication of the shipping (using USPS) chosen by the customer?

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

  • Posts: 82730
  • Thank you received: 13343
  • MODERATOR
11 years 3 months ago #116461
The following user(s) said Thank You: julian56

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

Time to create page: 0.070 seconds
Powered by Kunena Forum