YITH WooCommerce Catalog Mode - Version 1.2.0

Version Description

  • Added: Dutch translation (by Bart Verkerk)
  • Fixed: options panel more user friendly
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Catalog Mode
Version 1.2.0
Comparing to
See all releases

Code changes from version 1.1.5 to 1.2.0

class.yith-woocommerce-catalog-mode.php CHANGED
@@ -115,16 +115,15 @@ class YITH_WC_Catalog_Mode {
115
  return;
116
  }
117
 
118
- $admin_tabs = array(
119
- 'settings' => __( 'Settings', 'yith-woocommerce-catalog-mode' ),
120
- );
121
 
122
  if ( defined( 'YWCTM_PREMIUM' ) ) {
123
- $admin_tabs['premium'] = __( 'Premium Settings', 'yith-woocommerce-catalog-mode' );
124
- $admin_tabs['exclusions'] = __( 'Exclusion List', 'yith-woocommerce-catalog-mode' );
125
- $admin_tabs['custom-url'] = __( 'Custom Button Url List', 'yith-woocommerce-catalog-mode' );
126
  }
127
  else {
 
128
  $admin_tabs['premium-landing'] = __( 'Premium Version', 'yith-woocommerce-catalog-mode' );
129
  }
130
 
@@ -213,7 +212,7 @@ class YITH_WC_Catalog_Mode {
213
  ob_start();
214
  ?>
215
  <style>
216
- form.cart button.single_add_to_cart_button <?php if ($hide_variations=='yes'): ?>,
217
  .single_variation_wrap .variations_button <?php endif; ?> {
218
  display: none !important;
219
  }
@@ -648,9 +647,9 @@ class YITH_WC_Catalog_Mode {
648
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
649
  */
650
  public function plugin_fw_loader() {
651
- if ( !defined( 'YIT_CORE_PLUGIN' ) ) {
652
  global $plugin_fw_data;
653
- if ( !empty( $plugin_fw_data ) ) {
654
  $plugin_fw_file = array_shift( $plugin_fw_data );
655
  require_once( $plugin_fw_file );
656
  }
115
  return;
116
  }
117
 
118
+ $admin_tabs = array();
 
 
119
 
120
  if ( defined( 'YWCTM_PREMIUM' ) ) {
121
+ $admin_tabs['premium-settings'] = __( 'Settings', 'yith-woocommerce-catalog-mode' );
122
+ $admin_tabs['exclusions'] = __( 'Exclusion List', 'yith-woocommerce-catalog-mode' );
123
+ $admin_tabs['custom-url'] = __( 'Custom Button Url List', 'yith-woocommerce-catalog-mode' );
124
  }
125
  else {
126
+ $admin_tabs['settings'] = __( 'Settings', 'yith-woocommerce-catalog-mode' );
127
  $admin_tabs['premium-landing'] = __( 'Premium Version', 'yith-woocommerce-catalog-mode' );
128
  }
129
 
212
  ob_start();
213
  ?>
214
  <style>
215
+ form.cart button.single_add_to_cart_button <?php if ( $hide_variations == 'yes' ): ?>,
216
  .single_variation_wrap .variations_button <?php endif; ?> {
217
  display: none !important;
218
  }
647
  * @author Andrea Grillo <andrea.grillo@yithemes.com>
648
  */
649
  public function plugin_fw_loader() {
650
+ if ( ! defined( 'YIT_CORE_PLUGIN' ) ) {
651
  global $plugin_fw_data;
652
+ if( ! empty( $plugin_fw_data ) ){
653
  $plugin_fw_file = array_shift( $plugin_fw_data );
654
  require_once( $plugin_fw_file );
655
  }
init.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://yithemes.com/themes/plugins/yith-woocommerce-catalog-mode/
5
  Description: YITH Woocommerce Catalog Mode allows you to disable shop functions.
6
  Author: Yithemes
7
  Text Domain: yith-woocommerce-catalog-mode
8
- Version: 1.1.5
9
  Author URI: http://yithemes.com/
10
  */
11
 
@@ -34,7 +34,7 @@ function ywctm_install_free_admin_notice() {
34
  }
35
 
36
  if ( !defined( 'YWCTM_VERSION' ) ) {
37
- define( 'YWCTM_VERSION', '1.1.5' );
38
  }
39
 
40
  if ( !defined( 'YWCTM_FREE_INIT' ) ) {
5
  Description: YITH Woocommerce Catalog Mode allows you to disable shop functions.
6
  Author: Yithemes
7
  Text Domain: yith-woocommerce-catalog-mode
8
+ Version: 1.2.0
9
  Author URI: http://yithemes.com/
10
  */
11
 
34
  }
35
 
36
  if ( !defined( 'YWCTM_VERSION' ) ) {
37
+ define( 'YWCTM_VERSION', '1.2.0' );
38
  }
39
 
40
  if ( !defined( 'YWCTM_FREE_INIT' ) ) {
languages/yith-woocommerce-catalog-mode-nl_NL.mo ADDED
Binary file
languages/yith-woocommerce-catalog-mode-nl_NL.po ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: YITH WooCommerce Catalog Mode\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2015-10-02 09:48+0100\n"
6
+ "PO-Revision-Date: Sun Oct 18 2015 12:56:28 GMT+0200 (West-Europa "
7
+ "(zomertijd))\n"
8
+ "Last-Translator: admin <admin@localhost.local>\n"
9
+ "Language-Team: Your Inspiration Themes <plugins@yithemes.com>\n"
10
+ "Language: Dutch\n"
11
+ "Plural-Forms: nplurals=2; plural=n != 1\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Poedit-SourceCharset: UTF-8\n"
16
+ "X-Generator: Loco - https://localise.biz/\n"
17
+ "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
18
+ "__:1;_e:1;_c:1;_n:1,2;_n_noop:1,2;_nc:1,2;__ngettext:1,2;__ngettext_noop:1,2;"
19
+ "_x:1,2c;_ex:1,2c;_nx:1,2,4c;_nx_noop:1,2,3c;_n_js:1,2;_nx_js:1,2,3c;"
20
+ "esc_attr__:1;esc_html__:1;esc_attr_e:1;esc_html_e:1;esc_attr_x:1,2c;"
21
+ "esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;transChoice:1,2\n"
22
+ "X-Poedit-Basepath: .\n"
23
+ "X-Poedit-SearchPath-0: ..\n"
24
+ "X-Poedit-SearchPathExcluded-0: ../plugin-fw\n"
25
+ "X-Loco-Target-Locale: nl_NL"
26
+
27
+ #: ../class.yith-woocommerce-catalog-mode.php:602
28
+ #: ../class.yith-woocommerce-catalog-mode.php:671
29
+ msgid "Settings"
30
+ msgstr "Instellingen"
31
+
32
+ #: ../class.yith-woocommerce-catalog-mode.php:606
33
+ msgid "Premium Settings"
34
+ msgstr "Geavanceerde Instellingen"
35
+
36
+ #: ../class.yith-woocommerce-catalog-mode.php:607
37
+ msgid "Exclusion List"
38
+ msgstr "UItsluitingslijst"
39
+
40
+ #: ../class.yith-woocommerce-catalog-mode.php:610
41
+ #: ../class.yith-woocommerce-catalog-mode.php:674
42
+ msgid "Premium Version"
43
+ msgstr "Premium Versie"
44
+
45
+ #: ../class.yith-woocommerce-catalog-mode.php:616
46
+ #: ../class.yith-woocommerce-catalog-mode.php:617
47
+ msgid "Catalog Mode"
48
+ msgstr "Cataloog mode"
49
+
50
+ #: ../class.yith-woocommerce-catalog-mode.php:700
51
+ msgid "Plugin Documentation"
52
+ msgstr "Plugin Documentatie"
53
+
54
+ #: ../init.php:23
55
+ msgid ""
56
+ "YITH WooCommerce Catalog Mode is enabled but not effective. It requires "
57
+ "WooCommerce in order to work."
58
+ msgstr ""
59
+ "YITH WooCommerce Catalog Mode is ingeschakeld maar niet werkzaam. "
60
+ "WooCommerce is nodig om te werken."
61
+
62
+ #: ../init.php:31
63
+ msgid ""
64
+ "You can't activate the free version of YITH WooCommerce Catalog Mode while "
65
+ "you are using the premium one."
66
+ msgstr ""
67
+ "U kunt het gratis versie vanYITH WooCommerce Catalog Mode niet activeren als "
68
+ "u het premium versie gebruikt."
69
+
70
+ #: ../plugin-options/settings-options.php:18
71
+ msgid "Upgrade to the PREMIUM VERSION"
72
+ msgstr "Upgrade naar het PREMIUM VERSIE"
73
+
74
+ #: ../plugin-options/settings-options.php:21
75
+ #: ../plugin-options/settings-options.php:27
76
+ msgid "YITH WooCommerce Catalog Mode"
77
+ msgstr "YITH WooCommerce Catalog Mode"
78
+
79
+ #: ../plugin-options/settings-options.php:22
80
+ msgid "Discover the Advanced Features"
81
+ msgstr "Ontdek de Speciale Eigenschappen"
82
+
83
+ #: ../plugin-options/settings-options.php:23
84
+ msgid ""
85
+ "Upgrade to the PREMIUM VERSION of YITH WooCommerce Catalog Mode to benefit "
86
+ "from all features!"
87
+ msgstr ""
88
+ "Upgrade naar het PREMIUM VERSIE van YITH WooCommerce Catalog Mode om van "
89
+ "alle functies te profiteren."
90
+
91
+ #: ../plugin-options/settings-options.php:29
92
+ msgid "Get Support and Pro Features"
93
+ msgstr "Krijg Support en Pro functies"
94
+
95
+ #: ../plugin-options/settings-options.php:30
96
+ msgid ""
97
+ "By purchasing the premium version of the plugin, you will take advantage of "
98
+ "the advanced features of the product and you will get one year of free "
99
+ "updates and support through our platform available 24h/24."
100
+ msgstr ""
101
+ "Door de aankoop van de premium-versie van de plugin, zult u profiteren van "
102
+ "de geavanceerde functies van het product en u zult een jaar gratis updates "
103
+ "ontvangen en de ondersteuning door middel van ons beschikbaar platform 24u / "
104
+ "24."
105
+
106
+ #: ../plugin-options/settings-options.php:40
107
+ #: ../plugin-options/settings-options.php:49
108
+ #: ../plugin-options/settings-options.php:99
109
+ #: ../plugin-options/settings-options.php:107
110
+ msgid "\"Add to cart\" button"
111
+ msgstr "\"Toevoegen aan winkelwagen\" button"
112
+
113
+ #: ../plugin-options/settings-options.php:42
114
+ msgid "Exclude selected products (See \"Exclusions\" tab)"
115
+ msgstr "Uitsluiten geselecteerde producten ( zie \"Uitsluitings\" tab)"
116
+
117
+ #: ../plugin-options/settings-options.php:51
118
+ msgid "Reverse Exclusion List (Restrict Catalog Mode to selected items only)"
119
+ msgstr ""
120
+ "Omgekeerde Uitsluitingslijst ( Alleen Restrict Catalog Mode geselecteerde "
121
+ "items)"
122
+
123
+ #: ../plugin-options/settings-options.php:58
124
+ msgid "Variable products"
125
+ msgstr "Variabele producten"
126
+
127
+ #: ../plugin-options/settings-options.php:60
128
+ msgid "Hide product variations"
129
+ msgstr "Verberg product variaties"
130
+
131
+ #: ../plugin-options/settings-options.php:71
132
+ msgid "General Settings"
133
+ msgstr "Algemene instellingen"
134
+
135
+ #: ../plugin-options/settings-options.php:76
136
+ msgid "Enable YITH Woocommerce Catalog Mode"
137
+ msgstr "YITH Woocommerce Catalog Mode inschakelen"
138
+
139
+ #: ../plugin-options/settings-options.php:83
140
+ msgid "Admin View"
141
+ msgstr "Admin weergave"
142
+
143
+ #: ../plugin-options/settings-options.php:85
144
+ msgid "Enable Catalog Mode also for administrators"
145
+ msgstr "Catalog Mode ook voor beheerders inschakelen"
146
+
147
+ #: ../plugin-options/settings-options.php:94
148
+ msgid "Catalog Mode Settings"
149
+ msgstr "Catalog Mode instellingen"
150
+
151
+ #: ../plugin-options/settings-options.php:101
152
+ msgid "Hide in product details page"
153
+ msgstr "Verberg in productdetail pagina"
154
+
155
+ #: ../plugin-options/settings-options.php:109
156
+ msgid "Hide in other pages"
157
+ msgstr "Verberg in andere pagina's"
158
+
159
+ #: ../plugin-options/settings-options.php:118
160
+ msgid "\"Cart\" and \"Checkout\" pages"
161
+ msgstr "\"Winkelwagen\" en \"afrekenen\" pagina's"
162
+
163
+ #: ../plugin-options/settings-options.php:120
164
+ msgid "Hide and disable all shop features"
165
+ msgstr "Verberg en schakel alle winkel functies uit"
166
+
167
+ #: ../templates/admin/premium.php:226 ../templates/admin/premium.php:352
168
+ #, php-format
169
+ msgid ""
170
+ "Upgrade to %1$spremium version%2$s of %1$sYITH WooCommerce Catalog Mode%2$s "
171
+ "to benefit from all features!"
172
+ msgstr ""
173
+ "Upgrade naar %1$spremium version%2$s of %1$sYITH WooCommerce Catalog "
174
+ "Mode%2$s om te profiteren van alle functies!"
175
+
176
+ #: ../templates/admin/premium.php:229 ../templates/admin/premium.php:355
177
+ msgid "UPGRADE"
178
+ msgstr "UPGRADE"
179
+
180
+ #: ../templates/admin/premium.php:230 ../templates/admin/premium.php:356
181
+ msgid "to the premium version"
182
+ msgstr "naar het premium versie"
183
+
184
+ #: ../templates/admin/premium.php:236
185
+ msgid "Premium Features"
186
+ msgstr "Premium Functies"
187
+
188
+ #: ../templates/admin/premium.php:244
189
+ msgid "Hide price"
190
+ msgstr "Verberg prijs"
191
+
192
+ #: ../templates/admin/premium.php:247
193
+ #, php-format
194
+ msgid ""
195
+ "Hide the price of products in your shop and replace it with a text. Decide "
196
+ "if some of the products have to be excluded and if %1$shiding price%2$s has "
197
+ "to be applied to all or restricted only to unlogged users."
198
+ msgstr ""
199
+ "Verberg de prijs van de producten in uw winkel en vervang deze door een "
200
+ "tekst. Beslis of sommige van de producten worden uitgesloten en indien "
201
+ "%1$shiding price%2$s moet worden toegepast op alle of beperkt tot niet "
202
+ "ingelogde gebruikers."
203
+
204
+ #: ../templates/admin/premium.php:257
205
+ msgid "Inquiry form"
206
+ msgstr "Aanvraagformulier"
207
+
208
+ #: ../templates/admin/premium.php:260
209
+ #, php-format
210
+ msgid ""
211
+ "Improve single product page by adding a tab with an %1$sinquiry form%2$s "
212
+ "explicitly thought to let them send messages to site administrator."
213
+ msgstr ""
214
+ "Verbeter de enkel product pagina door het toevoegen van een tab met "
215
+ "%1$sinquiry form%2$s expliciet bedacht om hun berichten te laten sturen naar "
216
+ "de websitebeheerder."
217
+
218
+ #: ../templates/admin/premium.php:276
219
+ msgid "Custom button"
220
+ msgstr "Aangepaste button"
221
+
222
+ #: ../templates/admin/premium.php:279
223
+ #, php-format
224
+ msgid ""
225
+ "Add a button in single product page to call users to a specific "
226
+ "%1$saction%2$s, depending on the specified %1$slink%2$s (email sending, "
227
+ "skype call, telephone call)."
228
+ msgstr ""
229
+ "Voeg een button toe in de enkel product pagina om gebruikers te laten bellen "
230
+ "voor een specifieke %1$saction%2$s, afhankelijk van de opgegeven "
231
+ "%1$slink%2$s (email sending, skype call, telephone call)."
232
+
233
+ #: ../templates/admin/premium.php:289
234
+ msgid "Product reviews"
235
+ msgstr "Product beoordeling"
236
+
237
+ #: ../templates/admin/premium.php:292
238
+ #, php-format
239
+ msgid ""
240
+ "You can disable product %1$sreviewing system%2$s of your shop and decide if "
241
+ "applying it to all users or just to unlogged ones."
242
+ msgstr ""
243
+ "U kunt uw product %1$sreviewing system%2$s uitschakelen in uw winkel en "
244
+ "beslissen of dit voor alle gebruikers is of alleen voor niet ingelogde "
245
+ "gebruikers."
246
+
247
+ #: ../templates/admin/premium.php:308
248
+ msgid "Exclusion list"
249
+ msgstr "Uitgesloten lijst"
250
+
251
+ #: ../templates/admin/premium.php:311
252
+ #, php-format
253
+ msgid ""
254
+ "Set plugin options, but if you want that options concerning price visibility "
255
+ "and ‘Add to cart’ do not apply to specific products, add them to "
256
+ "%1$sexclusion list%2$s and, voilà, problem solved."
257
+ msgstr ""
258
+ "Stel plugin opties in, maar als je wilt dat de opties met betrekking tot "
259
+ "prijs zichtbaarheid en 'Bestellen' niet van toepassing zijn op specifieke "
260
+ "producten, voeg ze toe aan %1$sexclusion list%2$s en, voilà probleem "
261
+ "opgelost."
262
+
263
+ #: ../templates/admin/premium.php:321
264
+ msgid "REVERSE EXCLUSION LIST"
265
+ msgstr "OMGEKEERDE UITSLUITINGSLIJST"
266
+
267
+ #: ../templates/admin/premium.php:324
268
+ #, php-format
269
+ msgid ""
270
+ "Apply Catalog Mode to some items only: add them to the \"Exclusion List\" and "
271
+ "%1$smake it work in the opposite way as usual%2$s. All items in the shop "
272
+ "show price and “Add to Cart” button, while items in the list don’t."
273
+ msgstr ""
274
+ "Catalog Mode toepassing voor slechts enkele items: voeg ze toe aan de "
275
+ "\"Uitsluitingslijst\" en %1$smake it work in the opposite way as usual%2$s. "
276
+ "Van alle items in de winkel de prijs tonen en de \"Toevoegen aan winkelwagen\" "
277
+ "button, terwijl items niet in de lijst staan."
278
+
279
+ #: ../templates/admin/premium.php:340
280
+ msgid "Source page of the request"
281
+ msgstr "Bronpagina van de aanvraag"
282
+
283
+ #: ../templates/admin/premium.php:343
284
+ #, php-format
285
+ msgid ""
286
+ "Thanks to the %1$s\"Product Permalink\"%2$s option you will be able to know "
287
+ "from which page your users have generated the request.%3$sThe email "
288
+ "generated from the request form will include the address of the page: "
289
+ "another important information that can be really useful for you."
290
+ msgstr ""
291
+ "Met dank aan de %1$s\"Product Permalink\"%2$s optie is het mogelijk om te "
292
+ "weten welke pagina je gebruiker heeft gemaakt de aanvraag %3$s De e-mail "
293
+ "gegenereerd op basis van het aanvraagformulier zal het adres van de pagina: "
294
+ "en andere belangrijke informatie die kan nuttig zijn voor jou."
plugin-options/settings-options.php CHANGED
@@ -14,114 +14,89 @@ if ( !defined( 'ABSPATH' ) ) {
14
 
15
  global $YITH_WC_Catalog_Mode;
16
 
17
- $videobox = defined( 'YWCTM_PREMIUM' ) ? '' : array(
18
- 'name' => __( 'Upgrade to the PREMIUM VERSION', 'yith-woocommerce-catalog-mode' ),
19
- 'type' => 'videobox',
20
- 'default' => array(
21
- 'plugin_name' => __( 'YITH WooCommerce Catalog Mode', 'yith-woocommerce-catalog-mode' ),
22
- 'title_first_column' => __( 'Discover the Advanced Features', 'yith-woocommerce-catalog-mode' ),
23
- 'description_first_column' => __( 'Upgrade to the PREMIUM VERSION of YITH WooCommerce Catalog Mode to benefit from all features!', 'yith-woocommerce-catalog-mode' ),
24
- 'video' => array(
25
- 'video_id' => '120697979',
26
- 'video_image_url' => YWCTM_ASSETS_URL . '/images/yith-woocommerce-catalog-mode.jpg',
27
- 'video_description' => __( 'YITH WooCommerce Catalog Mode', 'yith-woocommerce-catalog-mode' ),
28
- ),
29
- 'title_second_column' => __( 'Get Support and Pro Features', 'yith-woocommerce-catalog-mode' ),
30
- 'description_second_column' => __( 'By purchasing the premium version of the plugin, you will take advantage of the advanced features of the product and you will get one year of free updates and support through our platform available 24h/24.', 'yith-woocommerce-catalog-mode' ),
31
- 'button' => array(
32
- 'href' => $YITH_WC_Catalog_Mode->get_premium_landing_uri(),
33
- 'title' => 'Get Support and Pro Features'
34
- )
35
- ),
36
- 'id' => 'ywctm_general_videobox'
37
- );
38
-
39
- $exclusion = !defined( 'YWCTM_PREMIUM' ) ? '' : array(
40
- 'name' => __( '"Add to cart" button', 'yith-woocommerce-catalog-mode' ),
41
- 'type' => 'checkbox',
42
- 'desc' => __( 'Exclude selected products (See "Exclusions" tab)', 'yith-woocommerce-catalog-mode' ),
43
- 'id' => 'ywctm_exclude_hide_add_to_cart',
44
- 'default' => 'no',
45
- 'checkboxgroup' => ''
46
- );
47
-
48
- $reverse_exclusion = !defined( 'YWCTM_PREMIUM' ) ? '' : array(
49
- 'name' => __( '"Add to cart" button', 'yith-woocommerce-catalog-mode' ),
50
- 'type' => 'checkbox',
51
- 'desc' => __( 'Reverse Exclusion List (Restrict Catalog Mode to selected items only)', 'yith-woocommerce-catalog-mode' ),
52
- 'id' => 'ywctm_exclude_hide_add_to_cart_reverse',
53
- 'default' => 'no',
54
- 'checkboxgroup' => ''
55
- );
56
-
57
- $product_variations = !defined( 'YWCTM_PREMIUM' ) ? '' : array(
58
- 'name' => __( 'Variable products', 'yith-woocommerce-catalog-mode' ),
59
- 'type' => 'checkbox',
60
- 'desc' => __( 'Hide product variations', 'yith-woocommerce-catalog-mode' ),
61
- 'id' => 'ywctm_hide_variations',
62
- 'default' => 'no',
63
- 'checkboxgroup' => 'end'
64
- );
65
-
66
  return array(
67
  'settings' => array(
68
- 'section_general_settings_videobox' => $videobox,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
 
70
- 'catalog_mode_general_title' => array(
71
  'name' => __( 'General Settings', 'yith-woocommerce-catalog-mode' ),
72
  'type' => 'title',
73
- 'desc' => '',
74
  ),
75
- 'catalog_mode_general_enable_plugin' => array(
76
- 'name' => __( 'Enable YITH Woocommerce Catalog Mode', 'yith-woocommerce-catalog-mode' ),
77
  'type' => 'checkbox',
78
  'desc' => '',
79
  'id' => 'ywctm_enable_plugin',
80
  'default' => 'yes',
81
  ),
82
- 'catalog_mode_general_admin_view' => array(
83
- 'name' => __( 'Admin View', 'yith-woocommerce-catalog-mode' ),
84
- 'type' => 'checkbox',
85
- 'desc' => __( 'Enable Catalog Mode also for administrators', 'yith-woocommerce-catalog-mode' ),
86
- 'id' => 'ywctm_admin_view',
87
- 'default' => 'yes',
88
- ),
89
- 'catalog_mode_general_end' => array(
90
  'type' => 'sectionend',
91
  ),
92
 
93
- 'catalog_mode_section_title' => array(
94
  'name' => __( 'Catalog Mode Settings', 'yith-woocommerce-catalog-mode' ),
95
  'type' => 'title',
96
- 'desc' => '',
97
  ),
98
- 'catalog_mode_settings_disable_add_to_cart_single' => array(
99
  'name' => __( '"Add to cart" button', 'yith-woocommerce-catalog-mode' ),
100
  'type' => 'checkbox',
101
- 'desc' => __( 'Hide in product details page', 'yith-woocommerce-catalog-mode' ),
102
  'id' => 'ywctm_hide_add_to_cart_single',
103
  'default' => 'no',
104
  'checkboxgroup' => 'start'
105
  ),
106
- 'catalog_mode_settings_disable_add_to_cart_loop' => array(
107
- 'name' => __( '"Add to cart" button', 'yith-woocommerce-catalog-mode' ),
108
  'type' => 'checkbox',
109
- 'desc' => __( 'Hide in other pages', 'yith-woocommerce-catalog-mode' ),
110
  'id' => 'ywctm_hide_add_to_cart_loop',
111
  'default' => 'no',
112
- 'checkboxgroup' => !defined( 'YWCTM_PREMIUM' ) ? 'end' : ''
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
113
  ),
114
- 'catalog_mode_settings_exclude_products' => $exclusion,
115
- 'catalog_mode_settings_exclude_products_reverse' => $reverse_exclusion,
116
- 'catalog_mode_settings_variable_products' => $product_variations,
117
- 'catalog_mode_settings_disable_cart_in_header' => array(
118
- 'name' => __( '"Cart" and "Checkout" pages', 'yith-woocommerce-catalog-mode' ),
119
  'type' => 'checkbox',
120
- 'desc' => __( 'Hide and disable all shop features', 'yith-woocommerce-catalog-mode' ),
121
  'id' => 'ywctm_hide_cart_header',
122
  'default' => 'no',
123
  ),
124
- 'catalog_mode_section_end' => array(
125
  'type' => 'sectionend',
126
  )
127
  )
14
 
15
  global $YITH_WC_Catalog_Mode;
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  return array(
18
  'settings' => array(
19
+ 'ywctm_videobox' => array(
20
+ 'name' => __( 'Upgrade to the PREMIUM VERSION', 'yith-woocommerce-catalog-mode' ),
21
+ 'type' => 'videobox',
22
+ 'default' => array(
23
+ 'plugin_name' => __( 'YITH WooCommerce Catalog Mode', 'yith-woocommerce-catalog-mode' ),
24
+ 'title_first_column' => __( 'Discover the Advanced Features', 'yith-woocommerce-catalog-mode' ),
25
+ 'description_first_column' => __( 'Upgrade to the PREMIUM VERSION of YITH WooCommerce Catalog Mode to benefit from all features!', 'yith-woocommerce-catalog-mode' ),
26
+ 'video' => array(
27
+ 'video_id' => '120697979',
28
+ 'video_image_url' => YWCTM_ASSETS_URL . 'images/yith-woocommerce-catalog-mode.jpg',
29
+ 'video_description' => __( 'YITH WooCommerce Catalog Mode', 'yith-woocommerce-catalog-mode' ),
30
+ ),
31
+ 'title_second_column' => __( 'Get Support and Pro Features', 'yith-woocommerce-catalog-mode' ),
32
+ 'description_second_column' => __( 'By purchasing the premium version of the plugin, you will take advantage of the advanced features of the product and you will get one year of free updates and support through our platform available 24h/24.', 'yith-woocommerce-catalog-mode' ),
33
+ 'button' => array(
34
+ 'href' => $YITH_WC_Catalog_Mode->get_premium_landing_uri(),
35
+ 'title' => 'Get Support and Pro Features'
36
+ )
37
+ ),
38
+ 'id' => 'ywctm_general_videobox'
39
+ ),
40
 
41
+ 'ywctm_general_title' => array(
42
  'name' => __( 'General Settings', 'yith-woocommerce-catalog-mode' ),
43
  'type' => 'title',
 
44
  ),
45
+ 'ywctm_enable_plugin' => array(
46
+ 'name' => __( 'Enable YITH WooCommerce Catalog Mode', 'yith-woocommerce-catalog-mode' ),
47
  'type' => 'checkbox',
48
  'desc' => '',
49
  'id' => 'ywctm_enable_plugin',
50
  'default' => 'yes',
51
  ),
52
+ 'ywctm_general_end' => array(
 
 
 
 
 
 
 
53
  'type' => 'sectionend',
54
  ),
55
 
56
+ 'ywctm_catalog_mode_title' => array(
57
  'name' => __( 'Catalog Mode Settings', 'yith-woocommerce-catalog-mode' ),
58
  'type' => 'title',
 
59
  ),
60
+ 'ywctm_catalog_mode_disable_add_to_cart_single' => array(
61
  'name' => __( '"Add to cart" button', 'yith-woocommerce-catalog-mode' ),
62
  'type' => 'checkbox',
63
+ 'desc' => __( 'Hide in product detail page', 'yith-woocommerce-catalog-mode' ),
64
  'id' => 'ywctm_hide_add_to_cart_single',
65
  'default' => 'no',
66
  'checkboxgroup' => 'start'
67
  ),
68
+ 'ywctm_catalog_mode_disable_add_to_cart_loop' => array(
 
69
  'type' => 'checkbox',
70
+ 'desc' => __( 'Hide in other shop pages', 'yith-woocommerce-catalog-mode' ),
71
  'id' => 'ywctm_hide_add_to_cart_loop',
72
  'default' => 'no',
73
+ 'checkboxgroup' => ''
74
+
75
+ ),
76
+ 'ywctm_catalog_mode_admin_view' => array(
77
+ 'name' => __( 'Admin View', 'yith-woocommerce-catalog-mode' ),
78
+ 'type' => 'checkbox',
79
+ 'desc' => __( 'Enable Catalog Mode also for administrators', 'yith-woocommerce-catalog-mode' ),
80
+ 'id' => 'ywctm_admin_view',
81
+ 'default' => 'yes',
82
+ ),
83
+ 'ywctm_catalog_mode_section_end' => array(
84
+ 'type' => 'sectionend',
85
+ ),
86
+
87
+ 'ywctm_other_section_title' => array(
88
+ 'name' => __( 'Other Settings', 'yith-woocommerce-catalog-mode' ),
89
+ 'type' => 'title',
90
+ 'desc' => '',
91
  ),
92
+ 'ywctm_other_disable_cart_in_header' => array(
93
+ 'name' => __( 'Disable shop', 'yith-woocommerce-catalog-mode' ),
 
 
 
94
  'type' => 'checkbox',
95
+ 'desc' => __( 'Hide and disable "Cart" page, "Checkout" page and all "Add to Cart" buttons', 'yith-woocommerce-catalog-mode' ),
96
  'id' => 'ywctm_hide_cart_header',
97
  'default' => 'no',
98
  ),
99
+ 'ywctm_other_section_end' => array(
100
  'type' => 'sectionend',
101
  )
102
  )
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: yithemes
4
  Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
5
  Requires at least: 4.0
6
  Tested up to: 4.3.1
7
- Stable tag: 1.1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -113,6 +113,11 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
113
 
114
  == Changelog ==
115
 
 
 
 
 
 
116
  = 1.1.5 =
117
 
118
  * Updated: plugin core framework
@@ -184,7 +189,7 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
184
 
185
  == Upgrade Notice ==
186
 
187
- Last Stable Tag 1.1.5
188
 
189
  == Suggestions ==
190
 
@@ -197,6 +202,7 @@ If you have suggestions about how to improve YITH WooCommerce Catalog Mode, you
197
  **NOTE: The translation process of this plugin has been changed by WordPress. Please, read the correlated FAQ to be updated about the news changes.**
198
 
199
  * English
 
200
 
201
  If you have created your own language pack, or have an update for an existing one, you can send [gettext PO and MO file](http://codex.wordpress.org/Translating_WordPress "Translating WordPress")
202
  [use](http://yithemes.com/contact/ "Your Inspiration Themes") so we can bundle it into YITH WooCommerce Catalog Mode languages.
4
  Tags: woocommerce catalog mode plugin, woocommerce catalog only, woocommerce, products, themes, yit, yith, yithemes, e-commerce, shop, catalog mode, catalogue mode, remove add to cart, ask for price, ask price, asking for price, asking price, button remove, call, call for price, call me, call us, contact, email, hide add to cart, hide price
5
  Requires at least: 4.0
6
  Tested up to: 4.3.1
7
+ Stable tag: 1.2.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
113
 
114
  == Changelog ==
115
 
116
+ = 1.2.0 =
117
+
118
+ * Added: Dutch translation (by Bart Verkerk)
119
+ * Fixed: options panel more user friendly
120
+
121
  = 1.1.5 =
122
 
123
  * Updated: plugin core framework
189
 
190
  == Upgrade Notice ==
191
 
192
+ Last Stable Tag 1.2.0
193
 
194
  == Suggestions ==
195
 
202
  **NOTE: The translation process of this plugin has been changed by WordPress. Please, read the correlated FAQ to be updated about the news changes.**
203
 
204
  * English
205
+ * Dutch (by Bart Verkerk)
206
 
207
  If you have created your own language pack, or have an update for an existing one, you can send [gettext PO and MO file](http://codex.wordpress.org/Translating_WordPress "Translating WordPress")
208
  [use](http://yithemes.com/contact/ "Your Inspiration Themes") so we can bundle it into YITH WooCommerce Catalog Mode languages.