Custom label in order

  • Posts: 360
  • Thank you received: 19
  • Hikashop Business
6 days 16 minutes ago #367122

-- HikaShop version -- : 5.1.6

When reviewing orders, I also have the products column turned on in the table. There I can see which products the customer ordered. Since some are out of stock, I would like to mark the product that is out of stock. We do this manually, since the stock is not kept in the store and there are a few other specifics.
So I need the ability to manually enter a tag into the order. It would be ideal if I could mark the product with some action in the order (e.g. add a class to color it).
I also checked with custom fields, but if I understand correctly, there is no option for the order field? That way, I could manually enter a product (text field) that is out of stock when processing the order.

It is just a reminder to the admin when reviewing orders.

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

  • Posts: 83824
  • Thank you received: 13571
  • MODERATOR
5 days 19 hours ago #367123

Hi,

You could create a custom field of the table "item" for that. Make it of the type "radio" so that you can have have HTML in each value title to display an image with a color or something. And with the display options of the custom field, you can configure it to not display on the frontend and emails, and only on the backend views.
That way, when you edit a product of an order, you'll be able to select the value you want in the custom field of the edit popup.
Now, this custom item field value won't appear on the orders listing, in the "products" column. This would require some customization of the code in the order / listing view for your backend template via the Display>Views menu of HikaShop.

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

  • Posts: 360
  • Thank you received: 19
  • Hikashop Business
3 days 5 hours ago #367148

So no option without coding?
What about order type?
The tag does not have to be attached to the product. It is only important that the admin can add a note that is visible in the order list.

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

  • Posts: 83824
  • Thank you received: 13571
  • MODERATOR
2 days 23 hours ago #367149

Hi,

When linked to the product in the order, there is no option to display it on the orders listing without coding something.

But if you're fine with attaching it to the order itself, then I have two propositions:
- you could create a custom field of the table "order". You'll be able to edit it in the "additional information" edit popup of the order, and you can display it as an extra column in the orders listing. The custom field will have many display settings so that you can display it on the backend order listing and make it editable in the popup while not display in the emails, the frontend, or the invoice.
- you could configure your order status in the System>Order statuses. There, you can add extra order statuses, and you can configure a color for each status. That color will be used on the order listing in the backend:
www.hikashop.com/home/blog/458-hikashop-4-3-0.html#color
That way, you could simply change the order status of the orders based on what needs to happen and the color of the order on the listing will allow you to easily identify the orders you need to manually process.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum