Version Description
- Add the fields config
Download this release
Release Info
Developer | aftership |
Plugin | AfterShip – WooCommerce Tracking |
Version | 1.3.3 |
Comparing to | |
See all releases |
Code changes from version 1.3.2 to 1.3.3
- aftership-fields.php +86 -0
- aftership.php +1 -1
- readme.txt +4 -1
aftership-fields.php
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Created by PhpStorm.
|
4 |
+
* User: Sunny Chow
|
5 |
+
* Date: 4/2/15
|
6 |
+
* Time: 6:08 PM
|
7 |
+
*/
|
8 |
+
|
9 |
+
$aftership_fields = array(
|
10 |
+
'aftership_tracking_provider_name' => array(
|
11 |
+
'id' => 'aftership_tracking_provider_name',
|
12 |
+
'type' => 'text',
|
13 |
+
'label' => '',
|
14 |
+
'placeholder' => '',
|
15 |
+
'description' => '',
|
16 |
+
'class' => 'hidden'
|
17 |
+
),
|
18 |
+
|
19 |
+
'aftership_tracking_required_fields' => array(
|
20 |
+
'id' => 'aftership_tracking_required_fields',
|
21 |
+
'type' => 'text',
|
22 |
+
'label' => '',
|
23 |
+
'placeholder' => '',
|
24 |
+
'description' => '',
|
25 |
+
'class' => 'hidden'
|
26 |
+
),
|
27 |
+
|
28 |
+
'aftership_tracking_number' => array(
|
29 |
+
'id' => 'aftership_tracking_number',
|
30 |
+
'type' => 'text',
|
31 |
+
'label' => 'Tracking number',
|
32 |
+
'placeholder' => '',
|
33 |
+
'description' => '',
|
34 |
+
'class' => ''
|
35 |
+
),
|
36 |
+
|
37 |
+
'aftership_tracking_shipdate' => array(
|
38 |
+
'key' => 'tracking_ship_date',
|
39 |
+
'id' => 'aftership_tracking_shipdate',
|
40 |
+
'type' => 'date',
|
41 |
+
'label' => 'Date shipped',
|
42 |
+
'placeholder' => 'YYYY-MM-DD',
|
43 |
+
'description' => '',
|
44 |
+
'class' => 'date-picker-field hidden-field'
|
45 |
+
),
|
46 |
+
|
47 |
+
'aftership_tracking_postal' => array(
|
48 |
+
'key' => 'tracking_postal_code',
|
49 |
+
'id' => 'aftership_tracking_postal',
|
50 |
+
'type' => 'text',
|
51 |
+
'label' => 'Postal Code',
|
52 |
+
'placeholder' => '',
|
53 |
+
'description' => '',
|
54 |
+
'class' => 'hidden-field'
|
55 |
+
),
|
56 |
+
|
57 |
+
'aftership_tracking_account' => array(
|
58 |
+
'key' => 'tracking_account_number',
|
59 |
+
'id' => 'aftership_tracking_account',
|
60 |
+
'type' => 'text',
|
61 |
+
'label' => 'Account name',
|
62 |
+
'placeholder' => '',
|
63 |
+
'description' => '',
|
64 |
+
'class' => 'hidden-field'
|
65 |
+
),
|
66 |
+
|
67 |
+
'aftership_tracking_key' => array(
|
68 |
+
'key' => 'tracking_key',
|
69 |
+
'id' => 'aftership_tracking_key',
|
70 |
+
'type' => 'text',
|
71 |
+
'label' => 'Tracking key',
|
72 |
+
'placeholder' => '',
|
73 |
+
'description' => '',
|
74 |
+
'class' => 'hidden-field'
|
75 |
+
),
|
76 |
+
|
77 |
+
'aftership_tracking_destination_country' => array(
|
78 |
+
'key' => 'tracking_destination_country',
|
79 |
+
'id' => 'aftership_tracking_destination_country',
|
80 |
+
'type' => 'text',
|
81 |
+
'label' => 'Destination Country',
|
82 |
+
'placeholder' => '',
|
83 |
+
'description' => '',
|
84 |
+
'class' => 'hidden-field'
|
85 |
+
)
|
86 |
+
);
|
aftership.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: AfterShip - WooCommerce Tracking
|
4 |
Plugin URI: http://aftership.com/
|
5 |
Description: Add tracking number and carrier name to WooCommerce, display tracking info at order history page, auto import tracking numbers to AfterShip.
|
6 |
-
Version: 1.3.
|
7 |
Author: AfterShip
|
8 |
Author URI: http://aftership.com
|
9 |
|
3 |
Plugin Name: AfterShip - WooCommerce Tracking
|
4 |
Plugin URI: http://aftership.com/
|
5 |
Description: Add tracking number and carrier name to WooCommerce, display tracking info at order history page, auto import tracking numbers to AfterShip.
|
6 |
+
Version: 1.3.3
|
7 |
Author: AfterShip
|
8 |
Author URI: http://aftership.com
|
9 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.aftership.com/
|
|
4 |
Tags: shipping, tracking, ups, usps, fedex, dhl, tnt, dpd, post, shipment, woocommerce, tracking number, aftership, package tracking, fulfilment, tracking link, carrier, courier, woo commerce, woocommerce shipment tracking, shipping details plugin, widget, shipstation, track, package
|
5 |
Requires at least: 2.9
|
6 |
Tested up to: 4.0
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -95,6 +95,9 @@ You'll find the FAQ on [AfterShip.com](https://aftership.uservoice.com/knowledge
|
|
95 |
|
96 |
== Changelog ==
|
97 |
|
|
|
|
|
|
|
98 |
= 1.3.2 =
|
99 |
* Support new couriers, please check out supported couriers in https://www.aftership.com/courier
|
100 |
* Support new required field, `tracking key` and `tracking destination country`
|
4 |
Tags: shipping, tracking, ups, usps, fedex, dhl, tnt, dpd, post, shipment, woocommerce, tracking number, aftership, package tracking, fulfilment, tracking link, carrier, courier, woo commerce, woocommerce shipment tracking, shipping details plugin, widget, shipstation, track, package
|
5 |
Requires at least: 2.9
|
6 |
Tested up to: 4.0
|
7 |
+
Stable tag: 1.3.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
95 |
|
96 |
== Changelog ==
|
97 |
|
98 |
+
= 1.3.3 =
|
99 |
+
* Add the fields config
|
100 |
+
|
101 |
= 1.3.2 =
|
102 |
* Support new couriers, please check out supported couriers in https://www.aftership.com/courier
|
103 |
* Support new required field, `tracking key` and `tracking destination country`
|