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

#   Displaying Today Orders In A Row

##

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

Less More

- Posts: 108
- Thank you received: 2
-
-

15 years 2 months ago -  15 years 2 months ago [\#23845](#23845) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  *[Displaying Today Orders In A Row](/forum/4-how-to/23845-displaying-today-orders-in-a-row#23845 "Hello again.  I am trying to make something that can display at the back-end the orders from today at a row so i wont need to go one by one. Need to display lets say the order number, billing and shipping address and the products. I need it so at the end of the day i can view my orders of the day and ship them the next day. Is there an outside module for this? or if not how can this be done?  Thanks in advance.  EDIT: In addition I need to know what is calling the function onAfterInitialise() at hikashopaffiliate.php when partner&#95;id is set in the URL.. thank you.")* was created by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")*

Hello again.

I am trying to make something that can display at the back-end the orders from today at a row so i wont need to go one by one.
Need to display lets say the order number, billing and shipping address and the products. I need it so at the end of the day i can view my orders of the day and ship them the next day.
Is there an outside module for this? or if not how can this be done?

Thanks in advance.

EDIT: In addition I need to know what is calling the function onAfterInitialise() at hikashopaffiliate.php when partner_id is set in the URL.. thank you.

Last edit: 15 years 2 months ago by [bars92](/forum/user/3048-bars92 "View bars92's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIzODQ1LWRpc3BsYXlpbmctdG9kYXktb3JkZXJzLWluLWEtcm93P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 2 months ago [\#23864](#23864) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Displaying Today Orders In A Row](/forum/4-how-to/23845-displaying-today-orders-in-a-row#23864 "Hello again.  I am trying to make something that can display at the back-end the orders from today at a row so i wont need to go one by one. Need to display lets say the order number, billing and shipping address and the products. I need it so at the end of the day i can view my orders of the day and ship them the next day. Is there an outside module for this? or if not how can this be done?  Thanks in advance.  EDIT: In addition I need to know what is calling the function onAfterInitialise() at hikashopaffiliate.php when partner&#95;id is set in the URL.. thank you.")*

Hi,

I think that the best is to edit the file listing of the view order for the back end via the menu Display-&gt;Views.
There, you could load the necessary data from the database and display it on the listing.

The function onAfterInitialise is called by joomla in the index.php file of your website.

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

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

Less More

- Posts: 108
- Thank you received: 2
-
-

15 years 2 months ago [\#23874](#23874) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Displaying Today Orders In A Row](/forum/4-how-to/23845-displaying-today-orders-in-a-row#23874 "Hello again.  I am trying to make something that can display at the back-end the orders from today at a row so i wont need to go one by one. Need to display lets say the order number, billing and shipping address and the products. I need it so at the end of the day i can view my orders of the day and ship them the next day. Is there an outside module for this? or if not how can this be done?  Thanks in advance.  EDIT: In addition I need to know what is calling the function onAfterInitialise() at hikashopaffiliate.php when partner&#95;id is set in the URL.. thank you.")*

Ok I will do that, thank you.

I need to add a cookie to hikashop so i did it in the hikashopaffiliate.php, but it is called only when partner_id is called, how can i call her when a different paramaters comes.
Lets say u want to do something like this:
[ www.4u2.co.il/?option=com\_hikashop&amp;ctrl=...oduct\_id=28&amp;cookie=5](https://www.4u2.co.il/?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&checkout=1&product_id=28&cookie=5)
or
[ www.4u2.co.il/?option=com\_hikashop&amp;ctrl=...id=28&amp;partner\_id=300](https://www.4u2.co.il/?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&checkout=1&product_id=28&partner_id=300)

I want the function to be executed in both cases, how is this possible? I could find the AfterInitialise mark but couldnt find when it is marked.

Thank you very much for your help.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIzODQ1LWRpc3BsYXlpbmctdG9kYXktb3JkZXJzLWluLWEtcm93P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 2 months ago [\#23876](#23876) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Displaying Today Orders In A Row](/forum/4-how-to/23845-displaying-today-orders-in-a-row#23876 "Hello again.  I am trying to make something that can display at the back-end the orders from today at a row so i wont need to go one by one. Need to display lets say the order number, billing and shipping address and the products. I need it so at the end of the day i can view my orders of the day and ship them the next day. Is there an outside module for this? or if not how can this be done?  Thanks in advance.  EDIT: In addition I need to know what is calling the function onAfterInitialise() at hikashopaffiliate.php when partner&#95;id is set in the URL.. thank you.")*

It's that code of the plugin which check the parameter name:
$partner_id = hikashop_decode(JRequest::getCmd($key_name,0),'partner');
if(empty($partner_id)){
return true;
}

so you could do like that:
$partner_id = hikashop_decode(JRequest::getCmd($key_name,0),'partner');
if(empty($partner_id)){
$partner_id = hikashop_decode(JRequest::getCmd('cookie',0),'partner');
if(empty($partner_id)){
return true;
}
}

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

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

Less More

- Posts: 108
- Thank you received: 2
-
-

15 years 2 months ago [\#23878](#23878) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Displaying Today Orders In A Row](/forum/4-how-to/23845-displaying-today-orders-in-a-row#23878 "Hello again.  I am trying to make something that can display at the back-end the orders from today at a row so i wont need to go one by one. Need to display lets say the order number, billing and shipping address and the products. I need it so at the end of the day i can view my orders of the day and ship them the next day. Is there an outside module for this? or if not how can this be done?  Thanks in advance.  EDIT: In addition I need to know what is calling the function onAfterInitialise() at hikashopaffiliate.php when partner&#95;id is set in the URL.. thank you.")*

Ok thats good for that, but if they are both displayed together wont it cancel cookie? (example: ...&amp;cookie=4&amp;partner_id=300)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIzODQ1LWRpc3BsYXlpbmctdG9kYXktb3JkZXJzLWluLWEtcm93P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 2 months ago [\#23892](#23892) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Displaying Today Orders In A Row](/forum/4-how-to/23845-displaying-today-orders-in-a-row#23892 "Hello again.  I am trying to make something that can display at the back-end the orders from today at a row so i wont need to go one by one. Need to display lets say the order number, billing and shipping address and the products. I need it so at the end of the day i can view my orders of the day and ship them the next day. Is there an outside module for this? or if not how can this be done?  Thanks in advance.  EDIT: In addition I need to know what is calling the function onAfterInitialise() at hikashopaffiliate.php when partner&#95;id is set in the URL.. thank you.")*

It will indeed. That's what I understood you wanted to have.

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

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

Less More

- Posts: 108
- Thank you received: 2
-
-

15 years 2 months ago [\#23962](#23962) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Displaying Today Orders In A Row](/forum/4-how-to/23845-displaying-today-orders-in-a-row#23962 "Hello again.  I am trying to make something that can display at the back-end the orders from today at a row so i wont need to go one by one. Need to display lets say the order number, billing and shipping address and the products. I need it so at the end of the day i can view my orders of the day and ship them the next day. Is there an outside module for this? or if not how can this be done?  Thanks in advance.  EDIT: In addition I need to know what is calling the function onAfterInitialise() at hikashopaffiliate.php when partner&#95;id is set in the URL.. thank you.")*

No, i wanted to have the option to do ...&amp;cookie=4 or ...&amp;partner_id=300 because ...&amp;cookie=4&amp;partner_id=300 is working for now (cookie is created when partner_id is called at hikashopaffiliate.php). I need all three options available by Hikashop, how is this can be done?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIzODQ1LWRpc3BsYXlpbmctdG9kYXktb3JkZXJzLWluLWEtcm93P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 2 months ago [\#23966](#23966) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Displaying Today Orders In A Row](/forum/4-how-to/23845-displaying-today-orders-in-a-row#23966 "Hello again.  I am trying to make something that can display at the back-end the orders from today at a row so i wont need to go one by one. Need to display lets say the order number, billing and shipping address and the products. I need it so at the end of the day i can view my orders of the day and ship them the next day. Is there an outside module for this? or if not how can this be done?  Thanks in advance.  EDIT: In addition I need to know what is calling the function onAfterInitialise() at hikashopaffiliate.php when partner&#95;id is set in the URL.. thank you.")*

I still don't understand what you're trying to do so I can't help you ![:/](/irritated.gif ":/")
Please help more the problem you're trying to solve with the cookie variable.

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

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

Less More

- Posts: 108
- Thank you received: 2
-
-

15 years 2 months ago [\#24023](#24023) by [bars92](/forum/user/3048-bars92 "View bars92's Profile")  Replied by *[bars92](/forum/user/3048-bars92 "View bars92's Profile")* on topic *[Re: Displaying Today Orders In A Row](/forum/4-how-to/23845-displaying-today-orders-in-a-row#24023 "Hello again.  I am trying to make something that can display at the back-end the orders from today at a row so i wont need to go one by one. Need to display lets say the order number, billing and shipping address and the products. I need it so at the end of the day i can view my orders of the day and ship them the next day. Is there an outside module for this? or if not how can this be done?  Thanks in advance.  EDIT: In addition I need to know what is calling the function onAfterInitialise() at hikashopaffiliate.php when partner&#95;id is set in the URL.. thank you.")*

I have created a special cookie at the function onAfterInitialise() at hikashopaffiliate.php. Now, this function is called whenever there is &amp;partner_id=XXX at the URL.
I wish to call the function elso when there is that &amp;cookie=XXX at the URL (only that, and with partner_id).
When there is partner_id and cookie the function i called and create both, when there is only partner_id the function i called and create partner_id, but when there is only cookie function is not called.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzIzODQ1LWRpc3BsYXlpbmctdG9kYXktb3JkZXJzLWluLWEtcm93P3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86290
- Thank you received: 14268
-
-

15 years 2 months ago [\#24054](#24054) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Displaying Today Orders In A Row](/forum/4-how-to/23845-displaying-today-orders-in-a-row#24054 "Hello again.  I am trying to make something that can display at the back-end the orders from today at a row so i wont need to go one by one. Need to display lets say the order number, billing and shipping address and the products. I need it so at the end of the day i can view my orders of the day and ship them the next day. Is there an outside module for this? or if not how can this be done?  Thanks in advance.  EDIT: In addition I need to know what is calling the function onAfterInitialise() at hikashopaffiliate.php when partner&#95;id is set in the URL.. thank you.")*

Then you should do like that:

$partner_id = hikashop_decode(JRequest::getCmd($key_name,0),'partner');
$cookie = hikashop_decode(JRequest::getCmd('cookie',0),'partner');
if(empty($partner_id)&#124;&#124;empty($cookie )){
return true;
}

and use $cookie and/or $partner_id for your code after that.

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

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

[](#top)
