Jump to content

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

Usage Of Change_Order_Status_Child_Order Rate Topic   - - - - -

 
  • ooaykac
  • Senior Member
  • Members
  • Join Date: 22-Nov 12
  • 303 posts

Posted 23 March 2020 - 12:56 PM #1

How to use "change_order_status_child_order" in correct ways? Could someone give an example.

 

I want to cancel an order status before changing its status if expected conditions are not proivded. 



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20239 posts

Posted 23 March 2020 - 01:36 PM #2

Please note that this hook is used for multi-vendor only and for child orders (orders of vendors). Get $change_child_status variable by link and change it to false if you do not want to change child order status


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • ooaykac
  • Senior Member
  • Members
  • Join Date: 22-Nov 12
  • 303 posts

Posted 24 March 2020 - 08:18 AM #3

Please note that this hook is used for multi-vendor only and for child orders (orders of vendors). Get $change_child_status variable by link and change it to false if you do not want to change child order status

 

Hi. Thanks. I understand of usage of thi,s function:

 

 

is_parent_order Y—yes / N—no
Multi-Vendor uses parent orders internally to process the initial order via the payment processor. Parent orders don’t appear on the order list in the Administration panel.
 
parent_order_id integer:  If an order includes products from several vendors, then a parent order and separate orders for each vendor are created. These separate orders are linked to the ID of the parent order.


 
  • soft-solid
  • Junior Member
  • Authorized Reseller
  • Join Date: 19-Apr 10
  • 1052 posts

Posted 24 March 2020 - 09:08 AM #4

Hello

 

You should do it in the hook. Remember to give the character & before the variable $change_child_status.

 

Best regards

Robert


Team of SoftSolid
cs-cart.pl, marketplace

We specialize in creating the highest quality addons, safe, useful and flexible


 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 20239 posts

Posted 24 March 2020 - 02:05 PM #5

You are welcome!


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    Multi-Vendor PLUS           USD 3100 (2775)
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      Multi-Vendor Ultimate       USD 7500 (6000)

 
  • ooaykac
  • Senior Member
  • Members
  • Join Date: 22-Nov 12
  • 303 posts

Posted 24 March 2020 - 09:03 PM #6

Hello

 

You should do it in the hook. Remember to give the character & before the variable $change_child_status.

 

Best regards

Robert

Thanks.