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

#   Wrong shipping name on the show order page

##

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

Less More

- Posts: 53
- Thank you received: 2
-
-

12 years 1 week ago -  12 years 1 week ago [\#178111](#178111) by [otx](/forum/user/14566-otx "View otx's Profile")  *[Wrong shipping name on the show order page](/forum/28-shipping-methods/872775-wrong-shipping-name-on-the-show-order-page#178111 "-- url of the page with the problem -- :   dev.vitaking.ro/  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Firefox 33  Hi,  I have 'manual 5' displayed on the show order page instead of the name of the shipping company. This is the code which gives the wrong result (order/show.php):  How can i display the shipping company name? (order&#95;shipping&#95;name doesn't work)")* was created by *[otx](/forum/user/14566-otx "View otx's Profile")*

-- url of the page with the problem -- : [ dev.vitaking.ro/](http://dev.vitaking.ro/)
-- HikaShop version -- : 2.3.4
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.10
-- Browser(s) name and version -- : Firefox 33

Hi,

I have 'manual 5' displayed on the show order page instead of the name of the shipping company.
This is the code which gives the wrong result (order/show.php): Code:

echo JText::_('HIKASHOP_SHIPPING_METHOD').' : '; if(is_string($this-&gt;order-&gt;order_shipping_method)) echo $this-&gt;shippingClass-&gt;getShippingName($this-&gt;order-&gt;order_shipping_method, $this-&gt;order-&gt;order_shipping_id); else echo implode(', ', $this-&gt;order-&gt;order_shipping_method);

How can i display the shipping company name? (order_shipping_name doesn't work)

Last edit: 12 years 1 week ago by [otx](/forum/user/14566-otx "View otx's Profile").

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

12 years 1 week ago [\#178115](#178115) 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 *[Wrong shipping name on the show order page](/forum/28-shipping-methods/872775-wrong-shipping-name-on-the-show-order-page#178115 "-- url of the page with the problem -- :   dev.vitaking.ro/  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Firefox 33  Hi,  I have 'manual 5' displayed on the show order page instead of the name of the shipping company. This is the code which gives the wrong result (order/show.php):  How can i display the shipping company name? (order&#95;shipping&#95;name doesn't work)")*

Hello,
When you talk about the "shipping company name" are you refering to the value that you have set through the "name" field of your shipping configuration field ?

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

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

Less More

- Posts: 53
- Thank you received: 2
-
-

12 years 1 week ago -  12 years 1 week ago [\#178230](#178230) by [otx](/forum/user/14566-otx "View otx's Profile")  Replied by *[otx](/forum/user/14566-otx "View otx's Profile")* on topic *[Wrong shipping name on the show order page](/forum/28-shipping-methods/872775-wrong-shipping-name-on-the-show-order-page#178230 "-- url of the page with the problem -- :   dev.vitaking.ro/  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Firefox 33  Hi,  I have 'manual 5' displayed on the show order page instead of the name of the shipping company. This is the code which gives the wrong result (order/show.php):  How can i display the shipping company name? (order&#95;shipping&#95;name doesn't work)")*

Hello,

Exactly. I have 'Cargus Courier' for the name, but all I get is 'manual 5'. The payment was set the same way, but that's works. I am talking about the page wich displays one order from the orders list. When someone placing the order it works.

Regards,
Dezso

Last edit: 12 years 1 week ago by [otx](/forum/user/14566-otx "View otx's Profile").

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

12 years 1 week ago [\#178315](#178315) 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 *[Wrong shipping name on the show order page](/forum/28-shipping-methods/872775-wrong-shipping-name-on-the-show-order-page#178315 "-- url of the page with the problem -- :   dev.vitaking.ro/  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Firefox 33  Hi,  I have 'manual 5' displayed on the show order page instead of the name of the shipping company. This is the code which gives the wrong result (order/show.php):  How can i display the shipping company name? (order&#95;shipping&#95;name doesn't work)")*

Hello,
Can you show me through some screenshots what the "show order page" that you are talking about and how did you had access to it so that I can test it myself.

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

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

Less More

- Posts: 53
- Thank you received: 2
-
-

12 years 1 week ago -  12 years 1 week ago [\#178442](#178442) by [otx](/forum/user/14566-otx "View otx's Profile")  Replied by *[otx](/forum/user/14566-otx "View otx's Profile")* on topic *[Wrong shipping name on the show order page](/forum/28-shipping-methods/872775-wrong-shipping-name-on-the-show-order-page#178442 "-- url of the page with the problem -- :   dev.vitaking.ro/  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Firefox 33  Hi,  I have 'manual 5' displayed on the show order page instead of the name of the shipping company. This is the code which gives the wrong result (order/show.php):  How can i display the shipping company name? (order&#95;shipping&#95;name doesn't work)")*

Hello,

Here they are:

This is the order list, I think you can display this page in two ways. You can create a menu item with Hikashop-Customer orders, or with Hikashop-User control panel and from there you have again the Customer orders.
[ ![order&#95;list.png](/forum/attachment/20533) ](/forum/attachment/20533 "order&#95;list.png")

And this one is the order itself.

[ ![invoice.png](/forum/attachment/20534) ](/forum/attachment/20534 "invoice.png")

You can have this page if you click on one of the order numbers from the previous list.
This is a custom one with stamp and all kind of modifications in order to meet the Romanian legislation requirements. But just above the stamp and signature we have this two lines:

Metoda de expediere : manual 5
Metoda de plata : Ramburs

The first one is the shipping method, and the second one the payment. The payment method displays the name of the payment, wich is OK, but the shipping method displays the shipping type and id, not the name, wich would be 'Cargus'. You have the code wich produces this in my previous post.

This is the screenshot with the table structure:

[ ![shipping&#95;table.png](/forum/attachment/20535) ](/forum/attachment/20535 "...ping&#95;table.png")

I hope you have all the informations you need, let me know if you need anything else!

Regards,
Dezso

- [ ![order&#95;list.png](/forum/attachment/20533) ](/forum/attachment/20533 "order&#95;list.png") [ ](/forum/attachment/20533?download=1 "order&#95;list.png")
- [ ![invoice.png](/forum/attachment/20534) ](/forum/attachment/20534 "invoice.png") [ ](/forum/attachment/20534?download=1 "invoice.png")
- [ ![shipping&#95;table.png](/forum/attachment/20535) ](/forum/attachment/20535 "...ping&#95;table.png") [ ](/forum/attachment/20535?download=1 "...ping&#95;table.png")

Last edit: 12 years 1 week ago by [otx](/forum/user/14566-otx "View otx's Profile").

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

12 years 1 week ago [\#178522](#178522) 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 *[Wrong shipping name on the show order page](/forum/28-shipping-methods/872775-wrong-shipping-name-on-the-show-order-page#178522 "-- url of the page with the problem -- :   dev.vitaking.ro/  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Firefox 33  Hi,  I have 'manual 5' displayed on the show order page instead of the name of the shipping company. This is the code which gives the wrong result (order/show.php):  How can i display the shipping company name? (order&#95;shipping&#95;name doesn't work)")*

Hello Dezso,
The solution will be to directly edit the "Show" file of the "Order" View of your front-end template via "Hikashop-&gt;Display-&gt;Views" and change these lines : Code:

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

By : Code:

&lt;?php if(!empty($this-&gt;shipping)){ echo JText::_('HIKASHOP_SHIPPING_METHOD').' : '; if(is_string($this-&gt;order-&gt;order_shipping_method)) //echo $this-&gt;shippingClass-&gt;getShippingName($this-&gt;order-&gt;order_shipping_method, $this-&gt;order-&gt;order_shipping_id); echo $this-&gt;shippingClass-&gt;get($this-&gt;order-&gt;order_shipping_id)-&gt;shipping_name; else echo implode(', ', $this-&gt;order-&gt;order_shipping_method); echo '&lt;br/&gt;'; }?&gt;

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

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

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

Less More

- Posts: 53
- Thank you received: 2
-
-

12 years 1 week ago [\#178629](#178629) by [otx](/forum/user/14566-otx "View otx's Profile")  Replied by *[otx](/forum/user/14566-otx "View otx's Profile")* on topic *[Wrong shipping name on the show order page](/forum/28-shipping-methods/872775-wrong-shipping-name-on-the-show-order-page#178629 "-- url of the page with the problem -- :   dev.vitaking.ro/  -- HikaShop version -- : 2.3.4 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.10 -- Browser(s) name and version -- : Firefox 33  Hi,  I have 'manual 5' displayed on the show order page instead of the name of the shipping company. This is the code which gives the wrong result (order/show.php):  How can i display the shipping company name? (order&#95;shipping&#95;name doesn't work)")*

Hello,

Thank you! Now I have the shipping name, as it should be.

Regards,
Dezso

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

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