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

#   Shipping method not showing on invoice

##

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

Less More

- Posts: 50
- Thank you received: 0
-
-

8 years 4 months ago -  8 years 4 months ago [\#294632](#294632) by [cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile")  *[Shipping method not showing on invoice](/forum/35-orders-management/895114-shipping-method-not-showing-on-invoice#294632 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.7 -- Browser(s) name and version -- : firefox -- Error-message(debug-mod must be tuned on) -- : Shipping method : Notice: Undefined property: plgHikashopAttachinvoice::$order in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Notice: Trying to get property of non-object in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Warning: implode(): Invalid arguments passed in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346  this is what shows at bottom of our invoices  Shipping method : Notice: Undefined property: plgHikashopAttachinvoice::$order in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Notice: Trying to get property of non-object in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Warning: implode(): Invalid arguments passed in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346  If i turn off error reporting they display ok, but wanted to check these errors.")* was created by *[cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile")*

-- HikaShop version -- : 3.4.1
-- Joomla version -- : 3.8.10
-- PHP version -- : 5.7
-- Browser(s) name and version -- : firefox
-- Error-message(debug-mod must be tuned on) -- : Shipping method :
Notice: Undefined property: plgHikashopAttachinvoice::$order in
xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346
Notice: Trying to get property of non-object in
xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346
Warning: implode(): Invalid arguments passed in
xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346

this is what shows at bottom of our invoices

Shipping method :
Notice: Undefined property: plgHikashopAttachinvoice::$order in
xxx/public_html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346
Notice: Trying to get property of non-object in
xxx/public_html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346
Warning: implode(): Invalid arguments passed in
xxx/public_html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346

If i turn off error reporting they display ok, but wanted to check these errors.

Last edit: 8 years 4 months ago by [cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile").

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

8 years 4 months ago [\#294666](#294666) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Shipping method not showing on invoice](/forum/35-orders-management/895114-shipping-method-not-showing-on-invoice#294666 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.7 -- Browser(s) name and version -- : firefox -- Error-message(debug-mod must be tuned on) -- : Shipping method : Notice: Undefined property: plgHikashopAttachinvoice::$order in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Notice: Trying to get property of non-object in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Warning: implode(): Invalid arguments passed in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346  this is what shows at bottom of our invoices  Shipping method : Notice: Undefined property: plgHikashopAttachinvoice::$order in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Notice: Trying to get property of non-object in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Warning: implode(): Invalid arguments passed in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346  If i turn off error reporting they display ok, but wanted to check these errors.")*

Hello,

Can you download the last version of the Attach invoice plugin through our website, install it and test it again ?

Thank you.

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

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

Less More

- Posts: 50
- Thank you received: 0
-
-

8 years 4 months ago -  8 years 4 months ago [\#294732](#294732) by [cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile")  Replied by *[cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile")* on topic *[Shipping method not showing on invoice](/forum/35-orders-management/895114-shipping-method-not-showing-on-invoice#294732 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.7 -- Browser(s) name and version -- : firefox -- Error-message(debug-mod must be tuned on) -- : Shipping method : Notice: Undefined property: plgHikashopAttachinvoice::$order in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Notice: Trying to get property of non-object in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Warning: implode(): Invalid arguments passed in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346  this is what shows at bottom of our invoices  Shipping method : Notice: Undefined property: plgHikashopAttachinvoice::$order in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Notice: Trying to get property of non-object in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Warning: implode(): Invalid arguments passed in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346  If i turn off error reporting they display ok, but wanted to check these errors.")*

I cannot find any plugins to download on the website. I am logged in and it does not show in my downloads or in the download area, please help me find it.
\
\EDIT I did find it but i have to pay for it? it is not part of my business subscription? I don't recall paying for it previously. Can i just fix the code? the error is in the implode

if (!empty($pluginsShipping)){
echo JText::_('HIKASHOP_SHIPPING_METHOD').' : ';
if(is_string($order-&gt;order_shipping_method)) {
if(strpos($order-&gt;order_shipping_id, '-') !== false)
echo $shippingClass-&gt;getShippingName($order-&gt;order_shipping_method, $order-&gt;order_shipping_id);
else
echo $pluginsShipping-&gt;getName($order-&gt;order_shipping_method, $order-&gt;order_shipping_id);
}else{
echo implode(', ', $this-&gt;order-&gt;order_shipping_method);
}
echo '&lt;br/&gt;';
}

Last edit: 8 years 4 months ago by [cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile").

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

8 years 4 months ago [\#294750](#294750) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Shipping method not showing on invoice](/forum/35-orders-management/895114-shipping-method-not-showing-on-invoice#294750 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.7 -- Browser(s) name and version -- : firefox -- Error-message(debug-mod must be tuned on) -- : Shipping method : Notice: Undefined property: plgHikashopAttachinvoice::$order in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Notice: Trying to get property of non-object in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Warning: implode(): Invalid arguments passed in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346  this is what shows at bottom of our invoices  Shipping method : Notice: Undefined property: plgHikashopAttachinvoice::$order in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Notice: Trying to get property of non-object in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Warning: implode(): Invalid arguments passed in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346  If i turn off error reporting they display ok, but wanted to check these errors.")*

Hi,

That plugin is sold here and has never been part of HikaShop itself:
[ www.hikashop.com/marketplace/product/18-plugin-pdf.html](https://www.hikashop.com/marketplace/product/18-plugin-pdf.html)
So if you're using it, we assume that you already purchased it (and you did, I checked).
So you already have access to it. Go in the menu My account&gt;My orders, click on your order C3U4N1F37 and there you'll have a download link for it. It's the same link you used the first time you downloaded it.

The fix is already included there. Now if you want to patch the code without updating the plugin, you can just change the line:
echo implode(', ', $this-&gt;order-&gt;order_shipping_method);
to:
echo implode(', ', $order-&gt;order_shipping_method);
Mohamed just wanted to give you a simpler answer for you to apply.

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

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

Less More

- Posts: 50
- Thank you received: 0
-
-

8 years 4 months ago [\#294838](#294838) by [cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile")  Replied by *[cjmicro](/forum/user/7269-cjmicro "View cjmicro's Profile")* on topic *[Shipping method not showing on invoice](/forum/35-orders-management/895114-shipping-method-not-showing-on-invoice#294838 "-- HikaShop version -- : 3.4.1 -- Joomla version -- : 3.8.10 -- PHP version -- : 5.7 -- Browser(s) name and version -- : firefox -- Error-message(debug-mod must be tuned on) -- : Shipping method : Notice: Undefined property: plgHikashopAttachinvoice::$order in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Notice: Trying to get property of non-object in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Warning: implode(): Invalid arguments passed in xxx/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346  this is what shows at bottom of our invoices  Shipping method : Notice: Undefined property: plgHikashopAttachinvoice::$order in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Notice: Trying to get property of non-object in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346 Warning: implode(): Invalid arguments passed in xxx/public&#95;html/plugins/hikashop/attachinvoice/attachinvoice/invoi coen. plinhep 346  If i turn off error reporting they display ok, but wanted to check these errors.")*

I downloaded that plugin and installed. It still gave error, so i manually edited the file with your code and that worked. Thank you!

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

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