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

#   product code in pdf invoice

##

- **[river](/forum/user/9591-river "View river's Profile")**
- [![river's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9591.gif)](/forum/user/9591-river "View river's Profile")
- [ Offline](/forum/user/9591-river)

Less More

- Posts: 344
- Thank you received: 3
-
-

10 years 6 months ago [\#239970](#239970) by [river](/forum/user/9591-river "View river's Profile")  Replied by *[river](/forum/user/9591-river "View river's Profile")* on topic *[product code in pdf invoice](/forum/30-integrations/870089-product-code-in-pdf-invoice?start=20#239970 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.2 -- PHP version -- : 5.5.11 -- Browser(s) name and version -- : Firefox 31.0  Hi I use the pdf invoice plugin. I'd like to display the product code in my pdf invoice. I'd lke to have the product code with the product name. I do have the product code in the email but not in the pdf invoice. What do I need to add? Thanks in advance")*

Hi tnx for reply.

How would you implement this code Code:

$productClass = hikashop_get('class.product'); $productData = $productClass-&gt;get($product-&gt;product_id); if($productData-&gt;product_quantity&gt;0) echo 'Product on stock';

...into my already existing code which looks like this:
Code:

$productClass = hikashop_get('class.product'); $productData = $productClass-&gt;get($product-&gt;product_id); if($productData-&gt;product_parent_id){ $parentProductData = $productClass-&gt;get($product-&gt;product_parent_id); $productData-&gt;product_manufacturer_id = $parentProductData-&gt;product_manufacturer_id; } $categoryClass = hikashop_get('class.category'); $category = $categoryClass-&gt;get($productData-&gt;product_manufacturer_id); echo $category-&gt;category_name;

any advice ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NzAwODktcHJvZHVjdC1jb2RlLWluLXBkZi1pbnZvaWNlP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

10 years 6 months ago [\#239982](#239982) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[product code in pdf invoice](/forum/30-integrations/870089-product-code-in-pdf-invoice?start=20#239982 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.2 -- PHP version -- : 5.5.11 -- Browser(s) name and version -- : Firefox 31.0  Hi I use the pdf invoice plugin. I'd like to display the product code in my pdf invoice. I'd lke to have the product code with the product name. I do have the product code in the email but not in the pdf invoice. What do I need to add? Thanks in advance")*

Hi,

You could add it before, or after.

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

- **[river](/forum/user/9591-river "View river's Profile")**
- [![river's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9591.gif)](/forum/user/9591-river "View river's Profile")
- [ Offline](/forum/user/9591-river)

Less More

- Posts: 344
- Thank you received: 3
-
-

9 years 11 months ago [\#256744](#256744) by [river](/forum/user/9591-river "View river's Profile")  Replied by *[river](/forum/user/9591-river "View river's Profile")* on topic *[product code in pdf invoice](/forum/30-integrations/870089-product-code-in-pdf-invoice?start=20#256744 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.2 -- PHP version -- : 5.5.11 -- Browser(s) name and version -- : Firefox 31.0  Hi I use the pdf invoice plugin. I'd like to display the product code in my pdf invoice. I'd lke to have the product code with the product name. I do have the product code in the email but not in the pdf invoice. What do I need to add? Thanks in advance")*

Joomla 3.6.4
Hikashop 2.6.4
Hikamarket 1.7.2

Just bought Hikamarket. Very happy about it.
Is it possible to place the "Vendor name" which is attached to the product below the product name in the on the PDF invoice.

Please see image below.

[ ![vendor&#95;name.png](/forum/attachment/34978) ](/forum/attachment/34978 "vendor&#95;name.png")

If so, any advice on what the code will be ?

Tnx.

- [ ![vendor&#95;name.png](/forum/attachment/34978) ](/forum/attachment/34978 "vendor&#95;name.png") [ ](/forum/attachment/34978?download=1 "vendor&#95;name.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NzAwODktcHJvZHVjdC1jb2RlLWluLXBkZi1pbnZvaWNlP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) 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: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 11 months ago [\#256761](#256761) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[product code in pdf invoice](/forum/30-integrations/870089-product-code-in-pdf-invoice?start=20#256761 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.2 -- PHP version -- : 5.5.11 -- Browser(s) name and version -- : Firefox 31.0  Hi I use the pdf invoice plugin. I'd like to display the product code in my pdf invoice. I'd lke to have the product code with the product name. I do have the product code in the email but not in the pdf invoice. What do I need to add? Thanks in advance")*

Hi,

Please open a new thread in the HikaMarket section of the forum.
It is possible to add some code in the PDF plugin view in order to handle and display vendors ; but it requires some specific code to do so.

Regards,

---

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

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

- **[river](/forum/user/9591-river "View river's Profile")**
- [![river's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9591.gif)](/forum/user/9591-river "View river's Profile")
- [ Offline](/forum/user/9591-river)

Less More

- Posts: 344
- Thank you received: 3
-
-

9 years 11 months ago [\#256794](#256794) by [river](/forum/user/9591-river "View river's Profile")  Replied by *[river](/forum/user/9591-river "View river's Profile")* on topic *[product code in pdf invoice](/forum/30-integrations/870089-product-code-in-pdf-invoice?start=20#256794 "-- url of the page with the problem -- : local -- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.2 -- PHP version -- : 5.5.11 -- Browser(s) name and version -- : Firefox 31.0  Hi I use the pdf invoice plugin. I'd like to display the product code in my pdf invoice. I'd lke to have the product code with the product name. I do have the product code in the email but not in the pdf invoice. What do I need to add? Thanks in advance")*

Tnx

just did.
[ ](https://www.hikashop.com/forum/19-hikamarket/887772-vendor-name-in-pdf-invoice.html#256793)[ www.hikashop.com/forum/19-hikamarket/887...-invoice.html#256793](https://www.hikashop.com/forum/19-hikamarket/887772-vendor-name-in-pdf-invoice.html#256793https://www.hikashop.com/forum/19-hikamarket/887772-vendor-name-in-pdf-invoice.html#256793)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMwLWludGVncmF0aW9ucy84NzAwODktcHJvZHVjdC1jb2RlLWluLXBkZi1pbnZvaWNlP3N0YXJ0PTIwJnRtcGw9bWFya2Rvd24=) 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.074 seconds

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