Version Description
Last Stable Tag 1.3.1
Download this release
Release Info
Developer | yithemes |
Plugin | YITH WooCommerce Catalog Mode |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.0 to 1.3.1
- assets/images/08-bg.png +0 -0
- assets/images/08-icon.png +0 -0
- assets/images/08.png +0 -0
- assets/images/09-bg.png +0 -0
- assets/images/09-icon.png +0 -0
- assets/images/09.png +0 -0
- class.yith-woocommerce-catalog-mode.php +1 -1
- init.php +2 -2
- readme.txt +6 -2
- templates/admin/premium.php +42 -3
assets/images/08-bg.png
ADDED
Binary file
|
assets/images/08-icon.png
ADDED
Binary file
|
assets/images/08.png
ADDED
Binary file
|
assets/images/09-bg.png
ADDED
Binary file
|
assets/images/09-icon.png
ADDED
Binary file
|
assets/images/09.png
ADDED
Binary file
|
class.yith-woocommerce-catalog-mode.php
CHANGED
@@ -457,7 +457,7 @@ if ( !class_exists( 'YITH_WC_Catalog_Mode' ) ) {
|
|
457 |
$enable_exclusion = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_exclude_hide_add_to_cart' ), $product_id, 'ywctm_exclude_hide_add_to_cart' );
|
458 |
$exclude_catalog = apply_filters( 'ywctm_get_exclusion', get_post_meta( $product_id, '_ywctm_exclude_catalog_mode', true ), $product_id, '_ywctm_exclude_catalog_mode' );
|
459 |
|
460 |
-
$passed = ( $enable_exclusion != 'yes' ?
|
461 |
|
462 |
$reverse_criteria = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_exclude_hide_add_to_cart_reverse' ), $product_id, 'ywctm_exclude_hide_add_to_cart_reverse' );
|
463 |
|
457 |
$enable_exclusion = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_exclude_hide_add_to_cart' ), $product_id, 'ywctm_exclude_hide_add_to_cart' );
|
458 |
$exclude_catalog = apply_filters( 'ywctm_get_exclusion', get_post_meta( $product_id, '_ywctm_exclude_catalog_mode', true ), $product_id, '_ywctm_exclude_catalog_mode' );
|
459 |
|
460 |
+
$passed = ( $enable_exclusion != 'yes' ? false : ( $exclude_catalog != 'yes' ? false : true ) );
|
461 |
|
462 |
$reverse_criteria = apply_filters( 'ywctm_get_vendor_option', get_option( 'ywctm_exclude_hide_add_to_cart_reverse' ), $product_id, 'ywctm_exclude_hide_add_to_cart_reverse' );
|
463 |
|
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.3.
|
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.3.
|
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.3.1
|
9 |
Author URI: http://yithemes.com/
|
10 |
*/
|
11 |
|
34 |
}
|
35 |
|
36 |
if ( !defined( 'YWCTM_VERSION' ) ) {
|
37 |
+
define( 'YWCTM_VERSION', '1.3.1' );
|
38 |
}
|
39 |
|
40 |
if ( !defined( 'YWCTM_FREE_INIT' ) ) {
|
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.4.2
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -113,6 +113,10 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
|
|
113 |
|
114 |
== Changelog ==
|
115 |
|
|
|
|
|
|
|
|
|
116 |
= Version 1.3.0 - Released: Mar 01, 2016 =
|
117 |
|
118 |
* Updated: language file
|
@@ -209,7 +213,7 @@ yith-woocommerce-catalog-mode-<WORDPRESS LOCALE >.mo
|
|
209 |
|
210 |
== Upgrade Notice ==
|
211 |
|
212 |
-
Last Stable Tag 1.3.
|
213 |
|
214 |
== Suggestions ==
|
215 |
|
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.4.2
|
7 |
+
Stable tag: 1.3.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
113 |
|
114 |
== Changelog ==
|
115 |
|
116 |
+
= Version 1.3.1 - Released: Mar 04, 2016 =
|
117 |
+
|
118 |
+
* Fixed: items excluded not added to cart
|
119 |
+
|
120 |
= Version 1.3.0 - Released: Mar 01, 2016 =
|
121 |
|
122 |
* Updated: language file
|
213 |
|
214 |
== Upgrade Notice ==
|
215 |
|
216 |
+
Last Stable Tag 1.3.1
|
217 |
|
218 |
== Suggestions ==
|
219 |
|
templates/admin/premium.php
CHANGED
@@ -154,24 +154,31 @@
|
|
154 |
background: url(<?php echo YWCTM_ASSETS_URL?>/images/01-bg.png) no-repeat #fff; background-position: 85% 75%
|
155 |
}
|
156 |
.section.two{
|
157 |
-
background: url(<?php echo YWCTM_ASSETS_URL?>/images/02-bg.png) no-repeat #fff; background-position:
|
158 |
}
|
159 |
.section.three{
|
160 |
background: url(<?php echo YWCTM_ASSETS_URL?>/images/03-bg.png) no-repeat #fff; background-position: 85% 75%
|
161 |
}
|
162 |
.section.four{
|
163 |
-
background: url(<?php echo YWCTM_ASSETS_URL?>/images/04-bg.png) no-repeat #fff; background-position:
|
164 |
}
|
165 |
.section.five{
|
166 |
background: url(<?php echo YWCTM_ASSETS_URL?>/images/05-bg.png) no-repeat #fff; background-position: 85% 75%
|
167 |
}
|
168 |
.section.six{
|
169 |
-
background: url(<?php echo YWCTM_ASSETS_URL?>/images/06-bg.png) no-repeat #fff; background-position:
|
170 |
}
|
171 |
|
172 |
.section.seven{
|
173 |
background: url(<?php echo YWCTM_ASSETS_URL?>/images/07-bg.png) no-repeat #fff; background-position: 85% 75%
|
174 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
|
176 |
@media (max-width: 768px) {
|
177 |
.section{margin: 0}
|
@@ -345,6 +352,38 @@
|
|
345 |
</div>
|
346 |
</div>
|
347 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
348 |
<div class="section section-cta section-odd">
|
349 |
<div class="landing-container">
|
350 |
<div class="premium-cta">
|
154 |
background: url(<?php echo YWCTM_ASSETS_URL?>/images/01-bg.png) no-repeat #fff; background-position: 85% 75%
|
155 |
}
|
156 |
.section.two{
|
157 |
+
background: url(<?php echo YWCTM_ASSETS_URL?>/images/02-bg.png) no-repeat #fff; background-position: 15% 100%
|
158 |
}
|
159 |
.section.three{
|
160 |
background: url(<?php echo YWCTM_ASSETS_URL?>/images/03-bg.png) no-repeat #fff; background-position: 85% 75%
|
161 |
}
|
162 |
.section.four{
|
163 |
+
background: url(<?php echo YWCTM_ASSETS_URL?>/images/04-bg.png) no-repeat #fff; background-position: 15% 100%
|
164 |
}
|
165 |
.section.five{
|
166 |
background: url(<?php echo YWCTM_ASSETS_URL?>/images/05-bg.png) no-repeat #fff; background-position: 85% 75%
|
167 |
}
|
168 |
.section.six{
|
169 |
+
background: url(<?php echo YWCTM_ASSETS_URL?>/images/06-bg.png) no-repeat #fff; background-position: 15% 100%
|
170 |
}
|
171 |
|
172 |
.section.seven{
|
173 |
background: url(<?php echo YWCTM_ASSETS_URL?>/images/07-bg.png) no-repeat #fff; background-position: 85% 75%
|
174 |
}
|
175 |
+
.section.eight{
|
176 |
+
background: url(<?php echo YWCTM_ASSETS_URL?>/images/08-bg.png) no-repeat #fff; background-position: 15% 100%
|
177 |
+
}
|
178 |
+
|
179 |
+
.section.nine{
|
180 |
+
background: url(<?php echo YWCTM_ASSETS_URL?>/images/09-bg.png) no-repeat #fff; background-position: 85% 75%
|
181 |
+
}
|
182 |
|
183 |
@media (max-width: 768px) {
|
184 |
.section{margin: 0}
|
352 |
</div>
|
353 |
</div>
|
354 |
</div>
|
355 |
+
<div class="eight section section-odd clear">
|
356 |
+
<div class="landing-container">
|
357 |
+
<div class="col-2">
|
358 |
+
<div class="section-title">
|
359 |
+
<img src="<?php echo YWCTM_ASSETS_URL?>/images/08-icon.png" alt="icon 08" />
|
360 |
+
<h2><?php _e('Users','yith-woocommerce-catalog-mode');?></h2>
|
361 |
+
</div>
|
362 |
+
<p>
|
363 |
+
<?php echo sprintf( __( 'By default, the plugin requires for configured rules to be valid for all users of the shop, registered or not. However, this can be changed by limiting the functioning of options only to %1$sunregistered users%2$s or to those who are logged from one of the specified nations.','yith-woocommerce-catalog-mode' ),'<b>','</b>' ) ?>
|
364 |
+
</p>
|
365 |
+
</div>
|
366 |
+
<div class="col-1">
|
367 |
+
<img src="<?php echo YWCTM_ASSETS_URL?>/images/08.png" alt="Users" />
|
368 |
+
</div>
|
369 |
+
</div>
|
370 |
+
</div>
|
371 |
+
<div class="nine section section-even clear">
|
372 |
+
<div class="landing-container">
|
373 |
+
<div class="col-1">
|
374 |
+
<img src="<?php echo YWCTM_ASSETS_URL?>/images/09.png" alt="YITH WOOCOMMERCE MULTI VENDOR" />
|
375 |
+
</div>
|
376 |
+
<div class="col-2">
|
377 |
+
<div class="section-title">
|
378 |
+
<img src="<?php echo YWCTM_ASSETS_URL?>/images/09-icon.png" alt="icon 09" />
|
379 |
+
<h2><?php _e('YITH WOOCOMMERCE MULTI VENDOR','yith-woocommerce-catalog-mode');?></h2>
|
380 |
+
</div>
|
381 |
+
<p>
|
382 |
+
<?php echo sprintf( __('Integration with %1$sMulti Vendor%2$s will allow vendors to configure catalog options specifically for their own products.%3$sSite administrator can decide to %1$soverwrite the product settings%2$s configured by vendors and have the last word '),'<b>','</b>','<br>'); ?>
|
383 |
+
</p>
|
384 |
+
</div>
|
385 |
+
</div>
|
386 |
+
</div>
|
387 |
<div class="section section-cta section-odd">
|
388 |
<div class="landing-container">
|
389 |
<div class="premium-cta">
|