batch processing orders Hikashop 2.2

  • Posts: 79
  • Thank you received: 1
11 years 5 months ago #112713

Hi I use the new Hikashop 2.2 and was looking for batch processing my order status.
can´t find it and thought it is new feature in this version.
would be great if someone can tell me how to change f.e. order status from 5 orders at once to shipped

Another question is the unique customer id for the bill. How could I implement the id to the bill (which is the phrase for the id to ask for in php)

Have a nice day Greetings from bavaria
georg

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

  • Posts: 83041
  • Thank you received: 13405
  • MODERATOR
11 years 5 months ago #112727

Hi,

You can do it via the menu System->Mass actions.

I didn't understand your other question. What is the "unique customer id" ? What do you want to implement ? Could you give some context on what you're trying to do ?

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

  • Posts: 79
  • Thank you received: 1
11 years 5 months ago #113158

Hi Nicolas,
thanks for the quick answer.
I found the mass actions and understand it mostly. Thanks for that hint.

More infos about second question. I need a customer id on my invoices. I don´t understand if there is a special customer id in hikashop or if it is the joomla user id.
1) How can I put an id on the invoice (which string should I use in php)
2) is it possible to change the ID manually? to any ID I want?

Hope I could explain it a little bit better :o

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

  • Posts: 13201
  • Thank you received: 2322
11 years 5 months ago #113299

Hi,

To put an id on the invoice, you can edit the view "order / invoice" (backend template) via the menu Display > Views.
The user id is in the object $this->element.

In HikaShop we have an ID for the customers, this id is different than the Joomla ID.
So if you need the Joomla id you will probably have to call the function:

$userClass = hikashop_get('class.user');
$fullUser = $userClass->get($this->element->user_id);
$user_cms_id = $fullUser->user_cms_id;

You can display another id on the invoice if you want, but don't change the user id in database.

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

Time to create page: 0.074 seconds
Powered by Kunena Forum