WooCommerce Cart Tab - Version 1.1.0

Version Description

  • 08/02/2017 =
  • New - Cart tab is now hidden when the cart is empty.
  • Tweak - Overlay styling.
  • Localisation - updated .pot file.
Download this release

Release Info

Developer jameskoster
Plugin Icon wp plugin WooCommerce Cart Tab
Version 1.1.0
Comparing to
See all releases

Code changes from version 1.0.0 to 1.1.0

assets/css/style-storefront.css CHANGED
@@ -7,6 +7,8 @@
7
  -moz-transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
8
  transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
9
  box-sizing: border-box; }
 
 
10
  .woocommerce-cart-tab-container .widget_shopping_cart {
11
  overflow: auto;
12
  margin-bottom: 0; }
@@ -133,21 +135,15 @@ body .site:before {
133
  -webkit-transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
134
  -moz-transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
135
  transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
136
- -webkit-transform: translateX(-100%);
137
- -moz-transform: translateX(-100%);
138
- -ms-transform: translateX(-100%);
139
- -o-transform: translateX(-100%);
140
- transform: translateX(-100%);
141
- cursor: pointer; }
142
 
143
  body.woocommerce-cart-tab-is-visible {
144
  overflow: hidden; }
145
  body.woocommerce-cart-tab-is-visible .site:before {
146
- -webkit-transform: translateX(0);
147
- -moz-transform: translateX(0);
148
- -ms-transform: translateX(0);
149
- -o-transform: translateX(0);
150
- transform: translateX(0); }
151
 
152
  @media screen and (max-width: 768px) {
153
  .woocommerce-cart-tab-container {
7
  -moz-transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
8
  transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
9
  box-sizing: border-box; }
10
+ .woocommerce-cart-tab-container .woocommerce-cart-tab--empty {
11
+ display: none; }
12
  .woocommerce-cart-tab-container .widget_shopping_cart {
13
  overflow: auto;
14
  margin-bottom: 0; }
135
  -webkit-transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
136
  -moz-transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
137
  transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
138
+ cursor: pointer;
139
+ visibility: hidden;
140
+ opacity: 0; }
 
 
 
141
 
142
  body.woocommerce-cart-tab-is-visible {
143
  overflow: hidden; }
144
  body.woocommerce-cart-tab-is-visible .site:before {
145
+ visibility: visible;
146
+ opacity: 1; }
 
 
 
147
 
148
  @media screen and (max-width: 768px) {
149
  .woocommerce-cart-tab-container {
assets/css/style.css CHANGED
@@ -7,6 +7,8 @@
7
  -moz-transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
8
  transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
9
  box-sizing: border-box; }
 
 
10
  .woocommerce-cart-tab-container .widget {
11
  padding: 0; }
12
  .woocommerce-cart-tab-container .widget_shopping_cart {
@@ -125,7 +127,7 @@
125
  .woocommerce-cart-tab a {
126
  display: block; }
127
 
128
- body .site:before {
129
  content: "";
130
  display: block;
131
  position: fixed;
@@ -138,21 +140,15 @@ body .site:before {
138
  -webkit-transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
139
  -moz-transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
140
  transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
141
- -webkit-transform: translateX(-100%);
142
- -moz-transform: translateX(-100%);
143
- -ms-transform: translateX(-100%);
144
- -o-transform: translateX(-100%);
145
- transform: translateX(-100%);
146
- cursor: pointer; }
147
 
148
- body.woocommerce-cart-tab-is-visible {
149
  overflow: hidden; }
150
- body.woocommerce-cart-tab-is-visible .site:before {
151
- -webkit-transform: translateX(0);
152
- -moz-transform: translateX(0);
153
- -ms-transform: translateX(0);
154
- -o-transform: translateX(0);
155
- transform: translateX(0); }
156
 
157
  @media screen and (max-width: 768px) {
158
  .woocommerce-cart-tab-container {
7
  -moz-transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
8
  transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
9
  box-sizing: border-box; }
10
+ .woocommerce-cart-tab-container .woocommerce-cart-tab--empty {
11
+ display: none; }
12
  .woocommerce-cart-tab-container .widget {
13
  padding: 0; }
14
  .woocommerce-cart-tab-container .widget_shopping_cart {
127
  .woocommerce-cart-tab a {
128
  display: block; }
129
 
130
+ body:before {
131
  content: "";
132
  display: block;
133
  position: fixed;
140
  -webkit-transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
141
  -moz-transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
142
  transition: all cubic-bezier(0.11, 0.51, 0.54, 0.9) 0.5s;
143
+ cursor: pointer;
144
+ opacity: 0;
145
+ visibility: hidden; }
 
 
 
146
 
147
+ .woocommerce-cart-tab-is-visible {
148
  overflow: hidden; }
149
+ .woocommerce-cart-tab-is-visible:before {
150
+ opacity: 1;
151
+ visibility: visible; }
 
 
 
152
 
153
  @media screen and (max-width: 768px) {
154
  .woocommerce-cart-tab-container {
assets/scss/style-storefront.scss CHANGED
@@ -10,6 +10,10 @@ $cart_width: 320px;
10
  @include transition(all cubic-bezier(.11,.51,.54,.9) .5s);
11
  box-sizing: border-box;
12
 
 
 
 
 
13
  .widget_shopping_cart {
14
  overflow: auto;
15
  margin-bottom: 0;
@@ -156,8 +160,9 @@ body {
156
  background: rgba(#000,.4);
157
  z-index: 9999999;
158
  @include transition(all cubic-bezier(.11,.51,.54,.9) .5s);
159
- @include transform(translateX(-100%));
160
  cursor: pointer;
 
 
161
  }
162
  }
163
 
@@ -166,7 +171,8 @@ body {
166
 
167
  .site {
168
  &:before {
169
- @include transform(translateX(0));
 
170
  }
171
  }
172
  }
10
  @include transition(all cubic-bezier(.11,.51,.54,.9) .5s);
11
  box-sizing: border-box;
12
 
13
+ .woocommerce-cart-tab--empty {
14
+ display: none;
15
+ }
16
+
17
  .widget_shopping_cart {
18
  overflow: auto;
19
  margin-bottom: 0;
160
  background: rgba(#000,.4);
161
  z-index: 9999999;
162
  @include transition(all cubic-bezier(.11,.51,.54,.9) .5s);
 
163
  cursor: pointer;
164
+ visibility: hidden;
165
+ opacity: 0;
166
  }
167
  }
168
 
171
 
172
  .site {
173
  &:before {
174
+ visibility: visible;
175
+ opacity: 1;
176
  }
177
  }
178
  }
assets/scss/style.scss CHANGED
@@ -10,6 +10,10 @@ $cart_width: 320px;
10
  @include transition(all cubic-bezier(.11,.51,.54,.9) .5s);
11
  box-sizing: border-box;
12
 
 
 
 
 
13
  .widget {
14
  padding: 0;
15
  }
@@ -151,31 +155,29 @@ $cart_width: 320px;
151
  }
152
 
153
  body {
154
- .site {
155
- &:before {
156
- content: "";
157
- display: block;
158
- position: fixed;
159
- top: 0;
160
- left: 0;
161
- width: 100%;
162
- height: 100%;
163
- background: rgba(#000,.4);
164
- z-index: 9999999;
165
- @include transition(all cubic-bezier(.11,.51,.54,.9) .5s);
166
- @include transform(translateX(-100%));
167
- cursor: pointer;
168
- }
169
  }
 
170
 
171
- &.woocommerce-cart-tab-is-visible {
172
- overflow: hidden;
173
 
174
- .site {
175
- &:before {
176
- @include transform(translateX(0));
177
- }
178
- }
179
  }
180
  }
181
 
10
  @include transition(all cubic-bezier(.11,.51,.54,.9) .5s);
11
  box-sizing: border-box;
12
 
13
+ .woocommerce-cart-tab--empty {
14
+ display: none;
15
+ }
16
+
17
  .widget {
18
  padding: 0;
19
  }
155
  }
156
 
157
  body {
158
+ &:before {
159
+ content: "";
160
+ display: block;
161
+ position: fixed;
162
+ top: 0;
163
+ left: 0;
164
+ width: 100%;
165
+ height: 100%;
166
+ background: rgba(#000,.4);
167
+ z-index: 9999999;
168
+ @include transition(all cubic-bezier(.11,.51,.54,.9) .5s);
169
+ cursor: pointer;
170
+ opacity: 0;
171
+ visibility: hidden;
 
172
  }
173
+ }
174
 
175
+ .woocommerce-cart-tab-is-visible {
176
+ overflow: hidden;
177
 
178
+ &:before {
179
+ opacity: 1;
180
+ visibility: visible;
 
 
181
  }
182
  }
183
 
cart-tab.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Plugin Name: WooCommerce Cart Tab
4
  * Plugin URI: http://jameskoster.co.uk/tag/cart-tab/
5
- * Version: 1.0.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.7.1
2
  /**
3
  * Plugin Name: WooCommerce Cart Tab
4
  * Plugin URI: http://jameskoster.co.uk/tag/cart-tab/
5
+ * Version: 1.1.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.7.1
includes/cart-tab-templates.php CHANGED
@@ -7,8 +7,14 @@ if ( ! function_exists( 'woocommerce_cart_tab_button' ) ) {
7
  */
8
  function woocommerce_cart_tab_button() {
9
  global $woocommerce;
 
 
 
 
 
 
10
  ?>
11
- <div class="woocommerce-cart-tab">
12
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 86 104.5" class="woocommerce-cart-tab__icon">
13
  <path class="woocommerce-cart-tab__icon-bag" d="M67.2,26.7C64.6,11.5,54.8,0.2,43.1,0.2C31.4,0.2,21.6,11.5,19,26.7H0.1v77.6h86V26.7H67.2z M43.1,4.2
14
  c9.6,0,17.7,9.6,20,22.6H23C25.4,13.8,33.5,4.2,43.1,4.2z M82.1,100.4h-78V30.7h14.4c-0.1,1.3-0.2,2.6-0.2,3.9c0,1.1,0,2.2,0.1,3.3
7
  */
8
  function woocommerce_cart_tab_button() {
9
  global $woocommerce;
10
+
11
+ $empty = 'woocommerce-cart-tab--empty';
12
+
13
+ if ( intval( $woocommerce->cart->get_cart_contents_count() > 0 ) ) {
14
+ $empty = 'woocommerce-cart-tab--has-contents';
15
+ }
16
  ?>
17
+ <div class="woocommerce-cart-tab <?php echo $empty; ?>">
18
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 86 104.5" class="woocommerce-cart-tab__icon">
19
  <path class="woocommerce-cart-tab__icon-bag" d="M67.2,26.7C64.6,11.5,54.8,0.2,43.1,0.2C31.4,0.2,21.6,11.5,19,26.7H0.1v77.6h86V26.7H67.2z M43.1,4.2
20
  c9.6,0,17.7,9.6,20,22.6H23C25.4,13.8,33.5,4.2,43.1,4.2z M82.1,100.4h-78V30.7h14.4c-0.1,1.3-0.2,2.6-0.2,3.9c0,1.1,0,2.2,0.1,3.3
languages/woocommerce-cart-tab.pot CHANGED
@@ -1,84 +1,210 @@
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 ""
1
+ # Copyright (C) 2017 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 1.1.0\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-cart-"
7
  "tab\n"
8
+ "POT-Creation-Date: 2017-02-08 17:55:32+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: 2017-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
 
16
+ #: includes/cart-tab-templates.php:59
17
+ msgid "Your Cart"
 
 
 
 
18
  msgstr ""
19
 
20
+ #: includes/class-cart-tab-customizer.php:58
21
+ msgid "Cart Tab"
22
  msgstr ""
23
 
24
+ #: includes/class-cart-tab-customizer.php:85
25
+ msgid "Position"
26
  msgstr ""
27
 
28
+ #: includes/class-cart-tab-customizer.php:90
29
+ msgid "Right"
30
  msgstr ""
31
 
32
+ #: includes/class-cart-tab-customizer.php:91
33
+ msgid "Left"
34
  msgstr ""
35
 
36
+ #: includes/class-cart-tab-customizer.php:96
37
+ msgid "Background color"
38
+ msgstr ""
39
+
40
+ #: includes/class-cart-tab-customizer.php:102
41
+ msgid "Icon color"
42
+ msgstr ""
43
+
44
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:3
45
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:5
46
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:9
47
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:10
48
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:14
49
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:15
50
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:4
51
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:6
52
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:10
53
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:11
54
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:15
55
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:16
56
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:3
57
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:5
58
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:9
59
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:10
60
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:14
61
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:15
62
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:3
63
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:5
64
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:9
65
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:10
66
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:14
67
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:15
68
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:3
69
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:5
70
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:9
71
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:10
72
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:14
73
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:15
74
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:3
75
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:5
76
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:9
77
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:10
78
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:14
79
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:15
80
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:4
81
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:6
82
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:10
83
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:11
84
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:15
85
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:16
86
+ msgid "Hello World"
87
+ msgstr ""
88
+
89
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:4
90
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:6
91
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:11
92
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:16
93
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:5
94
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:7
95
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:12
96
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:17
97
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:4
98
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:6
99
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:11
100
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:16
101
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:4
102
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:6
103
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:11
104
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:16
105
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:4
106
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:6
107
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:11
108
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:16
109
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:4
110
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:6
111
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:11
112
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:16
113
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:5
114
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:7
115
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:12
116
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:17
117
+ msgctxt "verb"
118
+ msgid "Post"
119
+ msgstr ""
120
+
121
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:20
122
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:24
123
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:21
124
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:25
125
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:20
126
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:24
127
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:20
128
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:24
129
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:20
130
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:24
131
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:20
132
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:24
133
+ #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:3
134
+ #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:8
135
+ #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:15
136
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:21
137
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:25
138
+ msgid "%d apple"
139
+ msgid_plural "%d apples"
140
+ msgstr[0] ""
141
+ msgstr[1] ""
142
 
143
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:21
144
+ #: node_modules/grunt-checktextdomain/test/expected/incorrect-domain-autocorrect.php:25
145
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:22
146
+ #: node_modules/grunt-checktextdomain/test/expected/variable-domain-autocorrect.php:26
147
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:21
148
+ #: node_modules/grunt-checktextdomain/test/fixtures/correct-domain.php:25
149
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:21
150
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain-autocorrect.php:25
151
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:21
152
+ #: node_modules/grunt-checktextdomain/test/fixtures/incorrect-domain.php:25
153
+ #: node_modules/grunt-checktextdomain/test/fixtures/missing-domain.php:25
154
+ #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:4
155
+ #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:9
156
+ #: node_modules/grunt-checktextdomain/test/fixtures/plurals.php:16
157
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:22
158
+ #: node_modules/grunt-checktextdomain/test/fixtures/variable-domain-autocorrect.php:26
159
+ msgctxt "noun, job positions"
160
+ msgid "%d post"
161
+ msgid_plural "%d posts"
162
+ msgstr[0] ""
163
+ msgstr[1] ""
164
 
165
+ #: node_modules/grunt-wp-i18n/test/fixtures/basic-theme/exclude/file.php:3
166
+ #: node_modules/grunt-wp-i18n/test/fixtures/plugin-include/plugin-include.php:6
167
+ msgid "Exclude"
168
  msgstr ""
169
 
170
+ #: node_modules/grunt-wp-i18n/test/fixtures/plugin-include/include/file.php:2
171
+ msgid "Include"
172
  msgstr ""
173
 
174
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/add-domain.php:2
175
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:2
176
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:3
177
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:4
178
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-domains.php:2
179
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-domains.php:3
180
+ msgid "String"
181
  msgstr ""
182
 
183
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:6
184
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:7
185
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:8
186
+ msgctxt "a string"
187
+ msgid "String"
188
  msgstr ""
189
 
190
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:9
191
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:10
192
+ #: node_modules/grunt-wp-i18n/test/fixtures/text-domains/update-all-domains.php:11
193
+ msgid "1 Star"
194
+ msgid_plural "%s Stars"
195
+ msgstr[0] ""
196
+ msgstr[1] ""
197
 
198
+ #. translators: A single line translators comment.
199
+ #: node_modules/grunt-wp-i18n/test/fixtures/translator-comments/translator-comments.php:7
200
+ msgid "A"
201
  msgstr ""
202
 
203
+ #. translators: A multiline translators comment.
204
+ #: node_modules/grunt-wp-i18n/test/fixtures/translator-comments/translator-comments.php:15
205
+ msgid "B"
206
  msgstr ""
207
 
 
 
 
 
 
 
208
  #. Plugin Name of the plugin/theme
209
  msgid "WooCommerce Cart Tab"
210
  msgstr ""
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: jameskoster
3
  Tags: woocommerce, ecommerce, cart
4
  Requires at least: 4.4
5
  Tested up to: 4.7.1
6
- Stable tag: 1.0.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -44,6 +44,11 @@ Thanks! Please fork the repo on <a href="https://github.com/jameskoster/woocomme
44
 
45
  == Changelog ==
46
 
 
 
 
 
 
47
  = 1.0.0 - 26/01/2017 =
48
  * New - The cart tab now opens when an add to cart button on a shop page is clicked.
49
  * New - Cart tab opens on click rather than hover.
3
  Tags: woocommerce, ecommerce, cart
4
  Requires at least: 4.4
5
  Tested up to: 4.7.1
6
+ Stable tag: 1.1.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
44
 
45
  == Changelog ==
46
 
47
+ = 1.1.0 - 08/02/2017 =
48
+ * New - Cart tab is now hidden when the cart is empty.
49
+ * Tweak - Overlay styling.
50
+ * Localisation - updated .pot file.
51
+
52
  = 1.0.0 - 26/01/2017 =
53
  * New - The cart tab now opens when an add to cart button on a shop page is clicked.
54
  * New - Cart tab opens on click rather than hover.