Login   Register  
PHP Classes

File: SetaStatusPedido.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Julio Cezar Kronbauer  >  PHP ClearSale  >  SetaStatusPedido.php  >  Download  
File: SetaStatusPedido.php
Role: Example script
Content type: text/plain
Description: Envia comando ClearSale para alterar o status de um pedido
Class: PHP ClearSale
Evaluate the risk of orders with ClearSale
Author: By
Last change: Added some variables
Date: 1 year ago
Size: 466 bytes


Class file image Download

require_once $_SERVER['DOCUMENT_ROOT'] . '/ClearSale/ClearSale.Class.php';

$ClearSale1 = new ClearSale;

//  Seta o status de um pedido  //
$id = isset($_POST['id']) ? $_POST['id'] : (isset($_GET['id']) ? $_GET['id'] : '');
$status = isset($_POST['status']) ? $_POST['status'] : (isset($_GET['status']) ? $_GET['status'] : '');

//  ==========================  //