Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

assign order status by user group? Rate Topic   - - - - -

 
  • Cunej
  • Junior Member
  • Members
  • Join Date: 15-Dec 09
  • 11 posts

Posted 21 February 2012 - 10:16 AM #1

Hello
here's my question:
is there any way to assign an order status depending on the usergroup the customer belongs?
e.g. i have 2 user groups: standard and resellers.
i have "standard" users that have their orders set to the default order status ("opened" if they pay with check, "processed" if they pay with credit card/paypal). this is the default behavior and is ok to me.
then i have "resellers" group, i need them to have their orders set to a different status than "standard" users ("standby" status).
Does anyone know how to do this? Is there any option or do i need to edit the code?
Thanks

 
  • solesurvivor
  • Senior Member
  • Members
  • Join Date: 05-Aug 11
  • 745 posts

Posted 21 February 2012 - 02:53 PM #2

You would need to edit code. Probably use a code hook and hook into the fn_change_order_status function.

 
  • Cunej
  • Junior Member
  • Members
  • Join Date: 15-Dec 09
  • 11 posts

Posted 21 February 2012 - 04:28 PM #3

Ok thanks i'll give it a try!