Jump to content

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

Send Order Details To Carrier Rate Topic   - - - - -

 
  • sddev
  • Member
  • Trial users
  • Join Date: 05-Dec 18
  • 18 posts

Posted 23 April 2020 - 06:12 PM #1

We need to add a custom carrier, but we need when the vendor maybe chooses the carrier, it sends the order to the carrier, and when the order is canceled or updated, the carrier should know about it. We already have the carrier API, but any hints on how to apply that on cscart?



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

Posted 24 April 2020 - 07:59 AM #2

Use hooks in the fn_change_order_status (app/functions/fn.cart.php) function to call API


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)