Jump to content

Adding Checkbox In Order Status


Mr.SerikuS

Recommended Posts

Hello! I tried several ways, but failed.

 

I need to add checkbox to order statuses "Send SMS"

 

If checkbox is checked, SMS will be sended via API (sms.mygate.mg/apikey=asd&sender=myname&telnum=[prestatelnr]&text=your order[prestaordernum] is ready

if(isset($_POST['sendsms'])) 

{ 
$curl = curl_init('http://sms.mygate.xx/apikey=asd&sender=myname&telnum=[$order->id_order]&text=your order[$order->id_order] is ready');
}
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...