Changeset 1562697
- Timestamp:
- 12/27/2016 12:52:51 PM (9 years ago)
- Location:
- zibbra/trunk
- Files:
-
- 3 edited
-
modules/shipping/sprintpack.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
zibbra.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
zibbra/trunk/modules/shipping/sprintpack.php
r1535746 r1562697 1 1 <?php 2 /**3 * File for the ZShippingAdapterSprintPack object4 *5 * @package API_Client_Library\Objects\Shipping\Adapter6 * @copyright Zibbra <info@zibbra.com>7 */8 2 9 /** 10 * ZShippingAdapterSprintPack 11 * 12 * @package API_Client_Library\Objects\Shipping\Adapter 13 * @author Alwin Roosen <alwin.roosen@zibbra.com> 14 * @version 1.0.0 15 */ 16 class ZShippingAdapterSprintPack extends ZShippingAdapter { 17 18 /** 19 * Dispatch the shipping adapter 20 * 21 * @param ZCustomer $oCustomer 22 * @param ZOrder $oOrder 23 * @see ZShippingAdapter::dispatch() 24 */ 25 public function dispatch(ZCustomer $oCustomer, ZOrder $oOrder) { 26 27 // echo "<pre>ZShippingAdapterSprintPack::dispatch()\n"; 28 // var_dump($oCustomer,$oOrder); 29 // exit; 30 31 } // end function 32 33 } // end function 3 class Zibbra_Plugin_Module_Shipping_Sprintpack extends Zibbra_Plugin_Module_Shipping_Abstract implements Zibbra_Plugin_Module_Shipping_Interface { 4 5 /** 6 * Name of the adapter 7 * 8 * @var string 9 */ 10 const ADAPTER_NAME = "sprintpack"; 11 12 /** 13 * @return string 14 */ 15 public function getAdapterName() { 16 17 return self::ADAPTER_NAME; 18 19 } // end function 20 21 public function onSelect() { 22 23 ZLibrary::getInstance()->getAdapter()->setSessionValue("shipping.complete", true); 24 25 wp_redirect(site_url("/zibbra/checkout/continue/")); 26 exit; 27 28 } // end function 29 30 } // end class -
zibbra/trunk/readme.txt
r1556215 r1562697 4 4 Contributors: Zibbra 5 5 Tags: Ecommerce, Cloud 6 Stable tag: 1.6. 46 Stable tag: 1.6.5 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 52 52 == Changelog == 53 53 54 = 1.6.5 = 55 56 * SprintPack shipping adapter frontend integration 57 54 58 = 1.6.4 = 55 59 -
zibbra/trunk/zibbra.php
r1556215 r1562697 6 6 * Plugin URI: http://wordpress.org/plugins/zibbra/ 7 7 * Description: Zibbra integration plugin for Wordpress 8 * Version: 1.6. 48 * Version: 1.6.5 9 9 * Author: Zibbra 10 10 * Author URI: https://www.zibbra.com … … 68 68 require_once(ZIBBRA_BASE_DIR."/modules/shipping/generic.php"); 69 69 require_once(ZIBBRA_BASE_DIR."/modules/shipping/kiala.php"); 70 //require_once(ZIBBRA_BASE_DIR."/modules/shipping/sprintpack.php");70 require_once(ZIBBRA_BASE_DIR."/modules/shipping/sprintpack.php"); 71 71 require_once(ZIBBRA_BASE_DIR."/modules/sitemap.php"); 72 72 require_once(ZIBBRA_BASE_DIR."/modules/track.php"); … … 100 100 const FORM_ACTION = "zibbra"; 101 101 const ROLE = "customer"; 102 const VERSION = "1.6. 4";102 const VERSION = "1.6.5"; 103 103 104 104 private $controller = null;
Note: See TracChangeset
for help on using the changeset viewer.