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

#   order total/ order detail

##

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

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 3 months ago [\#164947](#164947) by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")  *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#164947 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")* was created by *[jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")*

In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:

I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)

or a function that shows the total number of order for each product.

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84Njk4NjMtb3JkZXItdG90YWwtb3JkZXItZGV0YWlsP3RtcGw9bWFya2Rvd24=) 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 3 months ago [\#164949](#164949) 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 *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#164949 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

Hello,
You forgot to attach your screenshot ![:)](/media/kunena/emoticons/3.png ":)"), if you want to edit your back-end order listing, you'll have to edit the code of the "listing" file of the "order" view of your back-end template via "Hikashop-&gt;Display-&gt;Views". If you want to edit your back-end product listing, you'll have to edit the code of the "listing" file of the "product" view of your back-end template via "Hikashop-&gt;Display-&gt;Views".
Note that some development skills will be required.

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 3 months ago -  12 years 3 months ago [\#165200](#165200) by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")  Replied by *[jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#165200 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

sorry heres the attachment.

[ ![&#91;IMG](http://i62.tinypic.com/2j6a178.jpg) ](http://i62.tinypic.com/2j6a178.jpg "&#91;IMG")

I want to add a column that shows the product each customer ordered and the quantity of each product..

Last edit: 12 years 3 months ago by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile").

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 3 months ago -  12 years 3 months ago [\#165201](#165201) by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")  Replied by *[jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#165201 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

I was able to change the heading "date modified" in to "product". (heres a screenshot for you to compare)

Now I need to know what function to call to replace the data modified function so it can show the product each customer has ordered and the quantity of each product..

[ ![&#91;IMG](http://i59.tinypic.com/2nhm9lg.png) ](http://i59.tinypic.com/2nhm9lg.png "&#91;IMG")

[ tinypic.com/r/2nhm9lg/8](http://tinypic.com/r/2nhm9lg/8)

Thank you

Last edit: 12 years 3 months ago by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile").

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 3 months ago -  12 years 3 months ago [\#165202](#165202) by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")  Replied by *[jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#165202 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

I end up finding the code for date modified and delete them. (heres a screenshot for comparison )

[ ![&#91;IMG](http://i60.tinypic.com/2yv2ii8.png) ](http://i60.tinypic.com/2yv2ii8.png "&#91;IMG")

Now I just need a function to call the product each customer ordered and the quantity of each product.

for example, the following code is calling the order date and displaying it with year, month day, hour and min.
&lt;td class="hikashop_order_date_value"&gt;
&lt;?php echo hikashop_getDate($row-&gt;order_created,'%Y-%m-%d %H:%M');?&gt;

I need to know what to call in order to display the product each customer ordered and the quantity of each product.

Thank you

Last edit: 12 years 3 months ago by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile").

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 3 months ago [\#165221](#165221) by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")  Replied by *[jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#165221 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

Also, is it possible to shows the total amount of each product that is ordered.

For example:
customer A order product A x1, product B x2
customer B order product A x2, product B x2

so adding it up, I will have to prepare the amount of product A x3 and product B x 4.

Is there away to do this and display it under order tab?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84Njk4NjMtb3JkZXItdG90YWwtb3JkZXItZGV0YWlsP3RtcGw9bWFya2Rvd24=) 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 3 months ago [\#165242](#165242) 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 *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#165242 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

Hello,
If you want to edit your back-end order listing, you'll have to edit the code of the "listing" file of the "order" view of your back-end template via "Hikashop-&gt;Display-&gt;Views", also it will be possible to display the total amount of each porduct that your customer ordered but it will require to :
- do some SQL request to your database to know how many products of each type your customer have bought and to know the price of the product
- calculate each total prices
- display them.

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 3 months ago -  12 years 3 months ago [\#165357](#165357) by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")  Replied by *[jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#165357 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

Hi,

I need help on the coding so the amount of ordered product by each customer will be display under the order tab.
[ ![&#91;IMG](http://i62.tinypic.com/t6zadk.png) ](http://i62.tinypic.com/t6zadk.png "&#91;IMG")

Last edit: 12 years 3 months ago by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 3 months ago [\#165639](#165639) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#165639 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

[ hikashop.com/forum/reports-statistics/86...r-detail.html#165357](https://hikashop.com/forum/reports-statistics/869863-order-total-order-detail.html#165357)

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 3 months ago [\#165646](#165646) by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")  Replied by *[jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#165646 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

Hi, Xavier

is it the right link?

it redirect me to my post lol

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 3 months ago [\#165851](#165851) by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")  Replied by *[jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#165851 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

So I finally put the product name and the quantity under order tab.

[ ![&#91;IMG](http://i58.tinypic.com/307xffk.jpg) ](http://i58.tinypic.com/307xffk.jpg "&#91;IMG")

Is it possible to display it in one row with one order instead of multiple rows with one order?

also, how do I change the export so it only export few information that I wanted instead of all information?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 3 months ago [\#165872](#165872) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#165872 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

Hi,

Yes it is possible, it's just your code which must be adapted as you want.
The foreach for the product display must be in the order "PRODUCT(QUANTITY)" &lt;td&gt;.

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 3 months ago [\#165945](#165945) by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")  Replied by *[jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#165945 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

I tried the foreach, but nothing comes up.

what should I put in the foreach()

I tried

foreach($row-&gt;order_product_name as $product_name)

echo $product_name ,' ( ',$row-&gt;order_product_quantity,' )' ;

originally I didnt use foreach, just
echo $row-&gt;order_product_name ,' ( ',$row-&gt;order_product_quantity,' )' ;

Thank you

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 3 months ago [\#165951](#165951) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#165951 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

Hi,

It require to load all the products in the listing, so use the function "loadProducts()" of the order class.
Then do a foreach on "$row-&gt;products" and display all the products of the order in the listing.

Example: Code:

&lt;td&gt; &lt;?php $orderClass = hikashop_get('class.order'); $orderClass-&gt;loadProducts($row); foreach($row-&gt;products as $product){ echo $product-&gt;order_product_name.'('.$product-&gt;order_product_quantity.')'; } ?&gt; &lt;/td&gt;

The following user(s) said Thank You: [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 3 months ago [\#166066](#166066) by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")  Replied by *[jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#166066 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

loadProducts();

is the function I been looking for.

which file contains all the functions? where can I find a documentation that states all the functions for me to use?

I actually went in to the view.html.php and change the sql code in order to display the product each by each.

Your code makes it much simpler.

Thanks

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 3 months ago [\#166099](#166099) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#166099 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

Hi,

All the functions related on the orders are in the file "administrator/components/com_hikashop/classes/order.php".

The following user(s) said Thank You: [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

12 years 3 months ago [\#166324](#166324) by [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")  Replied by *[jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#166324 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

What about the function like hikashop_xxxxx

where is it located?

for example:
hikashop_config
hikashop_get

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM2LXJlcG9ydHMtc3RhdGlzdGljcy84Njk4NjMtb3JkZXItdG90YWwtb3JkZXItZGV0YWlsP3RtcGw9bWFya2Rvd24=) 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: 86359
- Thank you received: 14296
-
-

12 years 3 months ago [\#166360](#166360) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[order total/ order detail](/forum/36-reports-statistics/869863-order-total-order-detail#166360 "In order to make the merchant's job easier, I would like to know how to make at least one of the following possible:  I want to know how to add a coloum in the order tab table and shows the product that each costumer orders. (add a coloum in the table as shown with the attachments.)  or a function that shows the total number of order for each product.  Thank you")*

They are located in the file administrator/components/com_hikashop/helpers/helper.php

The following user(s) said Thank You: [jonathan.lee](/forum/user/33479-jonathan-lee "View jonathan.lee's Profile")

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

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