Version Description
- 23/05/2016 =
- New - Cart tab widget now has a max-height and will scroll if the contents are larger than the container.
- New - Option to display cart total or subtotal. Props @craigtracey
- Tweak - Translations now managed on .org (https://translate.wordpress.org/projects/wp-plugins/woocommerce-cart-tab).
Download this release
Release Info
Developer | jameskoster |
Plugin | WooCommerce Cart Tab |
Version | 0.4.0 |
Comparing to | |
See all releases |
Code changes from version 0.3.1 to 0.4.0
- assets/css/style.css +181 -1
- assets/css/style.less +2 -0
- cart-tab.php +221 -186
- config.codekit +925 -0
- languages/index.html +0 -0
- languages/woocommerce-cart-tab-de_DE.mo +0 -0
- languages/woocommerce-cart-tab-de_DE.po +0 -121
- languages/woocommerce-cart-tab.po +0 -80
- languages/woocommerce-cart-tab.pot +102 -0
- readme.txt +78 -73
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- screenshot-3.png +0 -0
assets/css/style.css
CHANGED
@@ -1 +1,181 @@
|
|
1 |
-
.cart-tab
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.cart-tab {
|
2 |
+
width: 22em;
|
3 |
+
position: fixed;
|
4 |
+
top: 5em;
|
5 |
+
z-index: 9999999;
|
6 |
+
}
|
7 |
+
.cart-tab a.cart-parent {
|
8 |
+
position: absolute;
|
9 |
+
top: 0;
|
10 |
+
display: block;
|
11 |
+
-webkit-box-sizing: border-box;
|
12 |
+
/* Safari/Chrome, other WebKit */
|
13 |
+
-moz-box-sizing: border-box;
|
14 |
+
/* Firefox, other Gecko */
|
15 |
+
box-sizing: border-box;
|
16 |
+
/* Opera/IE 8+ */
|
17 |
+
padding: 1.618em;
|
18 |
+
text-decoration: none;
|
19 |
+
}
|
20 |
+
.cart-tab a.cart-parent span.contents {
|
21 |
+
display: block;
|
22 |
+
color: #666;
|
23 |
+
font-size: .8em;
|
24 |
+
}
|
25 |
+
.cart-tab a.cart-parent:hover {
|
26 |
+
text-decoration: none;
|
27 |
+
}
|
28 |
+
.cart-tab .widget {
|
29 |
+
padding: 1.618em;
|
30 |
+
margin: 0;
|
31 |
+
max-height: 600px;
|
32 |
+
overflow: auto;
|
33 |
+
}
|
34 |
+
.cart-tab.light {
|
35 |
+
background: #fff;
|
36 |
+
}
|
37 |
+
.cart-tab.light a.cart-parent,
|
38 |
+
.cart-tab.light .widget {
|
39 |
+
box-shadow: 0 2px 1em 0 rgba(0, 0, 0, 0.2);
|
40 |
+
-webkit-box-shadow: 0 2px 1em 0 rgba(0, 0, 0, 0.2);
|
41 |
+
-moz-box-shadow: 0 2px 1em 0 rgba(0, 0, 0, 0.2);
|
42 |
+
-o-box-shadow: 0 2px 1em 0 rgba(0, 0, 0, 0.2);
|
43 |
+
}
|
44 |
+
.cart-tab.light a.cart-parent {
|
45 |
+
background: #fff;
|
46 |
+
}
|
47 |
+
.cart-tab.light a.cart-parent:after {
|
48 |
+
content: "";
|
49 |
+
display: block;
|
50 |
+
width: 10px;
|
51 |
+
height: 100%;
|
52 |
+
background: #fff;
|
53 |
+
position: absolute;
|
54 |
+
top: 0;
|
55 |
+
right: -10px;
|
56 |
+
}
|
57 |
+
.cart-tab.dark {
|
58 |
+
background: #333;
|
59 |
+
}
|
60 |
+
.cart-tab.dark a.cart-parent,
|
61 |
+
.cart-tab.dark .widget {
|
62 |
+
box-shadow: 0 2px 1em 0 rgba(0, 0, 0, 0.2);
|
63 |
+
-webkit-box-shadow: 0 2px 1em 0 rgba(0, 0, 0, 0.2);
|
64 |
+
-moz-box-shadow: 0 2px 1em 0 rgba(0, 0, 0, 0.2);
|
65 |
+
-o-box-shadow: 0 2px 1em 0 rgba(0, 0, 0, 0.2);
|
66 |
+
}
|
67 |
+
.cart-tab.dark a.cart-parent {
|
68 |
+
background: #333;
|
69 |
+
}
|
70 |
+
.cart-tab.dark a.cart-parent:after {
|
71 |
+
content: "";
|
72 |
+
display: block;
|
73 |
+
width: 10px;
|
74 |
+
height: 100%;
|
75 |
+
background: #333;
|
76 |
+
position: absolute;
|
77 |
+
top: 0;
|
78 |
+
right: -10px;
|
79 |
+
}
|
80 |
+
.cart-tab.right {
|
81 |
+
right: -22em;
|
82 |
+
-webkit-transition: right ease 0.5s;
|
83 |
+
-moz-transition: right ease 0.5s;
|
84 |
+
-o-transition: right ease 0.5s;
|
85 |
+
transition: right ease 0.5s;
|
86 |
+
}
|
87 |
+
.cart-tab.right a.cart-parent {
|
88 |
+
left: -8.402328em;
|
89 |
+
width: 8.402328em;
|
90 |
+
-webkit-transition: left ease 0.5s;
|
91 |
+
-moz-transition: left ease 0.5s;
|
92 |
+
-o-transition: left ease 0.5s;
|
93 |
+
transition: left ease 0.5s;
|
94 |
+
-webkit-border-top-left-radius: 3px;
|
95 |
+
-webkit-border-bottom-left-radius: 3px;
|
96 |
+
-moz-border-radius-topleft: 3px;
|
97 |
+
-moz-border-radius-bottomleft: 3px;
|
98 |
+
border-top-left-radius: 3px;
|
99 |
+
border-bottom-left-radius: 3px;
|
100 |
+
}
|
101 |
+
.cart-tab.right a.cart-parent.hidden {
|
102 |
+
left: 0;
|
103 |
+
}
|
104 |
+
.cart-tab.right a.cart-parent.visible {
|
105 |
+
left: -8.402328em;
|
106 |
+
}
|
107 |
+
.cart-tab.right:hover {
|
108 |
+
right: 0;
|
109 |
+
}
|
110 |
+
.cart-tab.right .widget {
|
111 |
+
-webkit-border-bottom-left-radius: 3px;
|
112 |
+
-webkit-border-bottom-right-radius: 3px;
|
113 |
+
-moz-border-radius-bottomleft: 3px;
|
114 |
+
-moz-border-radius-bottomright: 3px;
|
115 |
+
border-bottom-left-radius: 3px;
|
116 |
+
border-bottom-right-radius: 3px;
|
117 |
+
-webkit-border-top-right-radius: 0;
|
118 |
+
-webkit-border-bottom-right-radius: 0;
|
119 |
+
-moz-border-radius-topright: 0;
|
120 |
+
-moz-border-radius-bottomright: 0;
|
121 |
+
border-top-right-radius: 0;
|
122 |
+
border-bottom-right-radius: 0;
|
123 |
+
}
|
124 |
+
.cart-tab.left {
|
125 |
+
left: -22em;
|
126 |
+
-webkit-transition: left ease 0.5s;
|
127 |
+
-moz-transition: left ease 0.5s;
|
128 |
+
-o-transition: left ease 0.5s;
|
129 |
+
transition: left ease 0.5s;
|
130 |
+
}
|
131 |
+
.cart-tab.left a.cart-parent {
|
132 |
+
right: -8.402328em;
|
133 |
+
width: 8.402328em;
|
134 |
+
-webkit-transition: right ease 0.5s;
|
135 |
+
-moz-transition: right ease 0.5s;
|
136 |
+
-o-transition: right ease 0.5s;
|
137 |
+
transition: right ease 0.5s;
|
138 |
+
-webkit-border-top-right-radius: 3px;
|
139 |
+
-webkit-border-bottom-right-radius: 3px;
|
140 |
+
-moz-border-radius-topright: 3px;
|
141 |
+
-moz-border-radius-bottomright: 3px;
|
142 |
+
border-top-right-radius: 3px;
|
143 |
+
border-bottom-right-radius: 3px;
|
144 |
+
}
|
145 |
+
.cart-tab.left a.cart-parent.hidden {
|
146 |
+
right: 0;
|
147 |
+
}
|
148 |
+
.cart-tab.left a.cart-parent.visible {
|
149 |
+
right: -8.402328em;
|
150 |
+
}
|
151 |
+
.cart-tab.left:hover {
|
152 |
+
left: 0;
|
153 |
+
}
|
154 |
+
.cart-tab.left .widget {
|
155 |
+
-webkit-border-bottom-left-radius: 3px;
|
156 |
+
-webkit-border-bottom-right-radius: 3px;
|
157 |
+
-moz-border-radius-bottomleft: 3px;
|
158 |
+
-moz-border-radius-bottomright: 3px;
|
159 |
+
border-bottom-left-radius: 3px;
|
160 |
+
border-bottom-right-radius: 3px;
|
161 |
+
-webkit-border-top-left-radius: 0;
|
162 |
+
-webkit-border-bottom-left-radius: 0;
|
163 |
+
-moz-border-radius-topleft: 0;
|
164 |
+
-moz-border-radius-bottomleft: 0;
|
165 |
+
border-top-left-radius: 0;
|
166 |
+
border-bottom-left-radius: 0;
|
167 |
+
}
|
168 |
+
.cart-tab.left.light a.cart-parent:after,
|
169 |
+
.cart-tab.left.dark a.cart-parent:after {
|
170 |
+
right: auto;
|
171 |
+
left: -10px;
|
172 |
+
}
|
173 |
+
.cart-tab.no-animation.right:hover {
|
174 |
+
right: -22em;
|
175 |
+
}
|
176 |
+
.cart-tab.no-animation.left:hover {
|
177 |
+
left: -22em;
|
178 |
+
}
|
179 |
+
.cart-tab.hidden {
|
180 |
+
display: none;
|
181 |
+
}
|
assets/css/style.less
CHANGED
@@ -24,6 +24,8 @@
|
|
24 |
.widget {
|
25 |
padding:1.618em;
|
26 |
margin:0;
|
|
|
|
|
27 |
}
|
28 |
|
29 |
// The light colour scheme
|
24 |
.widget {
|
25 |
padding:1.618em;
|
26 |
margin:0;
|
27 |
+
max-height: 600px;
|
28 |
+
overflow: auto;
|
29 |
}
|
30 |
|
31 |
// The light colour scheme
|
cart-tab.php
CHANGED
@@ -1,186 +1,221 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
Plugin Name: WooCommerce Cart Tab
|
4 |
-
Plugin URI: http://jameskoster.co.uk/tag/cart-tab/
|
5 |
-
Version: 0.
|
6 |
-
Description: Displays a sitewide link to the cart which reveals the cart contents on hover.
|
7 |
-
Author: jameskoster
|
8 |
-
Tested up to: 4.
|
9 |
-
Author URI: http://jameskoster.co.uk
|
10 |
-
Text Domain: woocommerce-cart-tab
|
11 |
-
Domain Path: /languages/
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
$this
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
'
|
49 |
-
'
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
'
|
55 |
-
'
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
'
|
61 |
-
'
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
}
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
}
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Plugin Name: WooCommerce Cart Tab
|
4 |
+
* Plugin URI: http://jameskoster.co.uk/tag/cart-tab/
|
5 |
+
* Version: 0.4.0
|
6 |
+
* Description: Displays a sitewide link to the cart which reveals the cart contents on hover.
|
7 |
+
* Author: jameskoster
|
8 |
+
* Tested up to: 4.5.2
|
9 |
+
* Author URI: http://jameskoster.co.uk
|
10 |
+
* Text Domain: woocommerce-cart-tab
|
11 |
+
* Domain Path: /languages/
|
12 |
+
|
13 |
+
* License: GNU General Public License v3.0
|
14 |
+
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
15 |
+
*
|
16 |
+
* @package woocommerce-cart-tab
|
17 |
+
*/
|
18 |
+
|
19 |
+
/**
|
20 |
+
* Check if WooCommerce is active
|
21 |
+
**/
|
22 |
+
if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ), true ) ) {
|
23 |
+
|
24 |
+
/**
|
25 |
+
* Localisation
|
26 |
+
*/
|
27 |
+
load_plugin_textdomain( 'woocommerce-cart-tab', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
28 |
+
|
29 |
+
if ( ! class_exists( 'WC_ct' ) ) {
|
30 |
+
|
31 |
+
/**
|
32 |
+
* Cart Tab class
|
33 |
+
*/
|
34 |
+
class WC_ct {
|
35 |
+
|
36 |
+
/**
|
37 |
+
* Set up all the things
|
38 |
+
*/
|
39 |
+
public function __construct() {
|
40 |
+
add_action( 'wp_enqueue_scripts', array( $this, 'setup_styles' ) );
|
41 |
+
add_action( 'wp_footer', array( $this, 'woocommerce_cart_tab' ) );
|
42 |
+
add_filter( 'add_to_cart_fragments', array( $this, 'wcct_add_to_cart_fragment' ) );
|
43 |
+
|
44 |
+
// Init settings.
|
45 |
+
$this->settings = array(
|
46 |
+
array(
|
47 |
+
'name' => __( 'Cart Tab', 'woocommerce-cart-tab' ),
|
48 |
+
'type' => 'title',
|
49 |
+
'id' => 'wc_ct_options',
|
50 |
+
),
|
51 |
+
array(
|
52 |
+
'name' => __( 'Cart Widget', 'woocommerce-cart-tab' ),
|
53 |
+
'desc' => __( 'Display the cart widget on hover', 'woocommerce-cart-tab' ),
|
54 |
+
'id' => 'wc_ct_cart_widget',
|
55 |
+
'type' => 'checkbox',
|
56 |
+
),
|
57 |
+
array(
|
58 |
+
'name' => __( 'Hide Empty Cart', 'woocommerce-cart-tab' ),
|
59 |
+
'desc' => __( 'Hide the cart tab if the cart is empty', 'woocommerce-cart-tab' ),
|
60 |
+
'id' => 'wc_ct_hide_empty_cart',
|
61 |
+
'type' => 'checkbox',
|
62 |
+
),
|
63 |
+
array(
|
64 |
+
'name' => __( 'Use the light or dark skin', 'woocommerce-cart-tab' ),
|
65 |
+
'id' => 'wc_ct_skin',
|
66 |
+
'type' => 'select',
|
67 |
+
'options' => array(
|
68 |
+
'light' => __( 'Light', 'woocommerce-cart-tab' ),
|
69 |
+
'dark' => __( 'Dark', 'woocommerce-cart-tab' ),
|
70 |
+
),
|
71 |
+
),
|
72 |
+
array(
|
73 |
+
'name' => __( 'Position the cart tab on the right or left', 'woocommerce-cart-tab' ),
|
74 |
+
'id' => 'wc_ct_horizontal_position',
|
75 |
+
'type' => 'select',
|
76 |
+
'options' => array(
|
77 |
+
'right' => __( 'Right', 'woocommerce-cart-tab' ),
|
78 |
+
'left' => __( 'Left', 'woocommerce-cart-tab' ),
|
79 |
+
),
|
80 |
+
),
|
81 |
+
array(
|
82 |
+
'name' => __( 'Cart link display total/subtotal', 'woocommerce-cart-tab' ),
|
83 |
+
'id' => 'wc_ct_link_display_total',
|
84 |
+
'type' => 'select',
|
85 |
+
'options' => array(
|
86 |
+
'total' => __( 'total', 'woocommerce-cart-tab' ),
|
87 |
+
'subtotal' => __( 'subtotal', 'woocommerce-cart-tab' ),
|
88 |
+
),
|
89 |
+
),
|
90 |
+
|
91 |
+
array(
|
92 |
+
'type' => 'sectionend',
|
93 |
+
'id' => 'wc_ct_options',
|
94 |
+
),
|
95 |
+
);
|
96 |
+
|
97 |
+
// Default options.
|
98 |
+
add_option( 'wc_ct_cart_widget', 'yes' );
|
99 |
+
add_option( 'wc_ct_hide_empty_cart', 'no' );
|
100 |
+
add_option( 'wc_ct_skin', 'light' );
|
101 |
+
add_option( 'wc_ct_horizontal_position', 'right' );
|
102 |
+
add_option( 'wc_ct_link_display_total', 'total' );
|
103 |
+
|
104 |
+
// Admin.
|
105 |
+
add_action( 'woocommerce_settings_image_options_after', array( $this, 'admin_settings' ), 20 );
|
106 |
+
add_action( 'woocommerce_update_options_catalog', array( $this, 'save_admin_settings' ) );
|
107 |
+
add_action( 'woocommerce_update_options_products', array( $this, 'save_admin_settings' ) );
|
108 |
+
}
|
109 |
+
|
110 |
+
/**
|
111 |
+
* Load the settings
|
112 |
+
*
|
113 |
+
* @return void
|
114 |
+
*/
|
115 |
+
function admin_settings() {
|
116 |
+
woocommerce_admin_fields( $this->settings );
|
117 |
+
}
|
118 |
+
|
119 |
+
/**
|
120 |
+
* Save the settings
|
121 |
+
*
|
122 |
+
* @return void
|
123 |
+
*/
|
124 |
+
function save_admin_settings() {
|
125 |
+
woocommerce_update_options( $this->settings );
|
126 |
+
}
|
127 |
+
|
128 |
+
/**
|
129 |
+
* Styles
|
130 |
+
*
|
131 |
+
* @return void
|
132 |
+
*/
|
133 |
+
function setup_styles() {
|
134 |
+
if ( ! is_cart() && ! is_checkout() ) {
|
135 |
+
wp_enqueue_style( 'ct-styles', plugins_url( '/assets/css/style.css', __FILE__ ) );
|
136 |
+
}
|
137 |
+
}
|
138 |
+
|
139 |
+
/**
|
140 |
+
* The cart fragment
|
141 |
+
*
|
142 |
+
* @param array $fragments elements that should be refreshed when items are added/removed from the cart.
|
143 |
+
*/
|
144 |
+
function wcct_add_to_cart_fragment( $fragments ) {
|
145 |
+
global $woocommerce;
|
146 |
+
ob_start();
|
147 |
+
wcct_cart_button();
|
148 |
+
$fragments['a.cart-parent'] = ob_get_clean();
|
149 |
+
return $fragments;
|
150 |
+
}
|
151 |
+
|
152 |
+
/**
|
153 |
+
* Display the cart tab / widget
|
154 |
+
*
|
155 |
+
* @return void
|
156 |
+
*/
|
157 |
+
function woocommerce_cart_tab() {
|
158 |
+
global $woocommerce;
|
159 |
+
$skin = get_option( 'wc_ct_skin' );
|
160 |
+
$position = get_option( 'wc_ct_horizontal_position' );
|
161 |
+
$widget = get_option( 'wc_ct_cart_widget' );
|
162 |
+
$hide_widget = get_option( 'wc_ct_hide_empty_cart' );
|
163 |
+
|
164 |
+
if ( 0 == $woocommerce->cart->get_cart_contents_count() && 'yes' == $hide_widget ) {
|
165 |
+
/**
|
166 |
+
* Hide empty cart
|
167 |
+
* Compatible with WP Super Cache as long as "late init" is enabled
|
168 |
+
*/
|
169 |
+
$visibility = 'hidden';
|
170 |
+
} else {
|
171 |
+
$visibility = 'visible';
|
172 |
+
}
|
173 |
+
|
174 |
+
if ( ! is_cart() && ! is_checkout() ) {
|
175 |
+
if ( 'yes' == $widget ) {
|
176 |
+
echo '<div class="' . esc_attr( $position ) . ' cart-tab ' . esc_attr( $skin ) . ' ' . esc_attr( $visibility ) . '">';
|
177 |
+
} else {
|
178 |
+
echo '<div class="' . esc_attr( $position ) . ' cart-tab no-animation ' . esc_attr( $skin ) . ' ' . esc_attr( $visibility ) . '">';
|
179 |
+
}
|
180 |
+
|
181 |
+
wcct_cart_button();
|
182 |
+
|
183 |
+
// Display the widget if specified.
|
184 |
+
if ( 'yes' == $widget ) {
|
185 |
+
// Check for WooCommerce 2.0 and display the cart widget.
|
186 |
+
if ( version_compare( WOOCOMMERCE_VERSION, '2.0.0' ) >= 0 ) {
|
187 |
+
the_widget( 'WC_Widget_Cart', 'title=' );
|
188 |
+
} else {
|
189 |
+
the_widget( 'WooCommerce_Widget_Cart', 'title=' );
|
190 |
+
}
|
191 |
+
}
|
192 |
+
echo '</div>';
|
193 |
+
}
|
194 |
+
}
|
195 |
+
}
|
196 |
+
|
197 |
+
/**
|
198 |
+
* Displays the cart total and number of items as a link
|
199 |
+
*
|
200 |
+
* @return void
|
201 |
+
*/
|
202 |
+
function wcct_cart_button() {
|
203 |
+
global $woocommerce;
|
204 |
+
$link_total = get_option( 'wc_ct_link_display_total' );
|
205 |
+
?>
|
206 |
+
<a href="<?php echo esc_url( $woocommerce->cart->get_cart_url() ); ?>" title="<?php esc_attr_e( 'View your shopping cart', 'woocommerce-cart-tab' ); ?>" class="cart-parent <?php echo esc_attr( $visibility ); ?>">
|
207 |
+
<?php
|
208 |
+
if ( 'total' == $link_total ) {
|
209 |
+
echo wp_kses_post( $woocommerce->cart->get_cart_total() );
|
210 |
+
} elseif ( 'subtotal' == $link_total ) {
|
211 |
+
echo wp_kses_post( $woocommerce->cart->get_cart_subtotal() );
|
212 |
+
}
|
213 |
+
echo '<span class="contents">' . sprintf( _n( '%d item', '%d items', intval( $woocommerce->cart->get_cart_contents_count() ), 'woocommerce-cart-tab' ), intval( $woocommerce->cart->get_cart_contents_count() ) ) . '</span>';
|
214 |
+
?>
|
215 |
+
</a>
|
216 |
+
<?php
|
217 |
+
}
|
218 |
+
|
219 |
+
$woocommerce_cart_tab = new WC_ct();
|
220 |
+
}
|
221 |
+
}
|
config.codekit
ADDED
@@ -0,0 +1,925 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit",
|
3 |
+
"creatorBuild": "19127",
|
4 |
+
"files": {
|
5 |
+
"\/assets\/css\/mixins.less": {
|
6 |
+
"allowInsecureImports": 0,
|
7 |
+
"createSourceMap": 0,
|
8 |
+
"disableJavascript": 0,
|
9 |
+
"fileType": 1,
|
10 |
+
"ieCompatibility": 1,
|
11 |
+
"ignore": 1,
|
12 |
+
"ignoreWasSetByUser": 0,
|
13 |
+
"inputAbbreviatedPath": "\/assets\/css\/mixins.less",
|
14 |
+
"outputAbbreviatedPath": "\/assets\/css\/mixins.css",
|
15 |
+
"outputPathIsOutsideProject": 0,
|
16 |
+
"outputPathIsSetByUser": 0,
|
17 |
+
"outputStyle": 0,
|
18 |
+
"relativeURLS": 0,
|
19 |
+
"shouldRunAutoprefixer": 0,
|
20 |
+
"shouldRunBless": 0,
|
21 |
+
"strictImports": 0,
|
22 |
+
"strictMath": 0,
|
23 |
+
"strictUnits": 0
|
24 |
+
},
|
25 |
+
"\/assets\/css\/style.less": {
|
26 |
+
"allowInsecureImports": 0,
|
27 |
+
"createSourceMap": 0,
|
28 |
+
"disableJavascript": 0,
|
29 |
+
"fileType": 1,
|
30 |
+
"ieCompatibility": 1,
|
31 |
+
"ignore": 0,
|
32 |
+
"ignoreWasSetByUser": 0,
|
33 |
+
"inputAbbreviatedPath": "\/assets\/css\/style.less",
|
34 |
+
"outputAbbreviatedPath": "\/assets\/css\/style.css",
|
35 |
+
"outputPathIsOutsideProject": 0,
|
36 |
+
"outputPathIsSetByUser": 0,
|
37 |
+
"outputStyle": 0,
|
38 |
+
"relativeURLS": 0,
|
39 |
+
"shouldRunAutoprefixer": 0,
|
40 |
+
"shouldRunBless": 0,
|
41 |
+
"strictImports": 0,
|
42 |
+
"strictMath": 0,
|
43 |
+
"strictUnits": 0
|
44 |
+
},
|
45 |
+
"\/cart-tab.php": {
|
46 |
+
"fileType": 8192,
|
47 |
+
"ignore": 0,
|
48 |
+
"ignoreWasSetByUser": 0,
|
49 |
+
"inputAbbreviatedPath": "\/cart-tab.php",
|
50 |
+
"outputAbbreviatedPath": "No Output Path",
|
51 |
+
"outputPathIsOutsideProject": 0,
|
52 |
+
"outputPathIsSetByUser": 0
|
53 |
+
},
|
54 |
+
"\/README.md": {
|
55 |
+
"criticStyle": 0,
|
56 |
+
"enableFootnotes": 1,
|
57 |
+
"enableLabels": 1,
|
58 |
+
"enableSmartQuotes": 1,
|
59 |
+
"escapeLineBreaks": 0,
|
60 |
+
"fileType": 4096,
|
61 |
+
"ignore": 0,
|
62 |
+
"ignoreWasSetByUser": 0,
|
63 |
+
"inputAbbreviatedPath": "\/README.md",
|
64 |
+
"maskEmailAddresses": 1,
|
65 |
+
"outputAbbreviatedPath": "\/README.html",
|
66 |
+
"outputFormat": 0,
|
67 |
+
"outputPathIsOutsideProject": 0,
|
68 |
+
"outputPathIsSetByUser": 0,
|
69 |
+
"outputStyle": 0,
|
70 |
+
"parseMetadata": 1,
|
71 |
+
"processHTML": 0,
|
72 |
+
"randomFootnoteNumbers": 0,
|
73 |
+
"useCompatibilityMode": 0
|
74 |
+
},
|
75 |
+
"\/screenshot-1.png": {
|
76 |
+
"fileType": 32768,
|
77 |
+
"ignore": 0,
|
78 |
+
"ignoreWasSetByUser": 0,
|
79 |
+
"initialSize": 9015,
|
80 |
+
"inputAbbreviatedPath": "\/screenshot-1.png",
|
81 |
+
"outputAbbreviatedPath": "\/screenshot-1.png",
|
82 |
+
"outputPathIsOutsideProject": 0,
|
83 |
+
"outputPathIsSetByUser": 0,
|
84 |
+
"processed": 0
|
85 |
+
},
|
86 |
+
"\/screenshot-2.png": {
|
87 |
+
"fileType": 32768,
|
88 |
+
"ignore": 0,
|
89 |
+
"ignoreWasSetByUser": 0,
|
90 |
+
"initialSize": 131863,
|
91 |
+
"inputAbbreviatedPath": "\/screenshot-2.png",
|
92 |
+
"outputAbbreviatedPath": "\/screenshot-2.png",
|
93 |
+
"outputPathIsOutsideProject": 0,
|
94 |
+
"outputPathIsSetByUser": 0,
|
95 |
+
"processed": 0
|
96 |
+
},
|
97 |
+
"\/screenshot-3.png": {
|
98 |
+
"fileType": 32768,
|
99 |
+
"ignore": 0,
|
100 |
+
"ignoreWasSetByUser": 0,
|
101 |
+
"initialSize": 72739,
|
102 |
+
"inputAbbreviatedPath": "\/screenshot-3.png",
|
103 |
+
"outputAbbreviatedPath": "\/screenshot-3.png",
|
104 |
+
"outputPathIsOutsideProject": 0,
|
105 |
+
"outputPathIsSetByUser": 0,
|
106 |
+
"processed": 0
|
107 |
+
}
|
108 |
+
},
|
109 |
+
"hooks": [
|
110 |
+
],
|
111 |
+
"lastSavedByUser": "James Koster",
|
112 |
+
"manualImportLinks": {
|
113 |
+
},
|
114 |
+
"projectAttributes": {
|
115 |
+
"bowerAbbreviatedPath": "",
|
116 |
+
"displayValue": "woocommerce-cart-tab",
|
117 |
+
"displayValueWasSetByUser": 0,
|
118 |
+
"iconImageName": "globe_darkGray"
|
119 |
+
},
|
120 |
+
"projectSettings": {
|
121 |
+
"alwaysUseExternalServer": 0,
|
122 |
+
"animateCSSInjections": 1,
|
123 |
+
"autoApplyPSLanguageSettingsStyle": 0,
|
124 |
+
"autoprefixerBrowserString": "> 1%, last 2 versions, Firefox ESR, Opera 12.1",
|
125 |
+
"autoSyncProjectSettingsFile": 1,
|
126 |
+
"browserRefreshDelay": 0,
|
127 |
+
"coffeeAutoOutputPathEnabled": 1,
|
128 |
+
"coffeeAutoOutputPathFilenamePattern": "*.js",
|
129 |
+
"coffeeAutoOutputPathRelativePath": "",
|
130 |
+
"coffeeAutoOutputPathReplace1": "",
|
131 |
+
"coffeeAutoOutputPathReplace2": "",
|
132 |
+
"coffeeAutoOutputPathStyle": 0,
|
133 |
+
"coffeeCreateSourceMap": 0,
|
134 |
+
"coffeeLintFlags2": {
|
135 |
+
"arrow_spacing": {
|
136 |
+
"active": 0,
|
137 |
+
"flagValue": -1
|
138 |
+
},
|
139 |
+
"camel_case_classes": {
|
140 |
+
"active": 1,
|
141 |
+
"flagValue": -1
|
142 |
+
},
|
143 |
+
"colon_assignment_spacing": {
|
144 |
+
"active": 0,
|
145 |
+
"flagValue": 1
|
146 |
+
},
|
147 |
+
"cyclomatic_complexity": {
|
148 |
+
"active": 0,
|
149 |
+
"flagValue": 10
|
150 |
+
},
|
151 |
+
"duplicate_key": {
|
152 |
+
"active": 1,
|
153 |
+
"flagValue": -1
|
154 |
+
},
|
155 |
+
"empty_constructor_needs_parens": {
|
156 |
+
"active": 0,
|
157 |
+
"flagValue": -1
|
158 |
+
},
|
159 |
+
"ensure_comprehensions": {
|
160 |
+
"active": 1,
|
161 |
+
"flagValue": -1
|
162 |
+
},
|
163 |
+
"indentation": {
|
164 |
+
"active": 1,
|
165 |
+
"flagValue": 2
|
166 |
+
},
|
167 |
+
"line_endings": {
|
168 |
+
"active": 0,
|
169 |
+
"flagValue": 0
|
170 |
+
},
|
171 |
+
"max_line_length": {
|
172 |
+
"active": 0,
|
173 |
+
"flagValue": 150
|
174 |
+
},
|
175 |
+
"missing_fat_arrows": {
|
176 |
+
"active": 0,
|
177 |
+
"flagValue": -1
|
178 |
+
},
|
179 |
+
"newlines_after_classes": {
|
180 |
+
"active": 0,
|
181 |
+
"flagValue": 3
|
182 |
+
},
|
183 |
+
"no_backticks": {
|
184 |
+
"active": 1,
|
185 |
+
"flagValue": -1
|
186 |
+
},
|
187 |
+
"no_debugger": {
|
188 |
+
"active": 1,
|
189 |
+
"flagValue": -1
|
190 |
+
},
|
191 |
+
"no_empty_functions": {
|
192 |
+
"active": 0,
|
193 |
+
"flagValue": -1
|
194 |
+
},
|
195 |
+
"no_empty_param_list": {
|
196 |
+
"active": 0,
|
197 |
+
"flagValue": -1
|
198 |
+
},
|
199 |
+
"no_implicit_braces": {
|
200 |
+
"active": 1,
|
201 |
+
"flagValue": -1
|
202 |
+
},
|
203 |
+
"no_implicit_parens": {
|
204 |
+
"active": 0,
|
205 |
+
"flagValue": -1
|
206 |
+
},
|
207 |
+
"no_interpolation_in_single_quotes": {
|
208 |
+
"active": 0,
|
209 |
+
"flagValue": -1
|
210 |
+
},
|
211 |
+
"no_nested_string_interpolation": {
|
212 |
+
"active": 1,
|
213 |
+
"flagValue": -1
|
214 |
+
},
|
215 |
+
"no_plusplus": {
|
216 |
+
"active": 0,
|
217 |
+
"flagValue": -1
|
218 |
+
},
|
219 |
+
"no_private_function_fat_arrows": {
|
220 |
+
"active": 1,
|
221 |
+
"flagValue": -1
|
222 |
+
},
|
223 |
+
"no_stand_alone_at": {
|
224 |
+
"active": 1,
|
225 |
+
"flagValue": -1
|
226 |
+
},
|
227 |
+
"no_tabs": {
|
228 |
+
"active": 1,
|
229 |
+
"flagValue": -1
|
230 |
+
},
|
231 |
+
"no_this": {
|
232 |
+
"active": 0,
|
233 |
+
"flagValue": -1
|
234 |
+
},
|
235 |
+
"no_throwing_strings": {
|
236 |
+
"active": 1,
|
237 |
+
"flagValue": -1
|
238 |
+
},
|
239 |
+
"no_trailing_semicolons": {
|
240 |
+
"active": 1,
|
241 |
+
"flagValue": -1
|
242 |
+
},
|
243 |
+
"no_trailing_whitespace": {
|
244 |
+
"active": 1,
|
245 |
+
"flagValue": -1
|
246 |
+
},
|
247 |
+
"no_unnecessary_double_quotes": {
|
248 |
+
"active": 0,
|
249 |
+
"flagValue": -1
|
250 |
+
},
|
251 |
+
"no_unnecessary_fat_arrows": {
|
252 |
+
"active": 1,
|
253 |
+
"flagValue": -1
|
254 |
+
},
|
255 |
+
"non_empty_constructor_needs_parens": {
|
256 |
+
"active": 0,
|
257 |
+
"flagValue": -1
|
258 |
+
},
|
259 |
+
"prefer_english_operator": {
|
260 |
+
"active": 0,
|
261 |
+
"flagValue": -1
|
262 |
+
},
|
263 |
+
"space_operators": {
|
264 |
+
"active": 0,
|
265 |
+
"flagValue": -1
|
266 |
+
},
|
267 |
+
"spacing_after_comma": {
|
268 |
+
"active": 1,
|
269 |
+
"flagValue": -1
|
270 |
+
}
|
271 |
+
},
|
272 |
+
"coffeeMinifyOutput": 1,
|
273 |
+
"coffeeOutputStyle": 0,
|
274 |
+
"coffeeSyntaxCheckerStyle": 1,
|
275 |
+
"externalServerAddress": "http:\/\/localhost:8888",
|
276 |
+
"externalServerPreviewPathAddition": "",
|
277 |
+
"genericWebpageFileExtensionsString": "html, htm, shtml, shtm, xhtml, php, jsp, asp, aspx, erb, ctp",
|
278 |
+
"hamlAutoOutputPathEnabled": 1,
|
279 |
+
"hamlAutoOutputPathFilenamePattern": "*.html",
|
280 |
+
"hamlAutoOutputPathRelativePath": "",
|
281 |
+
"hamlAutoOutputPathReplace1": "",
|
282 |
+
"hamlAutoOutputPathReplace2": "",
|
283 |
+
"hamlAutoOutputPathStyle": 0,
|
284 |
+
"hamlEscapeHTMLCharacters": 0,
|
285 |
+
"hamlNoEscapeInAttributes": 0,
|
286 |
+
"hamlOutputFormat": 2,
|
287 |
+
"hamlOutputStyle": 0,
|
288 |
+
"hamlUseCDATA": 0,
|
289 |
+
"hamlUseDoubleQuotes": 0,
|
290 |
+
"hamlUseUnixNewlines": 0,
|
291 |
+
"jadeAutoOutputPathEnabled": 1,
|
292 |
+
"jadeAutoOutputPathFilenamePattern": "*.html",
|
293 |
+
"jadeAutoOutputPathRelativePath": "",
|
294 |
+
"jadeAutoOutputPathReplace1": "",
|
295 |
+
"jadeAutoOutputPathReplace2": "",
|
296 |
+
"jadeAutoOutputPathStyle": 0,
|
297 |
+
"jadeCompileDebug": 1,
|
298 |
+
"jadeOutputStyle": 0,
|
299 |
+
"javascriptAutoOutputPathEnabled": 1,
|
300 |
+
"javascriptAutoOutputPathFilenamePattern": "*-min.js",
|
301 |
+
"javascriptAutoOutputPathRelativePath": "\/min",
|
302 |
+
"javascriptAutoOutputPathReplace1": "",
|
303 |
+
"javascriptAutoOutputPathReplace2": "",
|
304 |
+
"javascriptAutoOutputPathStyle": 2,
|
305 |
+
"javascriptCreateSourceMap": 1,
|
306 |
+
"javascriptOutputStyle": 1,
|
307 |
+
"javascriptSyntaxCheckerStyle": 1,
|
308 |
+
"jsCheckerReservedNamesString": "",
|
309 |
+
"jsHintFlags2": {
|
310 |
+
"asi": {
|
311 |
+
"active": 0,
|
312 |
+
"flagValue": -1
|
313 |
+
},
|
314 |
+
"bitwise": {
|
315 |
+
"active": 1,
|
316 |
+
"flagValue": -1
|
317 |
+
},
|
318 |
+
"boss": {
|
319 |
+
"active": 0,
|
320 |
+
"flagValue": -1
|
321 |
+
},
|
322 |
+
"browser": {
|
323 |
+
"active": 1,
|
324 |
+
"flagValue": -1
|
325 |
+
},
|
326 |
+
"browserify": {
|
327 |
+
"active": 0,
|
328 |
+
"flagValue": -1
|
329 |
+
},
|
330 |
+
"camelcase": {
|
331 |
+
"active": 0,
|
332 |
+
"flagValue": -1
|
333 |
+
},
|
334 |
+
"couch": {
|
335 |
+
"active": 0,
|
336 |
+
"flagValue": -1
|
337 |
+
},
|
338 |
+
"curly": {
|
339 |
+
"active": 1,
|
340 |
+
"flagValue": -1
|
341 |
+
},
|
342 |
+
"debug": {
|
343 |
+
"active": 0,
|
344 |
+
"flagValue": -1
|
345 |
+
},
|
346 |
+
"devel": {
|
347 |
+
"active": 0,
|
348 |
+
"flagValue": -1
|
349 |
+
},
|
350 |
+
"dojo": {
|
351 |
+
"active": 0,
|
352 |
+
"flagValue": -1
|
353 |
+
},
|
354 |
+
"elision": {
|
355 |
+
"active": 1,
|
356 |
+
"flagValue": -1
|
357 |
+
},
|
358 |
+
"eqeqeq": {
|
359 |
+
"active": 1,
|
360 |
+
"flagValue": -1
|
361 |
+
},
|
362 |
+
"eqnull": {
|
363 |
+
"active": 0,
|
364 |
+
"flagValue": -1
|
365 |
+
},
|
366 |
+
"es3": {
|
367 |
+
"active": 0,
|
368 |
+
"flagValue": -1
|
369 |
+
},
|
370 |
+
"esnext": {
|
371 |
+
"active": 0,
|
372 |
+
"flagValue": -1
|
373 |
+
},
|
374 |
+
"evil": {
|
375 |
+
"active": 0,
|
376 |
+
"flagValue": -1
|
377 |
+
},
|
378 |
+
"expr": {
|
379 |
+
"active": 0,
|
380 |
+
"flagValue": -1
|
381 |
+
},
|
382 |
+
"forin": {
|
383 |
+
"active": 0,
|
384 |
+
"flagValue": -1
|
385 |
+
},
|
386 |
+
"freeze": {
|
387 |
+
"active": 1,
|
388 |
+
"flagValue": -1
|
389 |
+
},
|
390 |
+
"funcscope": {
|
391 |
+
"active": 0,
|
392 |
+
"flagValue": -1
|
393 |
+
},
|
394 |
+
"futurehostile": {
|
395 |
+
"active": 0,
|
396 |
+
"flagValue": -1
|
397 |
+
},
|
398 |
+
"globalstrict": {
|
399 |
+
"active": 0,
|
400 |
+
"flagValue": -1
|
401 |
+
},
|
402 |
+
"immed": {
|
403 |
+
"active": 0,
|
404 |
+
"flagValue": -1
|
405 |
+
},
|
406 |
+
"indent": {
|
407 |
+
"active": 0,
|
408 |
+
"flagValue": 4
|
409 |
+
},
|
410 |
+
"iterator": {
|
411 |
+
"active": 0,
|
412 |
+
"flagValue": -1
|
413 |
+
},
|
414 |
+
"jasmine": {
|
415 |
+
"active": 0,
|
416 |
+
"flagValue": -1
|
417 |
+
},
|
418 |
+
"jquery": {
|
419 |
+
"active": 1,
|
420 |
+
"flagValue": -1
|
421 |
+
},
|
422 |
+
"lastsemic": {
|
423 |
+
"active": 0,
|
424 |
+
"flagValue": -1
|
425 |
+
},
|
426 |
+
"latedef": {
|
427 |
+
"active": 1,
|
428 |
+
"flagValue": -1
|
429 |
+
},
|
430 |
+
"laxbreak": {
|
431 |
+
"active": 0,
|
432 |
+
"flagValue": -1
|
433 |
+
},
|
434 |
+
"laxcomma": {
|
435 |
+
"active": 0,
|
436 |
+
"flagValue": -1
|
437 |
+
},
|
438 |
+
"loopfunc": {
|
439 |
+
"active": 0,
|
440 |
+
"flagValue": -1
|
441 |
+
},
|
442 |
+
"maxcomplexity": {
|
443 |
+
"active": 0,
|
444 |
+
"flagValue": 10
|
445 |
+
},
|
446 |
+
"maxdepth": {
|
447 |
+
"active": 0,
|
448 |
+
"flagValue": 3
|
449 |
+
},
|
450 |
+
"maxlen": {
|
451 |
+
"active": 0,
|
452 |
+
"flagValue": 150
|
453 |
+
},
|
454 |
+
"maxparams": {
|
455 |
+
"active": 0,
|
456 |
+
"flagValue": 3
|
457 |
+
},
|
458 |
+
"maxstatements": {
|
459 |
+
"active": 0,
|
460 |
+
"flagValue": 4
|
461 |
+
},
|
462 |
+
"mocha": {
|
463 |
+
"active": 0,
|
464 |
+
"flagValue": -1
|
465 |
+
},
|
466 |
+
"mootools": {
|
467 |
+
"active": 0,
|
468 |
+
"flagValue": -1
|
469 |
+
},
|
470 |
+
"moz": {
|
471 |
+
"active": 0,
|
472 |
+
"flagValue": -1
|
473 |
+
},
|
474 |
+
"multistr": {
|
475 |
+
"active": 0,
|
476 |
+
"flagValue": -1
|
477 |
+
},
|
478 |
+
"newcap": {
|
479 |
+
"active": 1,
|
480 |
+
"flagValue": -1
|
481 |
+
},
|
482 |
+
"noarg": {
|
483 |
+
"active": 1,
|
484 |
+
"flagValue": -1
|
485 |
+
},
|
486 |
+
"nocomma": {
|
487 |
+
"active": 0,
|
488 |
+
"flagValue": -1
|
489 |
+
},
|
490 |
+
"node": {
|
491 |
+
"active": 0,
|
492 |
+
"flagValue": -1
|
493 |
+
},
|
494 |
+
"noempty": {
|
495 |
+
"active": 0,
|
496 |
+
"flagValue": -1
|
497 |
+
},
|
498 |
+
"nonbsp": {
|
499 |
+
"active": 0,
|
500 |
+
"flagValue": -1
|
501 |
+
},
|
502 |
+
"nonew": {
|
503 |
+
"active": 1,
|
504 |
+
"flagValue": -1
|
505 |
+
},
|
506 |
+
"nonstandard": {
|
507 |
+
"active": 0,
|
508 |
+
"flagValue": -1
|
509 |
+
},
|
510 |
+
"notypeof": {
|
511 |
+
"active": 1,
|
512 |
+
"flagValue": -1
|
513 |
+
},
|
514 |
+
"noyield": {
|
515 |
+
"active": 0,
|
516 |
+
"flagValue": -1
|
517 |
+
},
|
518 |
+
"onecase": {
|
519 |
+
"active": 0,
|
520 |
+
"flagValue": -1
|
521 |
+
},
|
522 |
+
"phantom": {
|
523 |
+
"active": 0,
|
524 |
+
"flagValue": -1
|
525 |
+
},
|
526 |
+
"plusplus": {
|
527 |
+
"active": 0,
|
528 |
+
"flagValue": -1
|
529 |
+
},
|
530 |
+
"proto": {
|
531 |
+
"active": 0,
|
532 |
+
"flagValue": -1
|
533 |
+
},
|
534 |
+
"prototypejs": {
|
535 |
+
"active": 0,
|
536 |
+
"flagValue": -1
|
537 |
+
},
|
538 |
+
"qunit": {
|
539 |
+
"active": 0,
|
540 |
+
"flagValue": -1
|
541 |
+
},
|
542 |
+
"regexp": {
|
543 |
+
"active": 1,
|
544 |
+
"flagValue": -1
|
545 |
+
},
|
546 |
+
"rhino": {
|
547 |
+
"active": 0,
|
548 |
+
"flagValue": -1
|
549 |
+
},
|
550 |
+
"scripturl": {
|
551 |
+
"active": 0,
|
552 |
+
"flagValue": -1
|
553 |
+
},
|
554 |
+
"shadow": {
|
555 |
+
"active": 0,
|
556 |
+
"flagValue": -1
|
557 |
+
},
|
558 |
+
"shelljs": {
|
559 |
+
"active": 0,
|
560 |
+
"flagValue": -1
|
561 |
+
},
|
562 |
+
"singleGroups": {
|
563 |
+
"active": 0,
|
564 |
+
"flagValue": -1
|
565 |
+
},
|
566 |
+
"strict": {
|
567 |
+
"active": 0,
|
568 |
+
"flagValue": -1
|
569 |
+
},
|
570 |
+
"sub": {
|
571 |
+
"active": 0,
|
572 |
+
"flagValue": -1
|
573 |
+
},
|
574 |
+
"supernew": {
|
575 |
+
"active": 0,
|
576 |
+
"flagValue": -1
|
577 |
+
},
|
578 |
+
"typed": {
|
579 |
+
"active": 0,
|
580 |
+
"flagValue": -1
|
581 |
+
},
|
582 |
+
"undef": {
|
583 |
+
"active": 1,
|
584 |
+
"flagValue": -1
|
585 |
+
},
|
586 |
+
"unused": {
|
587 |
+
"active": 1,
|
588 |
+
"flagValue": -1
|
589 |
+
},
|
590 |
+
"varstmt": {
|
591 |
+
"active": 0,
|
592 |
+
"flagValue": -1
|
593 |
+
},
|
594 |
+
"withstmt": {
|
595 |
+
"active": 0,
|
596 |
+
"flagValue": -1
|
597 |
+
},
|
598 |
+
"worker": {
|
599 |
+
"active": 0,
|
600 |
+
"flagValue": -1
|
601 |
+
},
|
602 |
+
"wsh": {
|
603 |
+
"active": 0,
|
604 |
+
"flagValue": -1
|
605 |
+
},
|
606 |
+
"yui": {
|
607 |
+
"active": 0,
|
608 |
+
"flagValue": -1
|
609 |
+
}
|
610 |
+
},
|
611 |
+
"jsLintFlags2": {
|
612 |
+
"bitwise": {
|
613 |
+
"active": 0,
|
614 |
+
"flagValue": -1
|
615 |
+
},
|
616 |
+
"browser": {
|
617 |
+
"active": 1,
|
618 |
+
"flagValue": -1
|
619 |
+
},
|
620 |
+
"couch": {
|
621 |
+
"active": 0,
|
622 |
+
"flagValue": -1
|
623 |
+
},
|
624 |
+
"devel": {
|
625 |
+
"active": 0,
|
626 |
+
"flagValue": -1
|
627 |
+
},
|
628 |
+
"es6": {
|
629 |
+
"active": 0,
|
630 |
+
"flagValue": -1
|
631 |
+
},
|
632 |
+
"eval": {
|
633 |
+
"active": 0,
|
634 |
+
"flagValue": -1
|
635 |
+
},
|
636 |
+
"for": {
|
637 |
+
"active": 0,
|
638 |
+
"flagValue": -1
|
639 |
+
},
|
640 |
+
"maxlen": {
|
641 |
+
"active": 0,
|
642 |
+
"flagValue": 150
|
643 |
+
},
|
644 |
+
"node": {
|
645 |
+
"active": 0,
|
646 |
+
"flagValue": -1
|
647 |
+
},
|
648 |
+
"this": {
|
649 |
+
"active": 0,
|
650 |
+
"flagValue": -1
|
651 |
+
},
|
652 |
+
"white": {
|
653 |
+
"active": 0,
|
654 |
+
"flagValue": -1
|
655 |
+
}
|
656 |
+
},
|
657 |
+
"jsonAutoOutputPathEnabled": 0,
|
658 |
+
"jsonAutoOutputPathFilenamePattern": "*-min.json",
|
659 |
+
"jsonAutoOutputPathRelativePath": "",
|
660 |
+
"jsonAutoOutputPathReplace1": "",
|
661 |
+
"jsonAutoOutputPathReplace2": "",
|
662 |
+
"jsonAutoOutputPathStyle": 0,
|
663 |
+
"jsonOrderOutput": 0,
|
664 |
+
"jsonOutputStyle": 1,
|
665 |
+
"kitAutoOutputPathEnabled": 1,
|
666 |
+
"kitAutoOutputPathFilenamePattern": "*.html",
|
667 |
+
"kitAutoOutputPathRelativePath": "",
|
668 |
+
"kitAutoOutputPathReplace1": "",
|
669 |
+
"kitAutoOutputPathReplace2": "",
|
670 |
+
"kitAutoOutputPathStyle": 0,
|
671 |
+
"lessAllowInsecureImports": 0,
|
672 |
+
"lessAutoOutputPathEnabled": 1,
|
673 |
+
"lessAutoOutputPathFilenamePattern": "*.css",
|
674 |
+
"lessAutoOutputPathRelativePath": "..\/css",
|
675 |
+
"lessAutoOutputPathReplace1": "less",
|
676 |
+
"lessAutoOutputPathReplace2": "css",
|
677 |
+
"lessAutoOutputPathStyle": 2,
|
678 |
+
"lessCreateSourceMap": 0,
|
679 |
+
"lessDisableJavascript": 0,
|
680 |
+
"lessIeCompatibility": 1,
|
681 |
+
"lessOutputStyle": 0,
|
682 |
+
"lessRelativeURLS": 0,
|
683 |
+
"lessStrictImports": 0,
|
684 |
+
"lessStrictMath": 0,
|
685 |
+
"lessStrictUnits": 0,
|
686 |
+
"markdownAutoOutputPathEnabled": 1,
|
687 |
+
"markdownAutoOutputPathFilenamePattern": "*.html",
|
688 |
+
"markdownAutoOutputPathRelativePath": "",
|
689 |
+
"markdownAutoOutputPathReplace1": "",
|
690 |
+
"markdownAutoOutputPathReplace2": "",
|
691 |
+
"markdownAutoOutputPathStyle": 0,
|
692 |
+
"markdownCriticStyle": 0,
|
693 |
+
"markdownEnableFootnotes": 1,
|
694 |
+
"markdownEnableLabels": 1,
|
695 |
+
"markdownEnableSmartQuotes": 1,
|
696 |
+
"markdownEscapeLineBreaks": 0,
|
697 |
+
"markdownMaskEmailAddresses": 1,
|
698 |
+
"markdownOutputFormat": 0,
|
699 |
+
"markdownOutputStyle": 0,
|
700 |
+
"markdownParseMetadata": 1,
|
701 |
+
"markdownProcessHTML": 0,
|
702 |
+
"markdownRandomFootnoteNumbers": 0,
|
703 |
+
"markdownUseCompatibilityMode": 0,
|
704 |
+
"reloadFileURLs": 0,
|
705 |
+
"sassAutoOutputPathEnabled": 1,
|
706 |
+
"sassAutoOutputPathFilenamePattern": "*.css",
|
707 |
+
"sassAutoOutputPathRelativePath": "..\/css",
|
708 |
+
"sassAutoOutputPathReplace1": "sass",
|
709 |
+
"sassAutoOutputPathReplace2": "css",
|
710 |
+
"sassAutoOutputPathStyle": 2,
|
711 |
+
"sassCreateSourceMap": 0,
|
712 |
+
"sassDebugStyle": 0,
|
713 |
+
"sassDecimalPrecision": 10,
|
714 |
+
"sassOutputStyle": 0,
|
715 |
+
"sassUseLibsass": 0,
|
716 |
+
"shouldRunAutoprefixer": 0,
|
717 |
+
"shouldRunBless": 0,
|
718 |
+
"skippedItemsString": ".svn, .git, .hg, log, _logs, _cache, cache, logs, node_modules",
|
719 |
+
"slimAutoOutputPathEnabled": 1,
|
720 |
+
"slimAutoOutputPathFilenamePattern": "*.html",
|
721 |
+
"slimAutoOutputPathRelativePath": "",
|
722 |
+
"slimAutoOutputPathReplace1": "",
|
723 |
+
"slimAutoOutputPathReplace2": "",
|
724 |
+
"slimAutoOutputPathStyle": 0,
|
725 |
+
"slimCompileOnly": 0,
|
726 |
+
"slimLogicless": 0,
|
727 |
+
"slimOutputFormat": 0,
|
728 |
+
"slimOutputStyle": 1,
|
729 |
+
"slimRailsCompatible": 0,
|
730 |
+
"stylusAutoOutputPathEnabled": 1,
|
731 |
+
"stylusAutoOutputPathFilenamePattern": "*.css",
|
732 |
+
"stylusAutoOutputPathRelativePath": "..\/css",
|
733 |
+
"stylusAutoOutputPathReplace1": "stylus",
|
734 |
+
"stylusAutoOutputPathReplace2": "css",
|
735 |
+
"stylusAutoOutputPathStyle": 2,
|
736 |
+
"stylusCreateSourceMap": 0,
|
737 |
+
"stylusDebugStyle": 0,
|
738 |
+
"stylusImportCSS": 0,
|
739 |
+
"stylusOutputStyle": 0,
|
740 |
+
"stylusResolveRelativeURLS": 0,
|
741 |
+
"typescriptAutoOutputPathEnabled": 1,
|
742 |
+
"typescriptAutoOutputPathFilenamePattern": "*.js",
|
743 |
+
"typescriptAutoOutputPathRelativePath": "\/js",
|
744 |
+
"typescriptAutoOutputPathReplace1": "",
|
745 |
+
"typescriptAutoOutputPathReplace2": "",
|
746 |
+
"typescriptAutoOutputPathStyle": 2,
|
747 |
+
"typescriptCreateDeclarationFile": 0,
|
748 |
+
"typescriptCreateSourceMap": 0,
|
749 |
+
"typescriptJSXMode": 0,
|
750 |
+
"typescriptMinifyOutput": 0,
|
751 |
+
"typescriptModuleResolutionType": 0,
|
752 |
+
"typescriptModuleType": 2,
|
753 |
+
"typescriptNoImplicitAny": 0,
|
754 |
+
"typescriptPreserveConstEnums": 0,
|
755 |
+
"typescriptRemoveComments": 0,
|
756 |
+
"typescriptSuppressImplicitAnyIndexErrors": 0,
|
757 |
+
"typescriptTargetECMAVersion": 0,
|
758 |
+
"uglifyDefinesString": "",
|
759 |
+
"uglifyFlags2": {
|
760 |
+
"ascii-only": {
|
761 |
+
"active": 0,
|
762 |
+
"flagValue": -1
|
763 |
+
},
|
764 |
+
"bare-returns": {
|
765 |
+
"active": 0,
|
766 |
+
"flagValue": -1
|
767 |
+
},
|
768 |
+
"booleans": {
|
769 |
+
"active": 1,
|
770 |
+
"flagValue": -1
|
771 |
+
},
|
772 |
+
"bracketize": {
|
773 |
+
"active": 0,
|
774 |
+
"flagValue": -1
|
775 |
+
},
|
776 |
+
"cascade": {
|
777 |
+
"active": 1,
|
778 |
+
"flagValue": -1
|
779 |
+
},
|
780 |
+
"comments": {
|
781 |
+
"active": 1,
|
782 |
+
"flagValue": -1
|
783 |
+
},
|
784 |
+
"comparisons": {
|
785 |
+
"active": 1,
|
786 |
+
"flagValue": -1
|
787 |
+
},
|
788 |
+
"compress": {
|
789 |
+
"active": 1,
|
790 |
+
"flagValue": -1
|
791 |
+
},
|
792 |
+
"conditionals": {
|
793 |
+
"active": 1,
|
794 |
+
"flagValue": -1
|
795 |
+
},
|
796 |
+
"dead_code": {
|
797 |
+
"active": 0,
|
798 |
+
"flagValue": -1
|
799 |
+
},
|
800 |
+
"drop_console": {
|
801 |
+
"active": 0,
|
802 |
+
"flagValue": -1
|
803 |
+
},
|
804 |
+
"drop_debugger": {
|
805 |
+
"active": 1,
|
806 |
+
"flagValue": -1
|
807 |
+
},
|
808 |
+
"eval": {
|
809 |
+
"active": 0,
|
810 |
+
"flagValue": -1
|
811 |
+
},
|
812 |
+
"evaluate": {
|
813 |
+
"active": 1,
|
814 |
+
"flagValue": -1
|
815 |
+
},
|
816 |
+
"hoist_funs": {
|
817 |
+
"active": 1,
|
818 |
+
"flagValue": -1
|
819 |
+
},
|
820 |
+
"hoist_vars": {
|
821 |
+
"active": 0,
|
822 |
+
"flagValue": -1
|
823 |
+
},
|
824 |
+
"if_return": {
|
825 |
+
"active": 1,
|
826 |
+
"flagValue": -1
|
827 |
+
},
|
828 |
+
"indent-level": {
|
829 |
+
"active": 0,
|
830 |
+
"flagValue": 4
|
831 |
+
},
|
832 |
+
"indent-start": {
|
833 |
+
"active": 0,
|
834 |
+
"flagValue": 0
|
835 |
+
},
|
836 |
+
"inline-script": {
|
837 |
+
"active": 0,
|
838 |
+
"flagValue": -1
|
839 |
+
},
|
840 |
+
"join_vars": {
|
841 |
+
"active": 1,
|
842 |
+
"flagValue": -1
|
843 |
+
},
|
844 |
+
"keep_fargs": {
|
845 |
+
"active": 0,
|
846 |
+
"flagValue": -1
|
847 |
+
},
|
848 |
+
"keep_fnames": {
|
849 |
+
"active": 0,
|
850 |
+
"flagValue": -1
|
851 |
+
},
|
852 |
+
"loops": {
|
853 |
+
"active": 1,
|
854 |
+
"flagValue": -1
|
855 |
+
},
|
856 |
+
"mangle": {
|
857 |
+
"active": 1,
|
858 |
+
"flagValue": -1
|
859 |
+
},
|
860 |
+
"max-line-len": {
|
861 |
+
"active": 1,
|
862 |
+
"flagValue": 32000
|
863 |
+
},
|
864 |
+
"negate_iife": {
|
865 |
+
"active": 1,
|
866 |
+
"flagValue": -1
|
867 |
+
},
|
868 |
+
"properties": {
|
869 |
+
"active": 1,
|
870 |
+
"flagValue": -1
|
871 |
+
},
|
872 |
+
"pure_getters": {
|
873 |
+
"active": 0,
|
874 |
+
"flagValue": -1
|
875 |
+
},
|
876 |
+
"quote-keys": {
|
877 |
+
"active": 0,
|
878 |
+
"flagValue": -1
|
879 |
+
},
|
880 |
+
"screw-ie8": {
|
881 |
+
"active": 0,
|
882 |
+
"flagValue": -1
|
883 |
+
},
|
884 |
+
"semicolons": {
|
885 |
+
"active": 1,
|
886 |
+
"flagValue": -1
|
887 |
+
},
|
888 |
+
"sequences": {
|
889 |
+
"active": 1,
|
890 |
+
"flagValue": -1
|
891 |
+
},
|
892 |
+
"sort": {
|
893 |
+
"active": 0,
|
894 |
+
"flagValue": -1
|
895 |
+
},
|
896 |
+
"space-colon": {
|
897 |
+
"active": 1,
|
898 |
+
"flagValue": -1
|
899 |
+
},
|
900 |
+
"toplevel": {
|
901 |
+
"active": 0,
|
902 |
+
"flagValue": -1
|
903 |
+
},
|
904 |
+
"unsafe": {
|
905 |
+
"active": 0,
|
906 |
+
"flagValue": -1
|
907 |
+
},
|
908 |
+
"unused": {
|
909 |
+
"active": 0,
|
910 |
+
"flagValue": -1
|
911 |
+
},
|
912 |
+
"warnings": {
|
913 |
+
"active": 0,
|
914 |
+
"flagValue": -1
|
915 |
+
},
|
916 |
+
"width": {
|
917 |
+
"active": 1,
|
918 |
+
"flagValue": 80
|
919 |
+
}
|
920 |
+
},
|
921 |
+
"uglifyReservedNamesString": "$",
|
922 |
+
"websiteRelativeRoot": ""
|
923 |
+
},
|
924 |
+
"settingsFileVersion": "2"
|
925 |
+
}
|
languages/index.html
DELETED
File without changes
|
languages/woocommerce-cart-tab-de_DE.mo
DELETED
Binary file
|
languages/woocommerce-cart-tab-de_DE.po
DELETED
@@ -1,121 +0,0 @@
|
|
1 |
-
# This German Language File: Copyright (C) 2013 by David Decker of deckerweb.de & genesisthemes.de
|
2 |
-
# This file is distributed under the same license as the WooCommerce Cart Tab Plugin package.
|
3 |
-
#
|
4 |
-
# Weitere deutsche Sprachdateien fuer WooCommerce und Extensions (Erweiterungen)
|
5 |
-
# sowie fuer WordPress-Plugins und -Themes sind hier zu finden:
|
6 |
-
# --> http://deckerweb.de/sprachdateien/
|
7 |
-
#
|
8 |
-
msgid ""
|
9 |
-
msgstr ""
|
10 |
-
"Project-Id-Version: WooCommerce Cart Tab v0.1.1\n"
|
11 |
-
"Report-Msgid-Bugs-To: http://deckerweb.de/kontakt/\n"
|
12 |
-
"POT-Creation-Date: 2013-03-15 23:03:27+0000\n"
|
13 |
-
"PO-Revision-Date: 2013-03-27 22:23+0100\n"
|
14 |
-
"Last-Translator: David Decker <deckerweb.mobil@googlemail.com>\n"
|
15 |
-
"Language-Team: DECKERWEB -- http://deckerweb.de/kontakt/\n"
|
16 |
-
"MIME-Version: 1.0\n"
|
17 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
18 |
-
"Content-Transfer-Encoding: 8bit\n"
|
19 |
-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
20 |
-
"X-Generator: CSL v1.x\n"
|
21 |
-
"X-Poedit-Language: German\n"
|
22 |
-
"X-Poedit-Country: GERMANY\n"
|
23 |
-
"X-Poedit-SourceCharset: utf-8\n"
|
24 |
-
"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2\n"
|
25 |
-
"X-Textdomain-Support: yes\n"
|
26 |
-
"X-Poedit-SearchPath-0: .\n"
|
27 |
-
|
28 |
-
#@ woocommerce-cart-tab
|
29 |
-
#: cart-tab.php:43
|
30 |
-
msgid "Cart Tab"
|
31 |
-
msgstr "Warenkorb-Tab"
|
32 |
-
|
33 |
-
#@ woocommerce-cart-tab
|
34 |
-
#: cart-tab.php:48
|
35 |
-
msgid "Cart Widget"
|
36 |
-
msgstr "Warenkorb-Widget"
|
37 |
-
|
38 |
-
#@ woocommerce-cart-tab
|
39 |
-
#: cart-tab.php:49
|
40 |
-
msgid "Display the cart widget on hover"
|
41 |
-
msgstr "Das Warenkorb-Widget im Überfahren-Status anzeigen (Hover)"
|
42 |
-
|
43 |
-
#@ woocommerce-cart-tab
|
44 |
-
#: cart-tab.php:54
|
45 |
-
msgid "Use the light or dark skin"
|
46 |
-
msgstr "Den hellen oder dunklen Skin verwenden"
|
47 |
-
|
48 |
-
#@ woocommerce-cart-tab
|
49 |
-
#: cart-tab.php:58
|
50 |
-
msgid "Light"
|
51 |
-
msgstr "Hell"
|
52 |
-
|
53 |
-
#@ woocommerce-cart-tab
|
54 |
-
#: cart-tab.php:59
|
55 |
-
msgid "Dark"
|
56 |
-
msgstr "Dunkel"
|
57 |
-
|
58 |
-
#@ woocommerce-cart-tab
|
59 |
-
#: cart-tab.php:63
|
60 |
-
msgid "Position the cart tab on the right or left"
|
61 |
-
msgstr "Position des Warenkorb-Tabs rechts oder links"
|
62 |
-
|
63 |
-
#@ woocommerce-cart-tab
|
64 |
-
#: cart-tab.php:67
|
65 |
-
msgid "Right"
|
66 |
-
msgstr "Rechts"
|
67 |
-
|
68 |
-
#@ woocommerce-cart-tab
|
69 |
-
#: cart-tab.php:68
|
70 |
-
msgid "Left"
|
71 |
-
msgstr "Links"
|
72 |
-
|
73 |
-
#@ woocommerce-cart-tab
|
74 |
-
#: cart-tab.php:157
|
75 |
-
msgid "View your shopping cart"
|
76 |
-
msgstr "Ihren Warenkorb ansehen"
|
77 |
-
|
78 |
-
#@ woocommerce-cart-tab
|
79 |
-
#: cart-tab.php:160
|
80 |
-
#, php-format
|
81 |
-
msgid "%d item"
|
82 |
-
msgid_plural "%d items"
|
83 |
-
msgstr[0] "%d Produkt"
|
84 |
-
msgstr[1] "%d Produkte"
|
85 |
-
|
86 |
-
#@ woocommerce-cart-tab
|
87 |
-
#. translators: plugin header field 'Name'
|
88 |
-
#: cart-tab.php:0
|
89 |
-
msgid "WooCommerce Cart Tab"
|
90 |
-
msgstr "WooCommerce Warenkorb-Tab"
|
91 |
-
|
92 |
-
#@ woocommerce-cart-tab
|
93 |
-
#. translators: plugin header field 'PluginURI'
|
94 |
-
#: cart-tab.php:0
|
95 |
-
msgid "http://jameskoster.co.uk/tag/cart-tab/"
|
96 |
-
msgstr "http://jameskoster.co.uk/tag/cart-tab/"
|
97 |
-
|
98 |
-
#@ woocommerce-cart-tab
|
99 |
-
#. translators: plugin header field 'Description'
|
100 |
-
#: cart-tab.php:0
|
101 |
-
msgid "Displays a sitewide link to the cart which reveals the cart contents on hover."
|
102 |
-
msgstr "Zeigt einen Webseiten-weiten Link zum Warenkorb an, welcher die Inhalte des Warenkorbs beim Überfahren (Hover) darstellt."
|
103 |
-
|
104 |
-
#@ woocommerce-cart-tab
|
105 |
-
#. translators: plugin header field 'Author'
|
106 |
-
#: cart-tab.php:0
|
107 |
-
msgid "jameskoster"
|
108 |
-
msgstr "James Koster"
|
109 |
-
|
110 |
-
#@ woocommerce-cart-tab
|
111 |
-
#. translators: plugin header field 'AuthorURI'
|
112 |
-
#: cart-tab.php:0
|
113 |
-
msgid "http://jameskoster.co.uk"
|
114 |
-
msgstr "http://jameskoster.co.uk/"
|
115 |
-
|
116 |
-
#@ woocommerce-cart-tab
|
117 |
-
#. translators: plugin header field 'Version'
|
118 |
-
#: cart-tab.php:0
|
119 |
-
msgid "0.1.1"
|
120 |
-
msgstr "0.1.1"
|
121 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/woocommerce-cart-tab.po
DELETED
@@ -1,80 +0,0 @@
|
|
1 |
-
# This file is distributed under the same license as the WooCommerce Cart Tab package.
|
2 |
-
msgid ""
|
3 |
-
msgstr ""
|
4 |
-
"PO-Revision-Date: 2013-03-27 21:24:44+0000\n"
|
5 |
-
"MIME-Version: 1.0\n"
|
6 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
7 |
-
"Content-Transfer-Encoding: 8bit\n"
|
8 |
-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
9 |
-
"X-Generator: GlotPress/0.1\n"
|
10 |
-
"Project-Id-Version: WooCommerce Cart Tab\n"
|
11 |
-
|
12 |
-
#: cart-tab.php:43
|
13 |
-
msgid "Cart Tab"
|
14 |
-
msgstr ""
|
15 |
-
|
16 |
-
#: cart-tab.php:48
|
17 |
-
msgid "Cart Widget"
|
18 |
-
msgstr ""
|
19 |
-
|
20 |
-
#: cart-tab.php:49
|
21 |
-
msgid "Display the cart widget on hover"
|
22 |
-
msgstr ""
|
23 |
-
|
24 |
-
#: cart-tab.php:54
|
25 |
-
msgid "Use the light or dark skin"
|
26 |
-
msgstr ""
|
27 |
-
|
28 |
-
#: cart-tab.php:58
|
29 |
-
msgid "Light"
|
30 |
-
msgstr ""
|
31 |
-
|
32 |
-
#: cart-tab.php:59
|
33 |
-
msgid "Dark"
|
34 |
-
msgstr ""
|
35 |
-
|
36 |
-
#: cart-tab.php:63
|
37 |
-
msgid "Position the cart tab on the right or left"
|
38 |
-
msgstr ""
|
39 |
-
|
40 |
-
#: cart-tab.php:67
|
41 |
-
msgid "Right"
|
42 |
-
msgstr ""
|
43 |
-
|
44 |
-
#: cart-tab.php:68
|
45 |
-
msgid "Left"
|
46 |
-
msgstr ""
|
47 |
-
|
48 |
-
#: cart-tab.php:157
|
49 |
-
msgid "View your shopping cart"
|
50 |
-
msgstr ""
|
51 |
-
|
52 |
-
#: cart-tab.php:160
|
53 |
-
msgid "%d item"
|
54 |
-
msgid_plural "%d items"
|
55 |
-
msgstr[0] ""
|
56 |
-
msgstr[1] ""
|
57 |
-
|
58 |
-
#: cart-tab.php:0
|
59 |
-
msgid "WooCommerce Cart Tab"
|
60 |
-
msgstr ""
|
61 |
-
|
62 |
-
#: cart-tab.php:0
|
63 |
-
msgid "http://jameskoster.co.uk/tag/cart-tab/"
|
64 |
-
msgstr ""
|
65 |
-
|
66 |
-
#: cart-tab.php:0
|
67 |
-
msgid "Displays a sitewide link to the cart which reveals the cart contents on hover."
|
68 |
-
msgstr ""
|
69 |
-
|
70 |
-
#: cart-tab.php:0
|
71 |
-
msgid "jameskoster"
|
72 |
-
msgstr ""
|
73 |
-
|
74 |
-
#: cart-tab.php:0
|
75 |
-
msgid "http://jameskoster.co.uk"
|
76 |
-
msgstr ""
|
77 |
-
|
78 |
-
#: cart-tab.php:0
|
79 |
-
msgid "0.1.1"
|
80 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/woocommerce-cart-tab.pot
ADDED
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2016 WooCommerce Cart Tab
|
2 |
+
# This file is distributed under the same license as the WooCommerce Cart Tab package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: WooCommerce Cart Tab 0.4.0\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-cart-"
|
7 |
+
"tab\n"
|
8 |
+
"POT-Creation-Date: 2016-05-23 11:07:30+00:00\n"
|
9 |
+
"MIME-Version: 1.0\n"
|
10 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
+
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
|
13 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15 |
+
|
16 |
+
#: cart-tab.php:47
|
17 |
+
msgid "Cart Tab"
|
18 |
+
msgstr ""
|
19 |
+
|
20 |
+
#: cart-tab.php:52
|
21 |
+
msgid "Cart Widget"
|
22 |
+
msgstr ""
|
23 |
+
|
24 |
+
#: cart-tab.php:53
|
25 |
+
msgid "Display the cart widget on hover"
|
26 |
+
msgstr ""
|
27 |
+
|
28 |
+
#: cart-tab.php:58
|
29 |
+
msgid "Hide Empty Cart"
|
30 |
+
msgstr ""
|
31 |
+
|
32 |
+
#: cart-tab.php:59
|
33 |
+
msgid "Hide the cart tab if the cart is empty"
|
34 |
+
msgstr ""
|
35 |
+
|
36 |
+
#: cart-tab.php:64
|
37 |
+
msgid "Use the light or dark skin"
|
38 |
+
msgstr ""
|
39 |
+
|
40 |
+
#: cart-tab.php:68
|
41 |
+
msgid "Light"
|
42 |
+
msgstr ""
|
43 |
+
|
44 |
+
#: cart-tab.php:69
|
45 |
+
msgid "Dark"
|
46 |
+
msgstr ""
|
47 |
+
|
48 |
+
#: cart-tab.php:73
|
49 |
+
msgid "Position the cart tab on the right or left"
|
50 |
+
msgstr ""
|
51 |
+
|
52 |
+
#: cart-tab.php:77
|
53 |
+
msgid "Right"
|
54 |
+
msgstr ""
|
55 |
+
|
56 |
+
#: cart-tab.php:78
|
57 |
+
msgid "Left"
|
58 |
+
msgstr ""
|
59 |
+
|
60 |
+
#: cart-tab.php:82
|
61 |
+
msgid "Cart link display total/subtotal"
|
62 |
+
msgstr ""
|
63 |
+
|
64 |
+
#: cart-tab.php:86
|
65 |
+
msgid "total"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: cart-tab.php:87
|
69 |
+
msgid "subtotal"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: cart-tab.php:206
|
73 |
+
msgid "View your shopping cart"
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: cart-tab.php:213
|
77 |
+
msgid "%d item"
|
78 |
+
msgid_plural "%d items"
|
79 |
+
msgstr[0] ""
|
80 |
+
msgstr[1] ""
|
81 |
+
|
82 |
+
#. Plugin Name of the plugin/theme
|
83 |
+
msgid "WooCommerce Cart Tab"
|
84 |
+
msgstr ""
|
85 |
+
|
86 |
+
#. Plugin URI of the plugin/theme
|
87 |
+
msgid "http://jameskoster.co.uk/tag/cart-tab/"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#. Description of the plugin/theme
|
91 |
+
msgid ""
|
92 |
+
"Displays a sitewide link to the cart which reveals the cart contents on "
|
93 |
+
"hover."
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#. Author of the plugin/theme
|
97 |
+
msgid "jameskoster"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#. Author URI of the plugin/theme
|
101 |
+
msgid "http://jameskoster.co.uk"
|
102 |
+
msgstr ""
|
readme.txt
CHANGED
@@ -1,74 +1,79 @@
|
|
1 |
-
=== WooCommerce Cart Tab ===
|
2 |
-
Contributors: jameskoster
|
3 |
-
Tags: woocommerce, ecommerce, cart
|
4 |
-
Requires at least:
|
5 |
-
Tested up to: 4.
|
6 |
-
Stable tag: 0.
|
7 |
-
License: GPLv2 or later
|
8 |
-
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
-
|
10 |
-
Displays a sitewide link to the WooCommerce cart which reveals the cart contents on hover.
|
11 |
-
|
12 |
-
== Description ==
|
13 |
-
|
14 |
-
A big UX mistake on many eCommerce web sites is hiding access to the cart. The next logical step after adding a product to the cart is to buy it. Don't frustrate your customers by making them search for the cart button!
|
15 |
-
|
16 |
-
Upon activationg this plugin will display a link to the WooCommerce cart which is visible sitewide and fixed in position so it remains visible wherever the user scrolls. When the user hovers over the tab, the full cart widget is displayed.
|
17 |
-
|
18 |
-
There are options (Catalog tab, WooCommerce settings) to display the cart tab on the right or the left, to use a light or dark skin to match your theme and to display the cart widget on hover or not.
|
19 |
-
|
20 |
-
Please feel free to contribute on <a href="https://github.com/jameskoster/woocommerce-cart-tab">github</a>.
|
21 |
-
|
22 |
-
== Installation ==
|
23 |
-
|
24 |
-
1. Upload `woocommerce-cart-tab` to the `/wp-content/plugins/` directory
|
25 |
-
2. Activate the plugin through the 'Plugins' menu in WordPress
|
26 |
-
3. Choose your display settings on the catalog tab of the WooCommerce settings screen
|
27 |
-
3. Done!
|
28 |
-
|
29 |
-
== Frequently Asked Questions ==
|
30 |
-
|
31 |
-
= It doesn't look like the screenshots on my site, what gives? =
|
32 |
-
|
33 |
-
This plugin uses CSS3 for things like animation, rounded corners and box shadows. If you're not using a modern browser then it might not look the same as the screenshots.
|
34 |
-
|
35 |
-
There is also the possibility that your theme is overwriting styles although that will be unlikely.
|
36 |
-
|
37 |
-
= I found and fixed a bug how can I help? =
|
38 |
-
|
39 |
-
Thanks! Please fork the repo on <a href="https://github.com/jameskoster/woocommerce-cart-tab">github</a>, push your fix then send a pull request.
|
40 |
-
|
41 |
-
== Screenshots ==
|
42 |
-
|
43 |
-
1. The cart tab.
|
44 |
-
2. The cart tab on hover.
|
45 |
-
3. The cart tab with dark skin enabled.
|
46 |
-
|
47 |
-
== Changelog ==
|
48 |
-
|
49 |
-
= 0.
|
50 |
-
*
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
*
|
68 |
-
|
69 |
-
|
70 |
-
*
|
71 |
-
*
|
72 |
-
|
73 |
-
|
|
|
|
|
|
|
|
|
|
|
74 |
Initial release.
|
1 |
+
=== WooCommerce Cart Tab ===
|
2 |
+
Contributors: jameskoster
|
3 |
+
Tags: woocommerce, ecommerce, cart
|
4 |
+
Requires at least: 4.4
|
5 |
+
Tested up to: 4.5.2
|
6 |
+
Stable tag: 0.4.0
|
7 |
+
License: GPLv2 or later
|
8 |
+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
+
|
10 |
+
Displays a sitewide link to the WooCommerce cart which reveals the cart contents on hover.
|
11 |
+
|
12 |
+
== Description ==
|
13 |
+
|
14 |
+
A big UX mistake on many eCommerce web sites is hiding access to the cart. The next logical step after adding a product to the cart is to buy it. Don't frustrate your customers by making them search for the cart button!
|
15 |
+
|
16 |
+
Upon activationg this plugin will display a link to the WooCommerce cart which is visible sitewide and fixed in position so it remains visible wherever the user scrolls. When the user hovers over the tab, the full cart widget is displayed.
|
17 |
+
|
18 |
+
There are options (Catalog tab, WooCommerce settings) to display the cart tab on the right or the left, to use a light or dark skin to match your theme and to display the cart widget on hover or not.
|
19 |
+
|
20 |
+
Please feel free to contribute on <a href="https://github.com/jameskoster/woocommerce-cart-tab">github</a>.
|
21 |
+
|
22 |
+
== Installation ==
|
23 |
+
|
24 |
+
1. Upload `woocommerce-cart-tab` to the `/wp-content/plugins/` directory
|
25 |
+
2. Activate the plugin through the 'Plugins' menu in WordPress
|
26 |
+
3. Choose your display settings on the catalog tab of the WooCommerce settings screen
|
27 |
+
3. Done!
|
28 |
+
|
29 |
+
== Frequently Asked Questions ==
|
30 |
+
|
31 |
+
= It doesn't look like the screenshots on my site, what gives? =
|
32 |
+
|
33 |
+
This plugin uses CSS3 for things like animation, rounded corners and box shadows. If you're not using a modern browser then it might not look the same as the screenshots.
|
34 |
+
|
35 |
+
There is also the possibility that your theme is overwriting styles although that will be unlikely.
|
36 |
+
|
37 |
+
= I found and fixed a bug how can I help? =
|
38 |
+
|
39 |
+
Thanks! Please fork the repo on <a href="https://github.com/jameskoster/woocommerce-cart-tab">github</a>, push your fix then send a pull request.
|
40 |
+
|
41 |
+
== Screenshots ==
|
42 |
+
|
43 |
+
1. The cart tab.
|
44 |
+
2. The cart tab on hover.
|
45 |
+
3. The cart tab with dark skin enabled.
|
46 |
+
|
47 |
+
== Changelog ==
|
48 |
+
|
49 |
+
= 0.4.0 - 23/05/2016 =
|
50 |
+
* New - Cart tab widget now has a max-height and will scroll if the contents are larger than the container.
|
51 |
+
* New - Option to display cart total or subtotal. Props @craigtracey
|
52 |
+
* Tweak - Translations now managed on .org (https://translate.wordpress.org/projects/wp-plugins/woocommerce-cart-tab).
|
53 |
+
|
54 |
+
= 0.3.1 - 04/17/2014 =
|
55 |
+
* Fix - Hide the tab shadow when the cart is hidden.
|
56 |
+
|
57 |
+
= 0.3.0 - 04/03/2014 =
|
58 |
+
* WooCommerce 2.1 compatibility.
|
59 |
+
|
60 |
+
= 0.2.2 - 14/01/2014 =
|
61 |
+
* Sanitized some outputs (kudos colegeissinger).
|
62 |
+
|
63 |
+
= 0.2.1 - 16/09/2013 =
|
64 |
+
* Better way of hiding the cart. Compatible with WP Super Cache as long as "late init" is enabled. Kudos bigbrowncow.
|
65 |
+
|
66 |
+
= 0.2 - 01/07/2013 =
|
67 |
+
* Added option to hide cart tab if the cart is empty. Kudos azhkuro.
|
68 |
+
|
69 |
+
= 0.1.1 - 30/05/2013 =
|
70 |
+
* Improved i18n
|
71 |
+
* added languages folder
|
72 |
+
* added default .po file
|
73 |
+
* added German translations for v0.1.1 (inluding the above enhancements)
|
74 |
+
* Kudos to deckerweb for the above :-)
|
75 |
+
* UI tweak to be inline with 2.0s slightly updated settings API
|
76 |
+
* Stripped object pass by reference
|
77 |
+
|
78 |
+
= 0.1 =
|
79 |
Initial release.
|
screenshot-1.png
DELETED
Binary file
|
screenshot-2.png
DELETED
Binary file
|
screenshot-3.png
DELETED
Binary file
|