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

#   How to display delivery method in orders list

##

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

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 3 months ago [\#120025](#120025) by [marioli](/forum/user/12399-marioli "View marioli's Profile")  *[How to display delivery method in orders list](/forum/35-orders-management/861336-how-to-display-delivery-method-in-orders-list#120025 "Hi,  I want to see what delivery method has been selected by the customer.  I want to see it as another column in a table that lists my orders on the Joomla/HikaShop backend.  How could I do that? I was able to add custom field as a column, but I cannot find a way to add this standard information. Also, I would want to hide 'last modification date' column, as I don't need it and it takes space.  Best Regards and thanks, Mariusz")* was created by *[marioli](/forum/user/12399-marioli "View marioli's Profile")*

Hi,

I want to see what delivery method has been selected by the customer.

I want to see it as another column in a table that lists my orders on the Joomla/HikaShop backend.

How could I do that? I was able to add custom field as a column, but I cannot find a way to add this standard information. Also, I would want to hide 'last modification date' column, as I don't need it and it takes space.

Best Regards and thanks,
Mariusz

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 3 months ago [\#120039](#120039) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[How to display delivery method in orders list](/forum/35-orders-management/861336-how-to-display-delivery-method-in-orders-list#120039 "Hi,  I want to see what delivery method has been selected by the customer.  I want to see it as another column in a table that lists my orders on the Joomla/HikaShop backend.  How could I do that? I was able to add custom field as a column, but I cannot find a way to add this standard information. Also, I would want to hide 'last modification date' column, as I don't need it and it takes space.  Best Regards and thanks, Mariusz")*

Hi there,

You just need edit the listing view of order (Display&gt;Views) and remove these lines of code: Code:

&lt;th class="hikashop_order_modified_title title"&gt; &lt;?php echo JHTML::_('grid.sort', JText::_('HIKA_LAST_MODIFIED'), 'b.order_modified', $this-&gt;pageInfo-&gt;filter-&gt;order-&gt;dir,$this-&gt;pageInfo-&gt;filter-&gt;order-&gt;value ); ?&gt; &lt;/th&gt;

Code:

&lt;td class="hikashop_order_modified_value"&gt; &lt;?php echo hikashop_getDate($row-&gt;order_modified,'%Y-%m-%d %H:%M');?&gt; &lt;/td&gt;

That will delete the last modified column. About the payment method, just add this where you delete the first code: Code:

&lt;th class="hikashop_order_modified_title title"&gt; &lt;?php echo JHTML::_('grid.sort', JText::_('SHIPPING_METHOD'), 'b.shipping_method', $this-&gt;pageInfo-&gt;filter-&gt;order-&gt;dir,$this-&gt;pageInfo-&gt;filter-&gt;order-&gt;value ); ?&gt; &lt;/th&gt;

and this where you deleted the second code: Code:

&lt;td class="hikashop_order_shipping_value"&gt; &lt;?php if(!empty($row-&gt;order_shipping_method)){ if(!empty($this-&gt;shippings[$row-&gt;order_shipping_method])){ echo $this-&gt;shippings[$row-&gt;order_shipping_method]-&gt;shipping_name; }else{ echo $row-&gt;order_shipping_method; } } ?&gt; &lt;/td&gt;

It should work ![:)](/media/kunena/emoticons/3.png ":)")

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 3 months ago [\#120056](#120056) by [marioli](/forum/user/12399-marioli "View marioli's Profile")  Replied by *[marioli](/forum/user/12399-marioli "View marioli's Profile")* on topic *[How to display delivery method in orders list](/forum/35-orders-management/861336-how-to-display-delivery-method-in-orders-list#120056 "Hi,  I want to see what delivery method has been selected by the customer.  I want to see it as another column in a table that lists my orders on the Joomla/HikaShop backend.  How could I do that? I was able to add custom field as a column, but I cannot find a way to add this standard information. Also, I would want to hide 'last modification date' column, as I don't need it and it takes space.  Best Regards and thanks, Mariusz")*

Thank You,

almost works.

The problem is that it displays the 'plugin' name, that is 'manual', and not the name that is displayed on the front-end, where customer selects the shipping method.

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

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 3 months ago [\#120077](#120077) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[How to display delivery method in orders list](/forum/35-orders-management/861336-how-to-display-delivery-method-in-orders-list#120077 "Hi,  I want to see what delivery method has been selected by the customer.  I want to see it as another column in a table that lists my orders on the Joomla/HikaShop backend.  How could I do that? I was able to add custom field as a column, but I cannot find a way to add this standard information. Also, I would want to hide 'last modification date' column, as I don't need it and it takes space.  Best Regards and thanks, Mariusz")*

unfortunately this is the only information you can have easily. If you want the whole name you'll have to write a query on the database using the shipping id (which you can find in product_shipping_id). It's a little bit more complicated and require some php skills. The easiest way is to load every shipping method and use their id as a key. Put it in a table like $shipping_methods and you should be able to access the name with something like: $shipping_methods[$row-&gt;product_shipping_id]-&gt;shipping_name;

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 3 months ago [\#120124](#120124) by [marioli](/forum/user/12399-marioli "View marioli's Profile")  Replied by *[marioli](/forum/user/12399-marioli "View marioli's Profile")* on topic *[How to display delivery method in orders list](/forum/35-orders-management/861336-how-to-display-delivery-method-in-orders-list#120124 "Hi,  I want to see what delivery method has been selected by the customer.  I want to see it as another column in a table that lists my orders on the Joomla/HikaShop backend.  How could I do that? I was able to add custom field as a column, but I cannot find a way to add this standard information. Also, I would want to hide 'last modification date' column, as I don't need it and it takes space.  Best Regards and thanks, Mariusz")*

I must admit that this is quite disappointing. Such an obvious functionality, such hard to achieve. Somehow it is displayed correctly on the order details page, but cannot be easily displayed on orders summary. Unfortunaletty my PHP skills are just enough to copy code snippet to the right place, but not more...

Anyway, thank You for Your time

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

13 years 3 months ago [\#120129](#120129) by [marioli](/forum/user/12399-marioli "View marioli's Profile")  Replied by *[marioli](/forum/user/12399-marioli "View marioli's Profile")* on topic *[How to display delivery method in orders list](/forum/35-orders-management/861336-how-to-display-delivery-method-in-orders-list#120129 "Hi,  I want to see what delivery method has been selected by the customer.  I want to see it as another column in a table that lists my orders on the Joomla/HikaShop backend.  How could I do that? I was able to add custom field as a column, but I cannot find a way to add this standard information. Also, I would want to hide 'last modification date' column, as I don't need it and it takes space.  Best Regards and thanks, Mariusz")*

I have managed to do this the easy and dirty way, but at least it's working:

if($row-&gt;order_shipping_id &lt; 3) {
echo 'Poczta';
} else if($row-&gt;order_shipping_id &lt; 5) {
echo 'Kurier';
} else if($row-&gt;order_shipping_id == 5) {
echo 'Odbiór';
} else {
echo 'Inna';
}

also, it's good to change sorting definition, it should be:

'b.order_shipping_id'

not

'b.shipping_method'

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

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