Get serial to show up in order export

  • Posts: 90
  • Thank you received: 1
11 years 8 months ago #96412

How would I go about getting my generated serials to appear in our order export?


:) — Josh

Please Log in or Create an account to join the conversation.

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 8 months ago #96500

Hi,

It requires a little HikaShop plugin to be triggered by the event "onBeforeOrderExport(&$rows, &$view)" to add the serial into the exported rows.
The best solution is to add this code into HikaSerial directly and add some options for export (with the first one, the activation of the feature).

I didn't implement this feature before because the export system was planned to be improved (with new triggers and new features) but this project has been delayed.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 1
11 years 8 months ago #96504

I understand what you're saying, but I don't understand how you are telling me to implement it. Can you please elaborate? Thanks!


:) — Josh

Please Log in or Create an account to join the conversation.

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 8 months ago #96510

Hi,

I am implementing it.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 1
11 years 8 months ago #96558

We are looking to try and launch our store in the next few weeks. If it is not going to be out by then, is this a "fix" that I can add myself?

Thanks!


:) — Josh

Please Log in or Create an account to join the conversation.

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 8 months ago #96687

Hi,

There is no "fix", it is a feature to implement.
The serials are stored in another table than the HikaShop order table. So, thanks to the trigger "onBeforeOrderExport" you can update the content of the export to add your own values (or modify the current values).
The idea is to load the serials for the orders, add a new column in the rows and populate the data with the serials.

"Fixing" it is the same thing than implementing the feature.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 1
11 years 8 months ago #96723

What I am asking is ... Is this something I can do? or are you telling me to "just wait." :)


:) — Josh

Please Log in or Create an account to join the conversation.

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 8 months ago #96751

Hi,

The feature is now implemented in HikaSerial, it would be included in the next release during next week.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 1
11 years 8 months ago #97158

Hi Jerome,

I was told in another thread that this release won't be coming for another few weeks. This lack of serial in the export may actually keep us from launching our store, (because we need a valid export file that we can import into our homegrown CRM database)... Is there any way that you can instruct me how to achieve this without the update, or would you recommend just waiting to launch our store after the update is out.


:) — Josh

Please Log in or Create an account to join the conversation.

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 8 months ago #97166

Hi,

The new version is accessible in download (not in the automatic update).
You can download it thanks to the "your subscriptions" section.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 1
11 years 8 months ago #97171

Oh. Is there a change log? I am confused why one of the employees told me 3 weeks and you are saying I can get it today.


EDIT:

So this is still 2.1.1?


:) — Josh
Last edit: 11 years 8 months ago by btbjosh. Reason: Confused.

Please Log in or Create an account to join the conversation.

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 8 months ago #97179

Hi,

I don't know of what you're talking about but, I am talking about HikaSerial.
www.hikashop.com/fr/hikashop/120-hikaserial-change-log.html

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 90
  • Thank you received: 1
11 years 8 months ago #97183

Ah. I must have gotten two updates confused. Thanks. I'll download the latest of HikaSerial from my subscription space.

My custom views will be preserved during the update, right?


:) — Josh

Please Log in or Create an account to join the conversation.

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 8 months ago #97212

Hi,

Sure.
Overridden views are not deleted or modify during the update.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 70
  • Thank you received: 4
11 years 4 months ago #119272

This is exactly what I want to do export a file that has all of the shipping information along with the HikaSerial Number that was purchsed.

I am not sure how to do this. I tried working in the mass actions section but was confused.

Could you let me know the steps or point me to tutorial that explains how to export order data along with the HikaSerial number purchased?

Thanks! -- Steven

Please Log in or Create an account to join the conversation.

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 4 months ago #119286

Hi,

When you are in the order listing, you have an "export" button which allow you to export your orders.
If you select some orders, they will be exported. If you select any order, all listed order will be exported (in all pages).
You can use the filters in order to filter the order you want to export.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 70
  • Thank you received: 4
11 years 4 months ago #119348

Thanks so much for the info.

I had not seen this button on the orders page.

I think this will get me what i need.

I can export the orders and then do some excel cleanup to get down to the data that I am really after.

Is it possible to create a custom report on the orders that would display just the columns that I need and allow me to export them?

Thanks! -- Steven

Please Log in or Create an account to join the conversation.

  • Posts: 26166
  • Thank you received: 4029
  • MODERATOR
11 years 4 months ago #119353

Hi,

It is possible to create a custom plugin in order to change the columns exported.
It is the same trigger than HikaSerial uses in order to add his columns, so you can use it too if you want to remove some.

www.hikashop.com/support/documentation/6...#onBeforeOrderExport

onBeforeOrderExport(&$rows,&$this)
This function will be triggered by HikaShop before exporting the orders. $rows is an array of all the orders.


Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.093 seconds
Powered by Kunena Forum