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

#   {LINEVAR:product.product\_manufacturer} not working

##

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

Less More

- Posts: 30
- Thank you received: 0
-
-

10 years 2 months ago [\#250441](#250441) by [syno](/forum/user/40370-syno "View syno's Profile")  *[{LINEVAR:product.product\_manufacturer} not working](/forum/35-orders-management/886533-linevar-product-product-manufacturer-not-working#250441 "-- HikaShop version -- : 264 -- Joomla version -- : 362  'Hello,  I created a custom email for order status notification and I need the manufacturer for each product.  I tried the solution from but I can't get it to work.  What am I missing? Please let me know what you need to help me with this.  Thank You!  Regards, Syno")* was created by *[syno](/forum/user/40370-syno "View syno's Profile")*

-- HikaShop version -- : 264
-- Joomla version -- : 362

'Hello,

I created a custom email for order status notification and I need the manufacturer for each product.

I tried the solution from [ this topic](http://www.hikashop.com/forum/5-support-en-francais-french-support-/864347-linevar-product-manufacturer-pour-email.html#250440) but I can't get it to work.

What am I missing? Please let me know what you need to help me with this.

Thank You!

Regards,
Syno

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NjUzMy1saW5ldmFyLXByb2R1Y3QtcHJvZHVjdC1tYW51ZmFjdHVyZXItbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) 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")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

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

10 years 2 months ago [\#250442](#250442) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[{LINEVAR:product.product\_manufacturer} not working](/forum/35-orders-management/886533-linevar-product-product-manufacturer-not-working#250442 "-- HikaShop version -- : 264 -- Joomla version -- : 362  'Hello,  I created a custom email for order status notification and I need the manufacturer for each product.  I tried the solution from but I can't get it to work.  What am I missing? Please let me know what you need to help me with this.  Thank You!  Regards, Syno")*

Hi,

As asked in the other thread :

> Did you insert it between the &lt;!--{START:PRODUCT\_LINE}--&gt; and &lt;!--{END:PRODUCT\_LINE}--&gt; tags of your HTML version ?

Regards,

---

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

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

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

Less More

- Posts: 30
- Thank you received: 0
-
-

10 years 2 months ago [\#250494](#250494) by [syno](/forum/user/40370-syno "View syno's Profile")  Replied by *[syno](/forum/user/40370-syno "View syno's Profile")* on topic *[{LINEVAR:product.product\_manufacturer} not working](/forum/35-orders-management/886533-linevar-product-product-manufacturer-not-working#250494 "-- HikaShop version -- : 264 -- Joomla version -- : 362  'Hello,  I created a custom email for order status notification and I need the manufacturer for each product.  I tried the solution from but I can't get it to work.  What am I missing? Please let me know what you need to help me with this.  Thank You!  Regards, Syno")*

Hello Jerome,

thank you for your answer! Yes I did. My code looks like this:
Code:

&lt;!--{START:PRODUCT_LINE}--&gt; &lt;tr&gt; &lt;td style="border-bottom: 1px solid #ddd; text-align: left;"&gt;{LINEVAR:PRODUCT_CODE}&lt;/td&gt; &lt;td style="border-bottom: 1px solid #ddd; text-align: left;"&gt;{LINEVAR:PRODUCT_NAME}&lt;/td&gt; &lt;td style="border-bottom: 1px solid #ddd; text-align: left;"&gt;{LINEVAR:product.product_manufacturer}&lt;/td&gt; &lt;td style="border-bottom: 1px solid #ddd; text-align: left;"&gt;{LINEVAR:PRODUCT_QUANTITY}&lt;/td&gt; &lt;/tr&gt; &lt;!--{END:PRODUCT_LINE}--&gt;&lt;/tbody&gt;

Regards,
Syno

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NjUzMy1saW5ldmFyLXByb2R1Y3QtcHJvZHVjdC1tYW51ZmFjdHVyZXItbm90LXdvcmtpbmc/dG1wbD1tYXJrZG93bg==) 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: 86583
- Thank you received: 14324
-
-

10 years 2 months ago [\#250508](#250508) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[{LINEVAR:product.product\_manufacturer} not working](/forum/35-orders-management/886533-linevar-product-product-manufacturer-not-working#250508 "-- HikaShop version -- : 264 -- Joomla version -- : 362  'Hello,  I created a custom email for order status notification and I need the manufacturer for each product.  I tried the solution from but I can't get it to work.  What am I missing? Please let me know what you need to help me with this.  Thank You!  Regards, Syno")*

Hi,

I think that you'll have to add such code: Code:

$categoryClass = hikashop_get('class.category'); $manufacturer = $categoryClass-&gt;get($product-&gt;product_manufacturer_id); $product-&gt;product_manufacturer = $manufacturer-&gt;category_name;

after the line: Code:

$product = @$productClass-&gt;all_products[$item-&gt;product_id];

in the preload of the email for that to work.

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

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

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

Less More

- Posts: 30
- Thank you received: 0
-
-

10 years 2 months ago [\#250572](#250572) by [syno](/forum/user/40370-syno "View syno's Profile")  Replied by *[syno](/forum/user/40370-syno "View syno's Profile")* on topic *[{LINEVAR:product.product\_manufacturer} not working](/forum/35-orders-management/886533-linevar-product-product-manufacturer-not-working#250572 "-- HikaShop version -- : 264 -- Joomla version -- : 362  'Hello,  I created a custom email for order status notification and I need the manufacturer for each product.  I tried the solution from but I can't get it to work.  What am I missing? Please let me know what you need to help me with this.  Thank You!  Regards, Syno")*

Hello Nicolas,

Perfect! This is exactly what I needed.

Thank you so much!

Regards,
Syno

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

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