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

#   product\_code on the order form/invoice

##

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

Less More

- Posts: 152
- Thank you received: 0
-
-
-
- [](http://potluckceramics.ca)
-

14 years 9 months ago -  14 years 9 months ago [\#38954](#38954) by [Jims](/forum/user/2963-jims "View Jims's Profile")  *[product\_code on the order form/invoice](/forum/4-how-to/38954-product-code-on-the-order-form-invoice#38954 "I edited the quantity php file to show the product code and product name on the checkout and on the email form that goes to the customer, but the product&#95;code des not appear on the emailed invoice/order form  that goes to the business.  What do I need to edit to show the product&#95;code on the emailed order form.  The product&#95;code DOES appear on the order as seen on the backend.  Jim  ADDITIONAL INFORMATION: I did find the emails section (I was looking in Display/Views earlier) and I added the product code to the email. But I don't know the internal codes because this is what I get in the email.  I get the price not the product&#95;code??  PS I now see why I get the price and not the product code, but my PHP knowledge is not up to getting the correct coding to get the product&#95;code shown, which I would have expected to have been included in this email.")* was created by *[Jims](/forum/user/2963-jims "View Jims's Profile")*

I edited the quantity php file to show the product code and product name on the checkout and on the email form that goes to the customer, but the product_code des not appear on the emailed invoice/order form

[ ![order.JPG](/forum/attachment/2708) ](/forum/attachment/2708 "order.JPG")

that goes to the business.

What do I need to edit to show the product_code on the emailed order form.

The product_code DOES appear on the order as seen on the backend.

Jim

ADDITIONAL INFORMATION:
I did find the emails section (I was looking in Display/Views earlier) and I added the product code to the email. But I don't know the internal codes because this is what I get in the email.

[ ![order2.JPG](/forum/attachment/2709) ](/forum/attachment/2709 "order2.JPG")

I get the price not the product_code??

PS I now see why I get the price and not the product code, but my PHP knowledge is not up to getting the correct coding to get the product_code shown, which I would have expected to have been included in this email.

- [ ![order.JPG](/forum/attachment/2708) ](/forum/attachment/2708 "order.JPG") [ ](/forum/attachment/2708?download=1 "order.JPG")
- [ ![order2.JPG](/forum/attachment/2709) ](/forum/attachment/2709 "order2.JPG") [ ](/forum/attachment/2709?download=1 "order2.JPG")

Last edit: 14 years 9 months ago by [Jims](/forum/user/2963-jims "View Jims's Profile"). Reason: additional information

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4OTU0LXByb2R1Y3QtY29kZS1vbi10aGUtb3JkZXItZm9ybS1pbnZvaWNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

14 years 9 months ago [\#39027](#39027) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Re: product\_code on the order form/invoice](/forum/4-how-to/38954-product-code-on-the-order-form-invoice#39027 "I edited the quantity php file to show the product code and product name on the checkout and on the email form that goes to the customer, but the product&#95;code des not appear on the emailed invoice/order form  that goes to the business.  What do I need to edit to show the product&#95;code on the emailed order form.  The product&#95;code DOES appear on the order as seen on the backend.  Jim  ADDITIONAL INFORMATION: I did find the emails section (I was looking in Display/Views earlier) and I added the product code to the email. But I don't know the internal codes because this is what I get in the email.  I get the price not the product&#95;code??  PS I now see why I get the price and not the product code, but my PHP knowledge is not up to getting the correct coding to get the product&#95;code shown, which I would have expected to have been included in this email.")*

Hi,

In the email, you can use this: Code:

&lt;td&gt; &lt;?php echo $item-&gt;order_product_code; ?&gt; &lt;/td&gt;

You have to past it just before: Code:

&lt;td&gt; &lt;?php echo $currencyHelper-&gt;format($item-&gt;order_product_price+$item-&gt;order_product_tax,$data-&gt;order_currency_id); ?&gt; &lt;/td&gt;

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [Jims](/forum/user/2963-jims "View Jims's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4OTU0LXByb2R1Y3QtY29kZS1vbi10aGUtb3JkZXItZm9ybS1pbnZvaWNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 152
- Thank you received: 0
-
-
-
- [](http://potluckceramics.ca)
-

14 years 9 months ago [\#39033](#39033) by [Jims](/forum/user/2963-jims "View Jims's Profile")  Replied by *[Jims](/forum/user/2963-jims "View Jims's Profile")* on topic *[Re: product\_code on the order form/invoice](/forum/4-how-to/38954-product-code-on-the-order-form-invoice#39033 "I edited the quantity php file to show the product code and product name on the checkout and on the email form that goes to the customer, but the product&#95;code des not appear on the emailed invoice/order form  that goes to the business.  What do I need to edit to show the product&#95;code on the emailed order form.  The product&#95;code DOES appear on the order as seen on the backend.  Jim  ADDITIONAL INFORMATION: I did find the emails section (I was looking in Display/Views earlier) and I added the product code to the email. But I don't know the internal codes because this is what I get in the email.  I get the price not the product&#95;code??  PS I now see why I get the price and not the product code, but my PHP knowledge is not up to getting the correct coding to get the product&#95;code shown, which I would have expected to have been included in this email.")*

Many thanks indeed, Jerome.

Works perfectly.

Jim

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzM4OTU0LXByb2R1Y3QtY29kZS1vbi10aGUtb3JkZXItZm9ybS1pbnZvaWNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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.048 seconds

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