YITH WooCommerce Quick View - Version 1.0.1

Version Description

  • Minor bug fix
Download this release

Release Info

Developer yithemes
Plugin Icon 128x128 YITH WooCommerce Quick View
Version 1.0.1
Comparing to
See all releases

Code changes from version 1.0.0 to 1.0.1

README.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: yithemes
3
  Tags: yith, woocommerce, quick view, woocommerce quick view, yit, single product, products quick view, free quick view, woocommerce extension
4
  Requires at least: 4.0
5
  Tested up to: 4.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
 
@@ -28,6 +28,10 @@ Full documentation is available [here](http://yithemes.com/docs-plugins/yith-woo
28
 
29
  == Changelog ==
30
 
 
 
 
 
31
  = 1.0.0 =
32
 
33
  * Initial release
@@ -53,6 +57,6 @@ If you have created your own language pack, or have an update for an existing on
53
 
54
  == Upgrade notice ==
55
 
56
- = 1.0.0 =
57
 
58
- Initial release
3
  Tags: yith, woocommerce, quick view, woocommerce quick view, yit, single product, products quick view, free quick view, woocommerce extension
4
  Requires at least: 4.0
5
  Tested up to: 4.1
6
+ Stable tag: 1.0.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
28
 
29
  == Changelog ==
30
 
31
+ = 1.0.1 =
32
+
33
+ * Minor bug fix
34
+
35
  = 1.0.0 =
36
 
37
  * Initial release
57
 
58
  == Upgrade notice ==
59
 
60
+ = 1.0.1 =
61
 
62
+ * Minor bug fix
assets/image/01-bg.png ADDED
Binary file
assets/image/01-icon.png ADDED
Binary file
assets/image/01.png ADDED
Binary file
assets/image/02-bg.png ADDED
Binary file
assets/image/02-icon.png ADDED
Binary file
assets/image/02.png ADDED
Binary file
assets/image/03-bg.png ADDED
Binary file
assets/image/03-icon.png ADDED
Binary file
assets/image/03.png ADDED
Binary file
assets/image/04-bg.png ADDED
Binary file
assets/image/04-icon.png ADDED
Binary file
assets/image/04.png ADDED
Binary file
assets/image/05-bg.png ADDED
Binary file
assets/image/05-icon.png ADDED
Binary file
assets/image/05.png ADDED
Binary file
assets/image/06-bg.png ADDED
Binary file
assets/image/06-icon.png ADDED
Binary file
assets/image/06.png ADDED
Binary file
assets/image/07-bg.png ADDED
Binary file
assets/image/07-icon.png ADDED
Binary file
assets/image/07.png ADDED
Binary file
assets/image/08-bg.png ADDED
Binary file
assets/image/08-icon.png ADDED
Binary file
assets/image/08.png ADDED
Binary file
assets/image/Thumbs.db ADDED
Binary file
assets/image/upgrade.png ADDED
Binary file
assets/image/video-yith-woocommerce-quick-view.jpg ADDED
Binary file
class.yith-wcqv-admin.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * @author Yithemes
6
  * @package YITH WooCommerce Quick View
7
- * @version 1.1.1
8
  */
9
 
10
  if ( ! defined( 'YITH_WCQV' ) ) {
@@ -50,10 +50,15 @@ if ( ! class_exists( 'YITH_WCQV_Admin' ) ) {
50
  */
51
  protected $_panel;
52
 
 
 
 
 
 
53
  /**
54
  * @var string Premium version landing link
55
  */
56
- protected $_premium_landing = '#';
57
 
58
  /**
59
  * @var string Quick View panel page
@@ -97,9 +102,9 @@ if ( ! class_exists( 'YITH_WCQV_Admin' ) ) {
97
  add_filter( 'plugin_action_links_' . plugin_basename( YITH_WCQV_DIR . '/' . basename( YITH_WCQV_FILE ) ), array( $this, 'action_links') );
98
  add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 4 );
99
 
100
- //add_action( 'yith_ajax_search_premium', array( $this, 'premium_tab' ) );
101
 
102
- //add_action( 'admin_init', array( $this, 'register_pointer' ) );
103
 
104
  // YITH WCQV Loaded
105
  do_action( 'yith_wcqv_loaded' );
@@ -122,7 +127,7 @@ if ( ! class_exists( 'YITH_WCQV_Admin' ) ) {
122
  public function action_links( $links ) {
123
 
124
  $links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-wcqv' ) . '</a>';
125
- //$links[] = '<a href="' . $this->_premium_landing . '" target="_blank">' . __( 'Premium Version', 'yith-wcqv' ) . '</a>';
126
 
127
  return $links;
128
  }
@@ -144,7 +149,7 @@ if ( ! class_exists( 'YITH_WCQV_Admin' ) ) {
144
 
145
  $admin_tabs = array(
146
  'settings' => __( 'Settings', 'yith-wcqv' ),
147
- //'premium' => __( 'Premium Version', 'yith-wcqv' ),
148
  );
149
 
150
  $args = array(
@@ -180,7 +185,7 @@ if ( ! class_exists( 'YITH_WCQV_Admin' ) ) {
180
  * @return void
181
  */
182
  public function premium_tab() {
183
- $premium_tab_template = YITH_WCAS_TEMPLATE_PATH . '/admin/' . $this->_premium;
184
  if( file_exists( $premium_tab_template ) ) {
185
  include_once($premium_tab_template);
186
  }
4
  *
5
  * @author Yithemes
6
  * @package YITH WooCommerce Quick View
7
+ * @version 1.0.0
8
  */
9
 
10
  if ( ! defined( 'YITH_WCQV' ) ) {
50
  */
51
  protected $_panel;
52
 
53
+ /**
54
+ * @var $_premium string Premium tab template file name
55
+ */
56
+ protected $_premium = 'premium.php';
57
+
58
  /**
59
  * @var string Premium version landing link
60
  */
61
+ protected $_premium_landing = 'http://yithemes.com/themes/plugins/yith-woocommerce-quick-view/';
62
 
63
  /**
64
  * @var string Quick View panel page
102
  add_filter( 'plugin_action_links_' . plugin_basename( YITH_WCQV_DIR . '/' . basename( YITH_WCQV_FILE ) ), array( $this, 'action_links') );
103
  add_filter( 'plugin_row_meta', array( $this, 'plugin_row_meta' ), 10, 4 );
104
 
105
+ add_action( 'yith_quick_view_premium', array( $this, 'premium_tab' ) );
106
 
107
+ add_action( 'admin_init', array( $this, 'register_pointer' ) );
108
 
109
  // YITH WCQV Loaded
110
  do_action( 'yith_wcqv_loaded' );
127
  public function action_links( $links ) {
128
 
129
  $links[] = '<a href="' . admin_url( "admin.php?page={$this->_panel_page}" ) . '">' . __( 'Settings', 'yith-wcqv' ) . '</a>';
130
+ $links[] = '<a href="' . $this->_premium_landing . '" target="_blank">' . __( 'Premium Version', 'yith-wcqv' ) . '</a>';
131
 
132
  return $links;
133
  }
149
 
150
  $admin_tabs = array(
151
  'settings' => __( 'Settings', 'yith-wcqv' ),
152
+ 'premium' => __( 'Premium Version', 'yith-wcqv' ),
153
  );
154
 
155
  $args = array(
185
  * @return void
186
  */
187
  public function premium_tab() {
188
+ $premium_tab_template = YITH_WCQV_TEMPLATE_PATH . '/admin/' . $this->_premium;
189
  if( file_exists( $premium_tab_template ) ) {
190
  include_once($premium_tab_template);
191
  }
class.yith-wcqv.php CHANGED
@@ -14,7 +14,7 @@ if ( ! defined( 'YITH_WCQV' ) ) {
14
 
15
  if ( ! class_exists( 'YITH_WCQV' ) ) {
16
  /**
17
- * YITH WooCommerce Ajax Search
18
  *
19
  * @since 1.0.0
20
  */
14
 
15
  if ( ! class_exists( 'YITH_WCQV' ) ) {
16
  /**
17
+ * YITH WooCommerce Quick View
18
  *
19
  * @since 1.0.0
20
  */
init.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: YITH WooCommerce Quick View
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Quick View allows your users to have a quick look about products.
6
- * Version: 1.0.0
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yit
@@ -11,7 +11,7 @@
11
  *
12
  * @author Yithemes
13
  * @package YITH WooCommerce Quick View
14
- * @version 1.0.0
15
  */
16
  /* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
@@ -59,7 +59,7 @@ register_activation_hook( __FILE__, 'yith_plugin_registration_hook' );
59
 
60
 
61
  if ( ! defined( 'YITH_WCQV_VERSION' ) ){
62
- define( 'YITH_WCQV_VERSION', '1.0.0' );
63
  }
64
 
65
  if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
3
  * Plugin Name: YITH WooCommerce Quick View
4
  * Plugin URI: http://yithemes.com/
5
  * Description: YITH WooCommerce Quick View allows your users to have a quick look about products.
6
+ * Version: 1.0.1
7
  * Author: Yithemes
8
  * Author URI: http://yithemes.com/
9
  * Text Domain: yit
11
  *
12
  * @author Yithemes
13
  * @package YITH WooCommerce Quick View
14
+ * @version 1.0.1
15
  */
16
  /* Copyright 2015 Your Inspiration Themes (email : plugins@yithemes.com)
17
 
59
 
60
 
61
  if ( ! defined( 'YITH_WCQV_VERSION' ) ){
62
+ define( 'YITH_WCQV_VERSION', '1.0.1' );
63
  }
64
 
65
  if ( ! defined( 'YITH_WCQV_FREE_INIT' ) ) {
languages/default.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Quick View\n"
4
- "POT-Creation-Date: 2015-02-17 16:34+0100\n"
5
- "PO-Revision-Date: 2015-02-17 16:34+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
8
  "Language: en\n"
@@ -17,7 +17,7 @@ msgstr ""
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: ..\n"
19
 
20
- #: ../class.yith-wcqv-admin.php:124 ../class.yith-wcqv-admin.php:146
21
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1048
22
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1196
23
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1202
@@ -25,20 +25,25 @@ msgstr ""
25
  msgid "Settings"
26
  msgstr ""
27
 
28
- #: ../class.yith-wcqv-admin.php:153 ../class.yith-wcqv-admin.php:154
29
- #: ../plugin-options/settings-options.php:26
 
 
 
 
30
  msgid "Quick View"
31
  msgstr ""
32
 
33
- #: ../class.yith-wcqv-admin.php:208
34
  msgid "Plugin Documentation"
35
  msgstr ""
36
 
37
- #: ../class.yith-wcqv-admin.php:225
 
38
  msgid "YITH WooCommerce Quick View"
39
  msgstr ""
40
 
41
- #: ../class.yith-wcqv-admin.php:226
42
  msgid ""
43
  "In the YIT Plugin tab you can find the YITH WooCommerce Quick View options.\n"
44
  "\t\t\t\t\t\t\t\t\t\tWith this menu, you can access to all the settings of "
@@ -189,7 +194,9 @@ msgid "Rewrite"
189
  msgstr ""
190
 
191
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1059
192
- msgid "Word used in the URL of each project (slug from post if empty)"
 
 
193
  msgstr ""
194
 
195
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1064
@@ -264,7 +271,7 @@ msgstr ""
264
  msgid "Add with multiupload"
265
  msgstr ""
266
 
267
- #: ../plugin-fw/lib/yit-plugin-panel-wc.php:303
268
  msgid "The changes you made will be lost if you leave this page."
269
  msgstr ""
270
 
@@ -302,8 +309,7 @@ msgid "Are you sure of it?"
302
  msgstr ""
303
 
304
  #: ../plugin-fw/lib/yit-plugin-panel.php:410
305
- msgid ""
306
- "The element you have written is already exists. Please, add another name."
307
  msgstr ""
308
 
309
  #: ../plugin-fw/lib/yit-plugin-panel.php:411
@@ -479,11 +485,11 @@ msgid "Invalid licence key"
479
  msgstr ""
480
 
481
  #: ../plugin-fw/licence/lib/yit-licence.php:531
482
- msgid "Software has been deactivate"
483
  msgstr ""
484
 
485
  #: ../plugin-fw/licence/lib/yit-licence.php:532
486
- msgid "Exceeded maximum number of activations"
487
  msgstr ""
488
 
489
  #: ../plugin-fw/licence/lib/yit-licence.php:533
@@ -668,7 +674,7 @@ msgstr ""
668
 
669
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:78
670
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:270
671
- msgid "Insert title for the field."
672
  msgstr ""
673
 
674
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:83
@@ -690,7 +696,7 @@ msgstr ""
690
 
691
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:100
692
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:292
693
- msgid "Select type for this field."
694
  msgstr ""
695
 
696
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:105
@@ -700,7 +706,7 @@ msgstr ""
700
 
701
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:109
702
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:301
703
- msgid "Select this if you want this field already checked."
704
  msgstr ""
705
 
706
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:114
@@ -727,7 +733,7 @@ msgstr ""
727
 
728
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:127
729
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:319
730
- msgid "Message Error"
731
  msgstr ""
732
 
733
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:131
@@ -742,12 +748,12 @@ msgstr ""
742
 
743
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:140
744
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:332
745
- msgid "Select this if it must be required."
746
  msgstr ""
747
 
748
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:149
749
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:341
750
- msgid "Select this if it must be a valid email."
751
  msgstr ""
752
 
753
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:154
@@ -886,10 +892,6 @@ msgstr ""
886
  msgid "No sidebar"
887
  msgstr ""
888
 
889
- #: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:28
890
- msgid "No sideabr"
891
- msgstr ""
892
-
893
  #: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:31
894
  #: ../plugin-fw/templates/metaboxes/types/sidebars.php:39
895
  msgid "Right sidebar"
@@ -956,41 +958,66 @@ msgid "Italic bold"
956
  msgstr ""
957
 
958
  #: ../plugin-options/settings-options.php:8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
959
  msgid "General Options"
960
  msgstr ""
961
 
962
- #: ../plugin-options/settings-options.php:16
963
  msgid "Enable Quick View"
964
  msgstr ""
965
 
966
- #: ../plugin-options/settings-options.php:23
967
  msgid "Quick View Button Label"
968
  msgstr ""
969
 
970
- #: ../plugin-options/settings-options.php:24
971
  msgid "Label for the quick view button in the WooCommerce loop."
972
  msgstr ""
973
 
974
- #: ../plugin-options/settings-options.php:31
975
  msgid "Enable Lightbox"
976
  msgstr ""
977
 
978
- #: ../plugin-options/settings-options.php:32
979
  msgid "Enable lightbox. Product images will open in a lightbox."
980
  msgstr ""
981
 
982
- #: ../plugin-options/settings-options.php:43
983
  msgid "Style Options"
984
  msgstr ""
985
 
986
- #: ../plugin-options/settings-options.php:50
987
  msgid "Modal Window Background Color"
988
  msgstr ""
989
 
990
- #: ../plugin-options/settings-options.php:58
991
  msgid "Closing Button Color"
992
  msgstr ""
993
 
994
- #: ../plugin-options/settings-options.php:66
995
  msgid "Closing Button Hover Color"
996
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Quick View\n"
4
+ "POT-Creation-Date: 2015-02-26 15:20+0100\n"
5
+ "PO-Revision-Date: 2015-02-26 15:21+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
8
  "Language: en\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: ..\n"
19
 
20
+ #: ../class.yith-wcqv-admin.php:129 ../class.yith-wcqv-admin.php:151
21
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1048
22
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1196
23
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1202
25
  msgid "Settings"
26
  msgstr ""
27
 
28
+ #: ../class.yith-wcqv-admin.php:130 ../class.yith-wcqv-admin.php:152
29
+ msgid "Premium Version"
30
+ msgstr ""
31
+
32
+ #: ../class.yith-wcqv-admin.php:158 ../class.yith-wcqv-admin.php:159
33
+ #: ../plugin-options/settings-options.php:49
34
  msgid "Quick View"
35
  msgstr ""
36
 
37
+ #: ../class.yith-wcqv-admin.php:213
38
  msgid "Plugin Documentation"
39
  msgstr ""
40
 
41
+ #: ../class.yith-wcqv-admin.php:230 ../plugin-options/settings-options.php:11
42
+ #: ../plugin-options/settings-options.php:18
43
  msgid "YITH WooCommerce Quick View"
44
  msgstr ""
45
 
46
+ #: ../class.yith-wcqv-admin.php:231
47
  msgid ""
48
  "In the YIT Plugin tab you can find the YITH WooCommerce Quick View options.\n"
49
  "\t\t\t\t\t\t\t\t\t\tWith this menu, you can access to all the settings of "
194
  msgstr ""
195
 
196
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1059
197
+ msgid ""
198
+ "Univocal identification name in the URL for each product (slug from post if "
199
+ "empty)"
200
  msgstr ""
201
 
202
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1064
271
  msgid "Add with multiupload"
272
  msgstr ""
273
 
274
+ #: ../plugin-fw/lib/yit-plugin-panel-wc.php:325
275
  msgid "The changes you made will be lost if you leave this page."
276
  msgstr ""
277
 
309
  msgstr ""
310
 
311
  #: ../plugin-fw/lib/yit-plugin-panel.php:410
312
+ msgid "The element you have written already exists. Please, add another name."
 
313
  msgstr ""
314
 
315
  #: ../plugin-fw/lib/yit-plugin-panel.php:411
485
  msgstr ""
486
 
487
  #: ../plugin-fw/licence/lib/yit-licence.php:531
488
+ msgid "Software has been deactivated"
489
  msgstr ""
490
 
491
  #: ../plugin-fw/licence/lib/yit-licence.php:532
492
+ msgid "Maximum number of activations exceeded"
493
  msgstr ""
494
 
495
  #: ../plugin-fw/licence/lib/yit-licence.php:533
674
 
675
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:78
676
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:270
677
+ msgid "Insert the title for the field."
678
  msgstr ""
679
 
680
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:83
696
 
697
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:100
698
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:292
699
+ msgid "Select the type for this field."
700
  msgstr ""
701
 
702
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:105
706
 
707
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:109
708
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:301
709
+ msgid "Select this option if you want this field appears as already checked."
710
  msgstr ""
711
 
712
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:114
733
 
734
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:127
735
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:319
736
+ msgid "Error Message"
737
  msgstr ""
738
 
739
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:131
748
 
749
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:140
750
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:332
751
+ msgid "Select this option if it must be required."
752
  msgstr ""
753
 
754
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:149
755
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:341
756
+ msgid "Select this option if the email must be valid."
757
  msgstr ""
758
 
759
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:154
892
  msgid "No sidebar"
893
  msgstr ""
894
 
 
 
 
 
895
  #: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:31
896
  #: ../plugin-fw/templates/metaboxes/types/sidebars.php:39
897
  msgid "Right sidebar"
958
  msgstr ""
959
 
960
  #: ../plugin-options/settings-options.php:8
961
+ msgid "Upgrade to the PREMIUM VERSION"
962
+ msgstr ""
963
+
964
+ #: ../plugin-options/settings-options.php:12
965
+ msgid "Discover the Advanced Features"
966
+ msgstr ""
967
+
968
+ #: ../plugin-options/settings-options.php:13
969
+ msgid ""
970
+ "Upgrade to the PREMIUM VERSION of YITH WooCommerce Quick View to benefit "
971
+ "from all features!"
972
+ msgstr ""
973
+
974
+ #: ../plugin-options/settings-options.php:20
975
+ msgid "Get Support and Pro Features"
976
+ msgstr ""
977
+
978
+ #: ../plugin-options/settings-options.php:21
979
+ msgid ""
980
+ "By purchasing the premium version of the plugin, you will take advantage of "
981
+ "the advanced features of the product and you will get one year of free "
982
+ "updates and support through our platform available 24h/24."
983
+ msgstr ""
984
+
985
+ #: ../plugin-options/settings-options.php:31
986
  msgid "General Options"
987
  msgstr ""
988
 
989
+ #: ../plugin-options/settings-options.php:39
990
  msgid "Enable Quick View"
991
  msgstr ""
992
 
993
+ #: ../plugin-options/settings-options.php:46
994
  msgid "Quick View Button Label"
995
  msgstr ""
996
 
997
+ #: ../plugin-options/settings-options.php:47
998
  msgid "Label for the quick view button in the WooCommerce loop."
999
  msgstr ""
1000
 
1001
+ #: ../plugin-options/settings-options.php:54
1002
  msgid "Enable Lightbox"
1003
  msgstr ""
1004
 
1005
+ #: ../plugin-options/settings-options.php:55
1006
  msgid "Enable lightbox. Product images will open in a lightbox."
1007
  msgstr ""
1008
 
1009
+ #: ../plugin-options/settings-options.php:66
1010
  msgid "Style Options"
1011
  msgstr ""
1012
 
1013
+ #: ../plugin-options/settings-options.php:73
1014
  msgid "Modal Window Background Color"
1015
  msgstr ""
1016
 
1017
+ #: ../plugin-options/settings-options.php:81
1018
  msgid "Closing Button Color"
1019
  msgstr ""
1020
 
1021
+ #: ../plugin-options/settings-options.php:89
1022
  msgid "Closing Button Hover Color"
1023
  msgstr ""
languages/yith-wcqv.pot CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Quick View\n"
4
- "POT-Creation-Date: 2015-02-17 16:34+0100\n"
5
- "PO-Revision-Date: 2015-02-17 16:34+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
8
  "Language: en\n"
@@ -17,7 +17,7 @@ msgstr ""
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: ..\n"
19
 
20
- #: ../class.yith-wcqv-admin.php:124 ../class.yith-wcqv-admin.php:146
21
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1048
22
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1196
23
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1202
@@ -25,20 +25,25 @@ msgstr ""
25
  msgid "Settings"
26
  msgstr ""
27
 
28
- #: ../class.yith-wcqv-admin.php:153 ../class.yith-wcqv-admin.php:154
29
- #: ../plugin-options/settings-options.php:26
 
 
 
 
30
  msgid "Quick View"
31
  msgstr ""
32
 
33
- #: ../class.yith-wcqv-admin.php:208
34
  msgid "Plugin Documentation"
35
  msgstr ""
36
 
37
- #: ../class.yith-wcqv-admin.php:225
 
38
  msgid "YITH WooCommerce Quick View"
39
  msgstr ""
40
 
41
- #: ../class.yith-wcqv-admin.php:226
42
  msgid ""
43
  "In the YIT Plugin tab you can find the YITH WooCommerce Quick View options.\n"
44
  "\t\t\t\t\t\t\t\t\t\tWith this menu, you can access to all the settings of "
@@ -189,7 +194,9 @@ msgid "Rewrite"
189
  msgstr ""
190
 
191
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1059
192
- msgid "Word used in the URL of each project (slug from post if empty)"
 
 
193
  msgstr ""
194
 
195
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1064
@@ -264,7 +271,7 @@ msgstr ""
264
  msgid "Add with multiupload"
265
  msgstr ""
266
 
267
- #: ../plugin-fw/lib/yit-plugin-panel-wc.php:303
268
  msgid "The changes you made will be lost if you leave this page."
269
  msgstr ""
270
 
@@ -302,8 +309,7 @@ msgid "Are you sure of it?"
302
  msgstr ""
303
 
304
  #: ../plugin-fw/lib/yit-plugin-panel.php:410
305
- msgid ""
306
- "The element you have written is already exists. Please, add another name."
307
  msgstr ""
308
 
309
  #: ../plugin-fw/lib/yit-plugin-panel.php:411
@@ -479,11 +485,11 @@ msgid "Invalid licence key"
479
  msgstr ""
480
 
481
  #: ../plugin-fw/licence/lib/yit-licence.php:531
482
- msgid "Software has been deactivate"
483
  msgstr ""
484
 
485
  #: ../plugin-fw/licence/lib/yit-licence.php:532
486
- msgid "Exceeded maximum number of activations"
487
  msgstr ""
488
 
489
  #: ../plugin-fw/licence/lib/yit-licence.php:533
@@ -668,7 +674,7 @@ msgstr ""
668
 
669
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:78
670
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:270
671
- msgid "Insert title for the field."
672
  msgstr ""
673
 
674
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:83
@@ -690,7 +696,7 @@ msgstr ""
690
 
691
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:100
692
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:292
693
- msgid "Select type for this field."
694
  msgstr ""
695
 
696
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:105
@@ -700,7 +706,7 @@ msgstr ""
700
 
701
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:109
702
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:301
703
- msgid "Select this if you want this field already checked."
704
  msgstr ""
705
 
706
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:114
@@ -727,7 +733,7 @@ msgstr ""
727
 
728
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:127
729
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:319
730
- msgid "Message Error"
731
  msgstr ""
732
 
733
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:131
@@ -742,12 +748,12 @@ msgstr ""
742
 
743
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:140
744
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:332
745
- msgid "Select this if it must be required."
746
  msgstr ""
747
 
748
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:149
749
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:341
750
- msgid "Select this if it must be a valid email."
751
  msgstr ""
752
 
753
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:154
@@ -886,10 +892,6 @@ msgstr ""
886
  msgid "No sidebar"
887
  msgstr ""
888
 
889
- #: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:28
890
- msgid "No sideabr"
891
- msgstr ""
892
-
893
  #: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:31
894
  #: ../plugin-fw/templates/metaboxes/types/sidebars.php:39
895
  msgid "Right sidebar"
@@ -956,41 +958,66 @@ msgid "Italic bold"
956
  msgstr ""
957
 
958
  #: ../plugin-options/settings-options.php:8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
959
  msgid "General Options"
960
  msgstr ""
961
 
962
- #: ../plugin-options/settings-options.php:16
963
  msgid "Enable Quick View"
964
  msgstr ""
965
 
966
- #: ../plugin-options/settings-options.php:23
967
  msgid "Quick View Button Label"
968
  msgstr ""
969
 
970
- #: ../plugin-options/settings-options.php:24
971
  msgid "Label for the quick view button in the WooCommerce loop."
972
  msgstr ""
973
 
974
- #: ../plugin-options/settings-options.php:31
975
  msgid "Enable Lightbox"
976
  msgstr ""
977
 
978
- #: ../plugin-options/settings-options.php:32
979
  msgid "Enable lightbox. Product images will open in a lightbox."
980
  msgstr ""
981
 
982
- #: ../plugin-options/settings-options.php:43
983
  msgid "Style Options"
984
  msgstr ""
985
 
986
- #: ../plugin-options/settings-options.php:50
987
  msgid "Modal Window Background Color"
988
  msgstr ""
989
 
990
- #: ../plugin-options/settings-options.php:58
991
  msgid "Closing Button Color"
992
  msgstr ""
993
 
994
- #: ../plugin-options/settings-options.php:66
995
  msgid "Closing Button Hover Color"
996
  msgstr ""
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: YITH Woocommerce Quick View\n"
4
+ "POT-Creation-Date: 2015-02-26 15:20+0100\n"
5
+ "PO-Revision-Date: 2015-02-26 15:21+0100\n"
6
  "Last-Translator: \n"
7
  "Language-Team: YIThemes <plugins@yithemes.com>\n"
8
  "Language: en\n"
17
  "X-Poedit-SourceCharset: UTF-8\n"
18
  "X-Poedit-SearchPath-0: ..\n"
19
 
20
+ #: ../class.yith-wcqv-admin.php:129 ../class.yith-wcqv-admin.php:151
21
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1048
22
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1196
23
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1202
25
  msgid "Settings"
26
  msgstr ""
27
 
28
+ #: ../class.yith-wcqv-admin.php:130 ../class.yith-wcqv-admin.php:152
29
+ msgid "Premium Version"
30
+ msgstr ""
31
+
32
+ #: ../class.yith-wcqv-admin.php:158 ../class.yith-wcqv-admin.php:159
33
+ #: ../plugin-options/settings-options.php:49
34
  msgid "Quick View"
35
  msgstr ""
36
 
37
+ #: ../class.yith-wcqv-admin.php:213
38
  msgid "Plugin Documentation"
39
  msgstr ""
40
 
41
+ #: ../class.yith-wcqv-admin.php:230 ../plugin-options/settings-options.php:11
42
+ #: ../plugin-options/settings-options.php:18
43
  msgid "YITH WooCommerce Quick View"
44
  msgstr ""
45
 
46
+ #: ../class.yith-wcqv-admin.php:231
47
  msgid ""
48
  "In the YIT Plugin tab you can find the YITH WooCommerce Quick View options.\n"
49
  "\t\t\t\t\t\t\t\t\t\tWith this menu, you can access to all the settings of "
194
  msgstr ""
195
 
196
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1059
197
+ msgid ""
198
+ "Univocal identification name in the URL for each product (slug from post if "
199
+ "empty)"
200
  msgstr ""
201
 
202
  #: ../plugin-fw/lib/yit-cpt-unlimited.php:1064
271
  msgid "Add with multiupload"
272
  msgstr ""
273
 
274
+ #: ../plugin-fw/lib/yit-plugin-panel-wc.php:325
275
  msgid "The changes you made will be lost if you leave this page."
276
  msgstr ""
277
 
309
  msgstr ""
310
 
311
  #: ../plugin-fw/lib/yit-plugin-panel.php:410
312
+ msgid "The element you have written already exists. Please, add another name."
 
313
  msgstr ""
314
 
315
  #: ../plugin-fw/lib/yit-plugin-panel.php:411
485
  msgstr ""
486
 
487
  #: ../plugin-fw/licence/lib/yit-licence.php:531
488
+ msgid "Software has been deactivated"
489
  msgstr ""
490
 
491
  #: ../plugin-fw/licence/lib/yit-licence.php:532
492
+ msgid "Maximum number of activations exceeded"
493
  msgstr ""
494
 
495
  #: ../plugin-fw/licence/lib/yit-licence.php:533
674
 
675
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:78
676
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:270
677
+ msgid "Insert the title for the field."
678
  msgstr ""
679
 
680
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:83
696
 
697
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:100
698
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:292
699
+ msgid "Select the type for this field."
700
  msgstr ""
701
 
702
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:105
706
 
707
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:109
708
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:301
709
+ msgid "Select this option if you want this field appears as already checked."
710
  msgstr ""
711
 
712
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:114
733
 
734
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:127
735
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:319
736
+ msgid "Error Message"
737
  msgstr ""
738
 
739
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:131
748
 
749
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:140
750
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:332
751
+ msgid "Select this option if it must be required."
752
  msgstr ""
753
 
754
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:149
755
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:341
756
+ msgid "Select this option if the email must be valid."
757
  msgstr ""
758
 
759
  #: ../plugin-fw/templates/metaboxes/types/contactform.php:154
892
  msgid "No sidebar"
893
  msgstr ""
894
 
 
 
 
 
895
  #: ../plugin-fw/templates/metaboxes/types/sidebar-layout.php:31
896
  #: ../plugin-fw/templates/metaboxes/types/sidebars.php:39
897
  msgid "Right sidebar"
958
  msgstr ""
959
 
960
  #: ../plugin-options/settings-options.php:8
961
+ msgid "Upgrade to the PREMIUM VERSION"
962
+ msgstr ""
963
+
964
+ #: ../plugin-options/settings-options.php:12
965
+ msgid "Discover the Advanced Features"
966
+ msgstr ""
967
+
968
+ #: ../plugin-options/settings-options.php:13
969
+ msgid ""
970
+ "Upgrade to the PREMIUM VERSION of YITH WooCommerce Quick View to benefit "
971
+ "from all features!"
972
+ msgstr ""
973
+
974
+ #: ../plugin-options/settings-options.php:20
975
+ msgid "Get Support and Pro Features"
976
+ msgstr ""
977
+
978
+ #: ../plugin-options/settings-options.php:21
979
+ msgid ""
980
+ "By purchasing the premium version of the plugin, you will take advantage of "
981
+ "the advanced features of the product and you will get one year of free "
982
+ "updates and support through our platform available 24h/24."
983
+ msgstr ""
984
+
985
+ #: ../plugin-options/settings-options.php:31
986
  msgid "General Options"
987
  msgstr ""
988
 
989
+ #: ../plugin-options/settings-options.php:39
990
  msgid "Enable Quick View"
991
  msgstr ""
992
 
993
+ #: ../plugin-options/settings-options.php:46
994
  msgid "Quick View Button Label"
995
  msgstr ""
996
 
997
+ #: ../plugin-options/settings-options.php:47
998
  msgid "Label for the quick view button in the WooCommerce loop."
999
  msgstr ""
1000
 
1001
+ #: ../plugin-options/settings-options.php:54
1002
  msgid "Enable Lightbox"
1003
  msgstr ""
1004
 
1005
+ #: ../plugin-options/settings-options.php:55
1006
  msgid "Enable lightbox. Product images will open in a lightbox."
1007
  msgstr ""
1008
 
1009
+ #: ../plugin-options/settings-options.php:66
1010
  msgid "Style Options"
1011
  msgstr ""
1012
 
1013
+ #: ../plugin-options/settings-options.php:73
1014
  msgid "Modal Window Background Color"
1015
  msgstr ""
1016
 
1017
+ #: ../plugin-options/settings-options.php:81
1018
  msgid "Closing Button Color"
1019
  msgstr ""
1020
 
1021
+ #: ../plugin-options/settings-options.php:89
1022
  msgid "Closing Button Hover Color"
1023
  msgstr ""
plugin-fw/assets/css/yit-plugin-panel.css CHANGED
@@ -144,7 +144,7 @@
144
  width: 100%!important;
145
  }
146
 
147
- /* === Chosen Customizzation === */
148
 
149
  .yith-choosen .chosen-choices {
150
  line-height: 27px;
@@ -180,6 +180,22 @@
180
  background-color: #FAFAFA;
181
  }
182
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
 
184
  /* Style to woocommerce panel*/
185
  #plugin-fw-wc{
144
  width: 100%!important;
145
  }
146
 
147
+ /* === Multiple Chosen Customizzation === */
148
 
149
  .yith-choosen .chosen-choices {
150
  line-height: 27px;
180
  background-color: #FAFAFA;
181
  }
182
 
183
+ /* === Single Chosen Customizzation === */
184
+
185
+ .yith-choosen .chosen-container-single .chosen-default {
186
+ background: transparent;
187
+ border-color: #ddd;
188
+ }
189
+
190
+ .yith-choosen .chosen-search > input[type=text]{
191
+ width: 100% !important;
192
+ }
193
+
194
+ .yith-choosen .chosen-container-single .chosen-single {
195
+ background: transparent;
196
+ border-color: #ddd;
197
+ }
198
+
199
 
200
  /* Style to woocommerce panel*/
201
  #plugin-fw-wc{
plugin-fw/lib/yit-cpt-unlimited.php CHANGED
@@ -1056,7 +1056,7 @@ class YIT_CPT_Unlimited {
1056
 
1057
  'rewrite' => array(
1058
  'label' => __( 'Rewrite', 'yit' ),
1059
- 'desc' => __( 'Word used in the URL of each project (slug from post if empty)', 'yit' ),
1060
  'type' => 'text',
1061
  'std' => '' ),
1062
 
1056
 
1057
  'rewrite' => array(
1058
  'label' => __( 'Rewrite', 'yit' ),
1059
+ 'desc' => __( 'Univocal identification name in the URL for each product (slug from post if empty)', 'yit' ),
1060
  'type' => 'text',
1061
  'std' => '' ),
1062
 
plugin-fw/lib/yit-plugin-panel-wc.php CHANGED
@@ -63,6 +63,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
63
  add_action( 'admin_bar_menu', array( $this, 'add_admin_bar_menu' ), 100 );
64
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
65
  add_action( 'admin_init', array( $this, 'woocommerce_update_options' ) );
 
66
 
67
  add_action( 'woocommerce_admin_field_boxinfo', array( $this, 'yit_boxinfo' ), 10, 1 );
68
  add_action( 'woocommerce_admin_field_videobox', array( $this, 'yit_videobox' ), 10, 1 );
@@ -157,6 +158,27 @@ if ( ! class_exists( 'YIT_Plugin_Panel_WooCommerce' ) ) {
157
  }
158
  }
159
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  /**
161
  * Returns current active tab slug
162
  *
63
  add_action( 'admin_bar_menu', array( $this, 'add_admin_bar_menu' ), 100 );
64
  add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) );
65
  add_action( 'admin_init', array( $this, 'woocommerce_update_options' ) );
66
+ add_filter( 'woocommerce_screen_ids', array( $this, 'add_allowed_screen_id' ) );
67
 
68
  add_action( 'woocommerce_admin_field_boxinfo', array( $this, 'yit_boxinfo' ), 10, 1 );
69
  add_action( 'woocommerce_admin_field_videobox', array( $this, 'yit_videobox' ), 10, 1 );
158
  }
159
  }
160
 
161
+ /**
162
+ * Add the plugin woocommerce page settings in the screen ids of woocommerce
163
+ *
164
+ * @param $screen_ids
165
+ *
166
+ * @return mixed
167
+ * @since 1.0.0
168
+ * @author Antonino Scarfì <antonino.scarfi@yithemes.com>
169
+ */
170
+ public function add_allowed_screen_id( $screen_ids ) {
171
+ global $admin_page_hooks;
172
+
173
+ if ( ! isset( $admin_page_hooks[ $this->settings['parent_page'] ] ) ) {
174
+ return $screen_ids;
175
+ }
176
+
177
+ $screen_ids[] = $admin_page_hooks[ $this->settings['parent_page'] ] . '_page_' . $this->settings['page'];
178
+
179
+ return $screen_ids;
180
+ }
181
+
182
  /**
183
  * Returns current active tab slug
184
  *
plugin-fw/lib/yit-plugin-panel.php CHANGED
@@ -407,7 +407,7 @@ if ( ! class_exists( 'YIT_Plugin_Panel' ) ) {
407
  public function message() {
408
 
409
  $message = array(
410
- 'element_exists' => $this->get_message( '<strong>' . __( 'The element you have written is already exists. Please, add another name.', 'yit' ) . '</strong>', 'error', false ),
411
  'saved' => $this->get_message( '<strong>' . __( 'Settings saved', 'yit' ) . '.</strong>', 'updated', false ),
412
  'reset' => $this->get_message( '<strong>' . __( 'Settings reset', 'yit' ) . '.</strong>', 'updated', false ),
413
  'delete' => $this->get_message( '<strong>' . __( 'Element deleted correctly.', 'yit' ) . '</strong>', 'updated', false ),
407
  public function message() {
408
 
409
  $message = array(
410
+ 'element_exists' => $this->get_message( '<strong>' . __( 'The element you have written already exists. Please, add another name.', 'yit' ) . '</strong>', 'error', false ),
411
  'saved' => $this->get_message( '<strong>' . __( 'Settings saved', 'yit' ) . '.</strong>', 'updated', false ),
412
  'reset' => $this->get_message( '<strong>' . __( 'Settings reset', 'yit' ) . '.</strong>', 'updated', false ),
413
  'delete' => $this->get_message( '<strong>' . __( 'Element deleted correctly.', 'yit' ) . '</strong>', 'updated', false ),
plugin-fw/licence/lib/yit-licence.php CHANGED
@@ -528,8 +528,8 @@ if ( ! class_exists( 'YIT_Licence' ) ) {
528
  $error_strings = array(
529
  '100' => __( 'Invalid Request', 'yit' ),
530
  '101' => __( 'Invalid licence key', 'yit' ),
531
- '102' => __( 'Software has been deactivate', 'yit' ),
532
- '103' => __( 'Exceeded maximum number of activations', 'yit' ),
533
  '104' => __( 'Invalid instance ID', 'yit' ),
534
  '105' => __( 'Invalid security key', 'yit' ),
535
  '106' => __( 'Licence key has expired', 'yit' ),
528
  $error_strings = array(
529
  '100' => __( 'Invalid Request', 'yit' ),
530
  '101' => __( 'Invalid licence key', 'yit' ),
531
+ '102' => __( 'Software has been deactivated', 'yit' ),
532
+ '103' => __( 'Maximum number of activations exceeded', 'yit' ),
533
  '104' => __( 'Invalid instance ID', 'yit' ),
534
  '105' => __( 'Invalid security key', 'yit' ),
535
  '106' => __( 'Licence key has expired', 'yit' ),
plugin-fw/templates/metaboxes/types/contactform.php CHANGED
@@ -75,7 +75,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
75
 
76
  <p>
77
  <input type="text" value="<?php echo esc_attr( $value[$index]['title'] ) ?>" id="<?php echo $id ?>_title_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][title]" />
78
- <span class="desc inline"><?php _e( 'Insert title for the field.', 'yit' ) ?></span>
79
  </p>
80
  </div>
81
 
@@ -97,7 +97,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
97
  <option value="<?php echo esc_attr( $type ) ?>"<?php selected( $type, $value[$index]['type'] ) ?>><?php echo $name_type ?></option>
98
  <?php endforeach; ?>
99
  </select>
100
- <span class="desc inline"><?php _e( 'Select type for this field.', 'yit' ) ?></span>
101
  </p>
102
  </div>
103
 
@@ -106,7 +106,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
106
 
107
  <p>
108
  <input type="checkbox" id="<?php echo $id ?>_already_checked_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][already_checked]" value="1"<?php checked( $value[$index]['already_checked'] ) ?> />
109
- <span class="desc inline"><?php _e( 'Select this if you want this field already checked.', 'yit' ) ?></span>
110
  </p>
111
  </div>
112
 
@@ -124,7 +124,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
124
  </div>
125
 
126
  <div class="the-metabox text clearfix">
127
- <label for="<?php echo $id ?>_error_<?php echo $index ?>"><?php _e( 'Message Error', 'yit' ) ?></label>
128
 
129
  <p>
130
  <input type="text" value="<?php echo esc_attr( $value[$index]['error'] ) ?>" id="<?php echo $id ?>_error_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][error]" />
@@ -137,7 +137,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
137
 
138
  <p>
139
  <input type="checkbox" id="<?php echo $id ?>_required_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][required]" value="1"<?php checked( $value[$index]['required'] ) ?> />
140
- <span class="desc inline"><?php _e( 'Select this if it must be required.', 'yit' ) ?></span>
141
  </p>
142
  </div>
143
 
@@ -146,7 +146,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
146
 
147
  <p>
148
  <input type="checkbox" id="<?php echo $id ?>_is_email_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][is_email]" value="1"<?php checked( $value[$index]['is_email'] ) ?> />
149
- <span class="desc inline"><?php _e( 'Select this if it must be a valid email.', 'yit' ) ?></span>
150
  </p>
151
  </div>
152
 
@@ -267,7 +267,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
267
 
268
  <p>
269
  <input disabled type="text" value="" id="<?php echo $id ?>_title" name="<?php echo $name ?>[][title]" />
270
- <span class="desc inline"><?php _e( 'Insert title for the field.', 'yit' ) ?></span>
271
  </p>
272
  </div>
273
 
@@ -289,7 +289,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
289
  <option value="<?php echo esc_attr( $type ) ?>"><?php echo $name_type ?></option>
290
  <?php endforeach; ?>
291
  </select>
292
- <span class="desc inline"><?php _e( 'Select type for this field.', 'yit' ) ?></span>
293
  </p>
294
  </div>
295
 
@@ -298,7 +298,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
298
 
299
  <p>
300
  <input disabled type="checkbox" id="<?php echo $id ?>_already_checked" name="<?php echo $name ?>[][already_checked]" value="1" />
301
- <span class="desc inline"><?php _e( 'Select this if you want this field already checked.', 'yit' ) ?></span>
302
  </p>
303
  </div>
304
 
@@ -316,7 +316,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
316
  </div>
317
 
318
  <div class="the-metabox text clearfix">
319
- <label for="<?php echo $id ?>_error"><?php _e( 'Message Error', 'yit' ) ?></label>
320
 
321
  <p>
322
  <input disabled type="text" value="" id="<?php echo $id ?>_error" name="<?php echo $name ?>[][error]" />
@@ -329,7 +329,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
329
 
330
  <p>
331
  <input disabled type="checkbox" id="<?php echo $id ?>_required" name="<?php echo $name ?>[][required]" value="1" />
332
- <span class="desc inline"><?php _e( 'Select this if it must be required.', 'yit' ) ?></span>
333
  </p>
334
  </div>
335
 
@@ -338,7 +338,7 @@ $options["icon"] = YIT_Plugin_Common::get_awesome_icons();
338
 
339
  <p>
340
  <input disabled type="checkbox" id="<?php echo $id ?>_is_email" name="<?php echo $name ?>[][is_email]" value="1" />
341
- <span class="desc inline"><?php _e( 'Select this if it must be a valid email.', 'yit' ) ?></span>
342
  </p>
343
  </div>
344
 
75
 
76
  <p>
77
  <input type="text" value="<?php echo esc_attr( $value[$index]['title'] ) ?>" id="<?php echo $id ?>_title_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][title]" />
78
+ <span class="desc inline"><?php _e( 'Insert the title for the field.', 'yit' ) ?></span>
79
  </p>
80
  </div>
81
 
97
  <option value="<?php echo esc_attr( $type ) ?>"<?php selected( $type, $value[$index]['type'] ) ?>><?php echo $name_type ?></option>
98
  <?php endforeach; ?>
99
  </select>
100
+ <span class="desc inline"><?php _e( 'Select the type for this field.', 'yit' ) ?></span>
101
  </p>
102
  </div>
103
 
106
 
107
  <p>
108
  <input type="checkbox" id="<?php echo $id ?>_already_checked_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][already_checked]" value="1"<?php checked( $value[$index]['already_checked'] ) ?> />
109
+ <span class="desc inline"><?php _e( 'Select this option if you want this field appears as already checked.', 'yit' ) ?></span>
110
  </p>
111
  </div>
112
 
124
  </div>
125
 
126
  <div class="the-metabox text clearfix">
127
+ <label for="<?php echo $id ?>_error_<?php echo $index ?>"><?php _e( 'Error Message', 'yit' ) ?></label>
128
 
129
  <p>
130
  <input type="text" value="<?php echo esc_attr( $value[$index]['error'] ) ?>" id="<?php echo $id ?>_error_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][error]" />
137
 
138
  <p>
139
  <input type="checkbox" id="<?php echo $id ?>_required_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][required]" value="1"<?php checked( $value[$index]['required'] ) ?> />
140
+ <span class="desc inline"><?php _e( 'Select this option if it must be required.', 'yit' ) ?></span>
141
  </p>
142
  </div>
143
 
146
 
147
  <p>
148
  <input type="checkbox" id="<?php echo $id ?>_is_email_<?php echo $index ?>" name="<?php echo $name ?>[<?php echo $index ?>][is_email]" value="1"<?php checked( $value[$index]['is_email'] ) ?> />
149
+ <span class="desc inline"><?php _e( 'Select this option if the email must be valid.', 'yit' ) ?></span>
150
  </p>
151
  </div>
152
 
267
 
268
  <p>
269
  <input disabled type="text" value="" id="<?php echo $id ?>_title" name="<?php echo $name ?>[][title]" />
270
+ <span class="desc inline"><?php _e( 'Insert the title for the field.', 'yit' ) ?></span>
271
  </p>
272
  </div>
273
 
289
  <option value="<?php echo esc_attr( $type ) ?>"><?php echo $name_type ?></option>
290
  <?php endforeach; ?>
291
  </select>
292
+ <span class="desc inline"><?php _e( 'Select the type for this field.', 'yit' ) ?></span>
293
  </p>
294
  </div>
295
 
298
 
299
  <p>
300
  <input disabled type="checkbox" id="<?php echo $id ?>_already_checked" name="<?php echo $name ?>[][already_checked]" value="1" />
301
+ <span class="desc inline"><?php _e( 'Select this option if you want this field appears as already checked.', 'yit' ) ?></span>
302
  </p>
303
  </div>
304
 
316
  </div>
317
 
318
  <div class="the-metabox text clearfix">
319
+ <label for="<?php echo $id ?>_error"><?php _e( 'Error Message', 'yit' ) ?></label>
320
 
321
  <p>
322
  <input disabled type="text" value="" id="<?php echo $id ?>_error" name="<?php echo $name ?>[][error]" />
329
 
330
  <p>
331
  <input disabled type="checkbox" id="<?php echo $id ?>_required" name="<?php echo $name ?>[][required]" value="1" />
332
+ <span class="desc inline"><?php _e( 'Select this option if it must be required.', 'yit' ) ?></span>
333
  </p>
334
  </div>
335
 
338
 
339
  <p>
340
  <input disabled type="checkbox" id="<?php echo $id ?>_is_email" name="<?php echo $name ?>[][is_email]" value="1" />
341
+ <span class="desc inline"><?php _e( 'Select this option if the email must be valid.', 'yit' ) ?></span>
342
  </p>
343
  </div>
344
 
plugin-fw/templates/metaboxes/types/sidebar-layout.php CHANGED
@@ -25,7 +25,7 @@ $sidebar = ! isset( $value['sidebar'] ) ? '' : $value['sidebar'];
25
  <img src="<?php echo YIT_CORE_ASSETS_URL ?>/images/sideleft.png" title="<?php _e( 'Left sidebar', 'yit' ) ?>" alt="<?php _e( 'Left sidebar', 'yit' ) ?>" />
26
 
27
  <input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-no' ?>" value="sidebar-no" <?php checked( $layout, 'sidebar-no' ) ?> />
28
- <img src="<?php echo YIT_CORE_ASSETS_URL ?>/images/noside.png" title="<?php _e( 'No sidebar', 'yit' ) ?>" alt="<?php _e( 'No sideabr', 'yit' ) ?>" />
29
 
30
  <input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-right' ?>" value="sidebar-right" <?php checked( $layout, 'sidebar-right' ) ?> />
31
  <img src="<?php echo YIT_CORE_ASSETS_URL ?>/images/sideright.png" title="<?php _e( 'Right sidebar', 'yit' ) ?>" alt="<?php _e( 'Right sidebar', 'yit' ) ?>" />
25
  <img src="<?php echo YIT_CORE_ASSETS_URL ?>/images/sideleft.png" title="<?php _e( 'Left sidebar', 'yit' ) ?>" alt="<?php _e( 'Left sidebar', 'yit' ) ?>" />
26
 
27
  <input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-no' ?>" value="sidebar-no" <?php checked( $layout, 'sidebar-no' ) ?> />
28
+ <img src="<?php echo YIT_CORE_ASSETS_URL ?>/images/noside.png" title="<?php _e( 'No sidebar', 'yit' ) ?>" alt="<?php _e( 'No sidebar', 'yit' ) ?>" />
29
 
30
  <input type="radio" name="<?php echo $name ?>[layout]" id="<?php echo $id . '-right' ?>" value="sidebar-right" <?php checked( $layout, 'sidebar-right' ) ?> />
31
  <img src="<?php echo YIT_CORE_ASSETS_URL ?>/images/sideright.png" title="<?php _e( 'Right sidebar', 'yit' ) ?>" alt="<?php _e( 'Right sidebar', 'yit' ) ?>" />
plugin-options/premium-options.php CHANGED
@@ -3,7 +3,8 @@
3
  return array(
4
  'premium' => array(
5
  'home' => array(
6
-
 
7
  )
8
  )
9
  );
3
  return array(
4
  'premium' => array(
5
  'home' => array(
6
+ 'type' => 'custom_tab',
7
+ 'action' => 'yith_quick_view_premium'
8
  )
9
  )
10
  );
plugin-options/settings-options.php CHANGED
@@ -4,6 +4,29 @@ $settings = array(
4
 
5
  'settings' => array(
6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
  'general-options' => array(
8
  'title' => __( 'General Options', 'yith-wcqv' ),
9
  'type' => 'title',
4
 
5
  'settings' => array(
6
 
7
+ 'section_general_settings_videobox' => array(
8
+ 'name' => __( 'Upgrade to the PREMIUM VERSION', 'yith-wcqv' ),
9
+ 'type' => 'videobox',
10
+ 'default' => array(
11
+ 'plugin_name' => __( 'YITH WooCommerce Quick View', 'yith-wcqv' ),
12
+ 'title_first_column' => __( 'Discover the Advanced Features', 'yith-wcqv' ),
13
+ 'description_first_column' => __('Upgrade to the PREMIUM VERSION of YITH WooCommerce Quick View to benefit from all features!', 'yith-wcqv'),
14
+
15
+ 'video' => array(
16
+ 'video_id' => '120573971',
17
+ 'video_image_url' => YITH_WCQV_ASSETS_URL.'/image/video-yith-woocommerce-quick-view.jpg',
18
+ 'video_description' => __( 'YITH WooCommerce Quick View', 'yith-wcqv' ),
19
+ ),
20
+ 'title_second_column' => __( 'Get Support and Pro Features', 'yith-wcqv' ),
21
+ '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-wcqv' ),
22
+ 'button' => array(
23
+ 'href' => 'http://yithemes.com/themes/plugins/yith-woocommerce-quick-view/',
24
+ 'title' => 'Get Support and Pro Features'
25
+ )
26
+ ),
27
+ 'id' => 'yith_wcqv_general_videobox'
28
+ ),
29
+
30
  'general-options' => array(
31
  'title' => __( 'General Options', 'yith-wcqv' ),
32
  'type' => 'title',
templates/admin/premium.php ADDED
@@ -0,0 +1,342 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <style>
2
+ .section{
3
+ margin-left: -20px;
4
+ margin-right: -20px;
5
+ font-family: "Raleway",san-serif;
6
+ }
7
+ .section h1{
8
+ text-align: center;
9
+ text-transform: uppercase;
10
+ color: #808a97;
11
+ font-size: 35px;
12
+ font-weight: 700;
13
+ line-height: normal;
14
+ display: inline-block;
15
+ width: 100%;
16
+ margin: 50px 0 0;
17
+ }
18
+ .section:nth-child(even){
19
+ background-color: #fff;
20
+ }
21
+ .section:nth-child(odd){
22
+ background-color: #f1f1f1;
23
+ }
24
+ .section .section-title img{
25
+ display: table-cell;
26
+ vertical-align: middle;
27
+ width: auto;
28
+ margin-right: 15px;
29
+ }
30
+ .section h2,
31
+ .section h3 {
32
+ display: inline-block;
33
+ vertical-align: middle;
34
+ padding: 0;
35
+ font-size: 24px;
36
+ font-weight: 700;
37
+ color: #808a97;
38
+ text-transform: uppercase;
39
+ }
40
+
41
+ .section .section-title h2{
42
+ display: table-cell;
43
+ vertical-align: middle;
44
+ }
45
+
46
+ .section-title{
47
+ display: table;
48
+ }
49
+
50
+ .section h3 {
51
+ font-size: 14px;
52
+ line-height: 28px;
53
+ margin-bottom: 0;
54
+ display: block;
55
+ }
56
+
57
+ .section p{
58
+ font-size: 13px;
59
+ margin: 25px 0;
60
+ }
61
+ .section ul li{
62
+ margin-bottom: 4px;
63
+ }
64
+ .landing-container{
65
+ max-width: 750px;
66
+ margin-left: auto;
67
+ margin-right: auto;
68
+ padding: 50px 0 30px;
69
+ }
70
+ .landing-container:after{
71
+ display: block;
72
+ clear: both;
73
+ content: '';
74
+ }
75
+ .landing-container .col-1,
76
+ .landing-container .col-2{
77
+ float: left;
78
+ box-sizing: border-box;
79
+ padding: 0 15px;
80
+ }
81
+ .landing-container .col-1 img{
82
+ width: 100%;
83
+ }
84
+ .landing-container .col-1{
85
+ width: 55%;
86
+ }
87
+ .landing-container .col-2{
88
+ width: 45%;
89
+ }
90
+ .premium-cta{
91
+ background-color: #808a97;
92
+ color: #fff;
93
+ border-radius: 6px;
94
+ padding: 20px 15px;
95
+ }
96
+ .premium-cta:after{
97
+ content: '';
98
+ display: block;
99
+ clear: both;
100
+ }
101
+ .premium-cta p{
102
+ margin: 7px 0;
103
+ font-size: 14px;
104
+ font-weight: 500;
105
+ display: inline-block;
106
+ width: 60%;
107
+ }
108
+ .premium-cta a.button{
109
+ border-radius: 6px;
110
+ height: 60px;
111
+ float: right;
112
+ background: url(<?php echo YITH_WCQV_ASSETS_URL?>/image/upgrade.png) #ff643f no-repeat 13px 13px;
113
+ border-color: #ff643f;
114
+ box-shadow: none;
115
+ outline: none;
116
+ color: #fff;
117
+ position: relative;
118
+ padding: 9px 50px 9px 70px;
119
+ }
120
+ .premium-cta a.button:hover,
121
+ .premium-cta a.button:active,
122
+ .premium-cta a.button:focus{
123
+ color: #fff;
124
+ background: url(<?php echo YITH_WCQV_ASSETS_URL?>/image/upgrade.png) #971d00 no-repeat 13px 13px;
125
+ border-color: #971d00;
126
+ box-shadow: none;
127
+ outline: none;
128
+ }
129
+ .premium-cta a.button:focus{
130
+ top: 1px;
131
+ }
132
+ .premium-cta a.button span{
133
+ line-height: 13px;
134
+ }
135
+ .premium-cta a.button .highlight{
136
+ display: block;
137
+ font-size: 20px;
138
+ font-weight: 700;
139
+ line-height: 20px;
140
+ }
141
+ .premium-cta .highlight{
142
+ text-transform: uppercase;
143
+ background: none;
144
+ font-weight: 800;
145
+ color: #fff;
146
+ }
147
+
148
+ @media (max-width: 768px) {
149
+ .section{margin: 0}
150
+ .premium-cta p{
151
+ width: 100%;
152
+ }
153
+ .premium-cta{
154
+ text-align: center;
155
+ }
156
+ .premium-cta a.button{
157
+ float: none;
158
+ }
159
+ .section .section-title h2{
160
+ display: block;
161
+ margin-top: 15px;
162
+ }
163
+ }
164
+
165
+ @media (max-width: 480px){
166
+ .wrap{
167
+ margin-right: 0;
168
+ }
169
+ .section{
170
+ margin: 0;
171
+ }
172
+ .landing-container .col-1,
173
+ .landing-container .col-2{
174
+ width: 100%;
175
+ padding: 0 15px;
176
+ }
177
+ .section-odd .col-1 {
178
+ float: left;
179
+ margin-right: -100%;
180
+ }
181
+ .section-odd .col-2 {
182
+ float: right;
183
+ margin-top: 100%;
184
+ }
185
+ .section-even .landing-container .col-1{
186
+ margin-bottom: 26px;
187
+ }
188
+ }
189
+
190
+ @media (max-width: 320px){
191
+ .premium-cta a.button{
192
+ padding: 9px 20px 9px 70px;
193
+ }
194
+
195
+ .section .section-title img{
196
+ display: none;
197
+ }
198
+ }
199
+ </style>
200
+ <div class="landing">
201
+ <div class="section section-cta section-odd">
202
+ <div class="landing-container">
203
+ <div class="premium-cta">
204
+ <p>
205
+ Upgrade to the <span class="highlight">premium version</span>
206
+ of <span class="highlight">YITH WooCommerce Quick View</span> to benefit from all features!
207
+ </p>
208
+ <a href="http://yithemes.com/themes/plugins/yith-woocommerce-quick-view/" target="_blank" class="premium-cta-button button btn">
209
+ <span class="highlight">UPGRADE</span>
210
+ <span>to the premium version</span>
211
+ </a>
212
+ </div>
213
+ </div>
214
+ </div>
215
+ <div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/01-bg.png) no-repeat #fff; background-position: 85% 75%">
216
+ <h1>Premium Features</h1>
217
+ <div class="landing-container">
218
+ <div class="col-1">
219
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/01.png" alt="Review Title" />
220
+ </div>
221
+ <div class="col-2">
222
+ <div class="section-title">
223
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/01-icon.png" alt="Review Title"/>
224
+ <h2>BUTTON TYPE</h2>
225
+ </div>
226
+ <p>Choose between the button or a custom icon to access the Quick View: you can choose to place it after the "Add To Cart" button or inside the thumbnail of the product.</p>
227
+ </div>
228
+ </div>
229
+ </div>
230
+ <div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/02-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
231
+ <div class="landing-container">
232
+ <div class="col-2">
233
+ <div class="section-title">
234
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/02-icon.png" alt="Attachment List" />
235
+ <h2>Product Navigation </h2>
236
+ </div>
237
+ <p>The navigation in the "Quick View" allows browsing between the products within the same category. The navigation arrows show on mousehover the image of the next/previous product.</p>
238
+ </div>
239
+ <div class="col-1">
240
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/02.png" alt="Attachment List" />
241
+ </div>
242
+ </div>
243
+ </div>
244
+ <div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/03-bg.png) no-repeat #fff; background-position: 85% 100%">
245
+ <div class="landing-container">
246
+ <div class="col-1">
247
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/03.png" alt="Vote the review" />
248
+ </div>
249
+ <div class="col-2">
250
+ <div class="section-title">
251
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/03-icon.png" alt="Vote the review" />
252
+ <h2>Content to display</h2>
253
+ </div>
254
+ <p>The display of the product information in the "Quick View" are managed by administrors who can decide whether to show everything or only a part of it.</p>
255
+ </div>
256
+ </div>
257
+ </div>
258
+ <div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/07-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
259
+ <div class="landing-container">
260
+ <div class="col-2">
261
+ <div class="section-title">
262
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/07-icon.png" alt="Attachment List" />
263
+ <h2>Quick View Type </h2>
264
+ </div>
265
+ <p>Quick view has two different displaying modes: the first one opens it as a modal window, the other one opens it in the page itself with a cascading effect above content page.</p>
266
+ </div>
267
+ <div class="col-1">
268
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/07.png" alt="Attachment List" />
269
+ </div>
270
+ </div>
271
+ </div>
272
+ <div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/08-bg.png) no-repeat #fff; background-position: 85% 100%">
273
+ <div class="landing-container">
274
+ <div class="col-1">
275
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/08.png" alt="Vote the review" />
276
+ </div>
277
+ <div class="col-2">
278
+ <div class="section-title">
279
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/08-icon.png" alt="Vote the review" />
280
+ <h2>“View details” button</h2>
281
+ </div>
282
+ <p>An additional button that allows users to access product detail page directly from quick view window just with a click of the mouse.</p>
283
+ </div>
284
+ </div>
285
+ </div>
286
+ <div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/04-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
287
+ <div class="landing-container">
288
+ <div class="col-2">
289
+ <div class="section-title">
290
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/04-icon.png" alt="Number" />
291
+ <h2>Type of product images</h2>
292
+ </div>
293
+ <p>Each product can have more than one image: choose whether to hide or show them with the slider effect or in the classic WooCommerce display.</p>
294
+ </div>
295
+ <div class="col-1">
296
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/04.png" alt="Number" />
297
+ </div>
298
+ </div>
299
+ </div>
300
+ <div class="section section-even clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/05-bg.png) no-repeat #fff; background-position: 85% 100%">
301
+ <div class="landing-container">
302
+ <div class="col-1">
303
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/05.png" alt="Filter by rating" />
304
+ </div>
305
+ <div class="col-2">
306
+ <div class="section-title">
307
+ <img src="<?php echo YITH_WCQV_ASSETS_URL?>/image/05-icon.png" alt="Filter by rating" />
308
+ <h2>SHARE</h2>
309
+ </div>
310
+ <p>Quick View is also social-friendly! Activating this option, you will be able to share the Quick View on Facebook, Twitter, Pinterest, Google+, or sending an email.</p>
311
+ </div>
312
+ </div>
313
+ </div>
314
+ <div class="section section-odd clear" style="background: url(<?php echo YITH_WCQV_ASSETS_URL ?>/image/06-bg.png) no-repeat #f1f1f1; background-position: 15% 100%">
315
+ <div class="landing-container">
316
+ <div class="col-2">
317
+ <div class="section-title">
318
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/06-icon.png" alt="Number" />
319
+ <h2>Style Options</h2>
320
+ </div>
321
+ <p>A rich option panel to change the colors of the "Quick View" button and of everything that is within the modal window generated. </p>
322
+ </div>
323
+ <div class="col-1">
324
+ <img src="<?php echo YITH_WCQV_ASSETS_URL ?>/image/06.png" alt="Number" />
325
+ </div>
326
+ </div>
327
+ </div>
328
+ <div class="section section-cta section-odd">
329
+ <div class="landing-container">
330
+ <div class="premium-cta">
331
+ <p>
332
+ Upgrade to the <span class="highlight">premium version</span>
333
+ of <span class="highlight">YITH WooCommerce Quick View</span> to benefit from all features!
334
+ </p>
335
+ <a href="http://yithemes.com/themes/plugins/yith-woocommerce-quick-view/" target="_blank" class="premium-cta-button button btn">
336
+ <span class="highlight">UPGRADE</span>
337
+ <span>to the premium version</span>
338
+ </a>
339
+ </div>
340
+ </div>
341
+ </div>
342
+ </div>
uninstall.php CHANGED
@@ -8,7 +8,8 @@
8
  */
9
 
10
  // If uninstall not called from WordPress exit
11
- if( !defined( 'WP_UNINSTALL_PLUGIN' ) )
12
- { exit; }
 
13
 
14
  global $wpdb;
8
  */
9
 
10
  // If uninstall not called from WordPress exit
11
+ if( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
12
+ exit;
13
+ }
14
 
15
  global $wpdb;