LemonStand Forum: Order Notes - LemonStand Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Order Notes

#1 User is offline   webgroup 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 57
  • Joined: 15-July 11

Posted 26 January 2012 - 08:06 AM

Is there a way to show the Notes from an order in the /shop/orders/ screen?

In the List Setup I can add Customer Notes but not the Notes from the order that we add.

thanks
0

#2 User is online   Aleksey 

  • Co-Founder
  • Group: +Administrators
  • Posts: 3,633
  • Joined: 31-October 09

Posted 29 January 2012 - 02:57 PM

Hi,

It is possible to add this column to the list by adding a new relation to the Shop_Product model in a custom module:

public function subscribeEvents()
{
    Backend::$events->addEvent('shop:onExtendOrderModel', $this, 'extend_order_model');
}
 
public function extend_order_model($product)
{
    $product->define_relation_column('notes', 'notes', 'Notes ', db_varchar, '@note');
}

I wouldn't like to make it a default feature, because displaying multi-line notes posted by different users in a single list row involves some complications. Feel free to extend the order model by yourself.

Thank you

#3 User is offline   webgroup 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 57
  • Joined: 15-July 11

Posted 30 January 2012 - 01:26 AM

View PostAleksey, on 29 January 2012 - 02:57 PM, said:


I wouldn't like to make it a default feature, because displaying multi-line notes posted by different users in a single list row involves some complications. Feel free to extend the order model by yourself.

Thank you


Hi Aleksey, Yes I understand it could cause display issues if the notes are rather long. Maybe a useful modification (for all users) would be a feature to enable the note column BUT instead of displaying the text it could display an icon, to alert the user that there are notes in the order screen to read. If there are no notes then no icon is displayed. I think most users would find that useful?
0

#4 User is online   Aleksey 

  • Co-Founder
  • Group: +Administrators
  • Posts: 3,633
  • Joined: 31-October 09

Posted 30 January 2012 - 02:14 AM

Hi!

I agree, it would be useful. I added this request to our internal feature list.

Thank you

#5 User is offline   webgroup 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 57
  • Joined: 15-July 11

Posted 01 February 2012 - 08:44 AM

That's great news Aleksey - thank you. :)

Would this be a quick job or is it going on to the roadmap and take some time?
0

#6 User is online   Aleksey 

  • Co-Founder
  • Group: +Administrators
  • Posts: 3,633
  • Joined: 31-October 09

Posted 01 February 2012 - 03:23 PM

Hi,

It will be quick - within 1 or 2 weeks I think.

Thank you

#7 User is online   Aleksey 

  • Co-Founder
  • Group: +Administrators
  • Posts: 3,633
  • Joined: 31-October 09

Posted 06 February 2012 - 04:48 PM

Hi!

We added the Has Notes column to the Order list.

Thank you

#8 User is offline   webgroup 

  • Member
  • PipPipPip
  • Group: Members
  • Posts: 57
  • Joined: 15-July 11

Posted 07 February 2012 - 01:07 AM

View PostAleksey, on 06 February 2012 - 04:48 PM, said:

Hi!

We added the Has Notes column to the Order list.

Thank you



Simple and works great. Thanks Aleksey :)
0

Share this topic:


Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users