ThemeHunk Customizer - Version 2.5.4

Version Description

  • Big-store - Yith plugin added in big-store theme.
  • Big-store - Yith plugin make default and make wpc plugin second priority.
  • Big-store - Draft publish issue fixed.
  • Big-store - class and function redeclare issue fixed.
Download this release

Release Info

Developer themehunk
Plugin Icon 128x128 ThemeHunk Customizer
Version 2.5.4
Comparing to
See all releases

Code changes from version 2.5.3 to 2.5.4

big-store/big-store-admin/woo/big-store-admin.php CHANGED
@@ -7,7 +7,7 @@ if(!function_exists('big_store_product_query')){
7
  function big_store_product_query($term_id,$prdct_optn){
8
  $limit_product = get_theme_mod('big_store_prd_shw_no','20');
9
  // product filter
10
- $args = array('limit' => $limit_product, 'visibility' => 'catalog');
11
  if($term_id){
12
  $term_args = array('hide_empty' => 1,'slug' => $term_id);
13
  $product_categories = get_terms( 'product_cat', $term_args);
@@ -28,6 +28,7 @@ if(!function_exists('big_store_product_query')){
28
  }
29
 
30
 
 
31
  function big_store_product_slide_list_loop($term_id,$prdct_optn){
32
  $args = big_store_product_query($term_id,$prdct_optn);
33
  $products = wc_get_products( $args );
@@ -35,7 +36,7 @@ function big_store_product_slide_list_loop($term_id,$prdct_optn){
35
  foreach ($products as $product) {
36
  $pid = $product->get_id();
37
  ?>
38
- <div <?php post_class('product'); ?>>
39
  <div class="thunk-list">
40
  <div class="thunk-product-image">
41
  <a href="<?php echo get_permalink($pid); ?>" class="woocommerce-LoopProduct-link woocommerce-loop-product__link">
@@ -60,6 +61,7 @@ function big_store_product_slide_list_loop($term_id,$prdct_optn){
60
  }
61
  wp_reset_query();
62
  }
 
63
 
64
  /**********************************************
65
  //Funtion Category list show
@@ -153,13 +155,14 @@ if( $iPod || $iPhone ){
153
  /********************************/
154
  if(!function_exists('big_store_product_cat_filter_default_loop')){
155
  function big_store_product_cat_filter_default_loop($term_id,$prdct_optn){
 
156
  $args = big_store_product_query($term_id,$prdct_optn);
157
  $products = wc_get_products( $args );
158
  if (!empty($products)) {
159
  foreach ($products as $product) {
160
  $pid = $product->get_id();
161
  ?>
162
- <div <?php post_class('product'); ?>>
163
  <div class="thunk-product-wrap">
164
  <div class="thunk-product">
165
  <div class="thunk-product-image">
@@ -202,6 +205,9 @@ function big_store_product_cat_filter_default_loop($term_id,$prdct_optn){
202
  </div>
203
  <div class="thunk-product-content">
204
  <?php
 
 
 
205
  $rat_product = wc_get_product($pid);
206
  $rating_count = $rat_product->get_rating_count();
207
  $average = $rat_product->get_average_rating();
@@ -213,12 +219,10 @@ function big_store_product_cat_filter_default_loop($term_id,$prdct_optn){
213
  <div class="thunk-product-hover">
214
  <?php
215
  echo big_store_add_to_cart_url($product);
216
- if( class_exists( 'YITH_WCWL' ) && (! class_exists( 'WPCleverWoosw' ))){
217
- echo big_store_whish_list($pid);
218
- }
219
- if( ( class_exists( 'WPCleverWoosw' ))){
220
- echo do_shortcode('[woosw id='.$pid.']');
221
- }
222
  if(get_theme_mod( 'big_store_woo_quickview_enable', true )){
223
  ?>
224
  <div class="thunk-quickview">
@@ -228,13 +232,13 @@ function big_store_product_cat_filter_default_loop($term_id,$prdct_optn){
228
  </a>
229
  </span>
230
  </div>
231
- <?php }
232
- if( ( class_exists( 'YITH_Woocompare' )) && (! class_exists( 'WPCleverWooscp' ))){
233
- echo big_store_add_to_compare_fltr($pid);
 
 
234
  }
235
- if( ( class_exists( 'WPCleverWooscp' ))){
236
- echo do_shortcode('[wooscp id='.$pid.']');
237
- }
238
  ?>
239
 
240
  </div>
@@ -252,6 +256,7 @@ function big_store_product_cat_filter_default_loop($term_id,$prdct_optn){
252
 
253
  if(!function_exists('big_store_product_filter_loop')){
254
  function big_store_product_filter_loop($args){
 
255
  $products = wc_get_products( $args );
256
  if (!empty($products)) {
257
  foreach ($products as $product) {
@@ -316,6 +321,9 @@ function big_store_product_filter_loop($args){
316
  </div>
317
  <div class="thunk-product-content">
318
  <?php
 
 
 
319
  $rat_product = wc_get_product($pid);
320
  $rating_count = $rat_product->get_rating_count();
321
  $average = $rat_product->get_average_rating();
@@ -327,12 +335,11 @@ function big_store_product_filter_loop($args){
327
  <div class="thunk-product-hover">
328
  <?php
329
  echo big_store_add_to_cart_url($product);
330
- if( class_exists( 'YITH_WCWL' ) && (! class_exists( 'WPCleverWoosw' ))){
331
- echo big_store_whish_list($pid);
332
- }
333
- if( ( class_exists( 'WPCleverWoosw' ))){
334
- echo do_shortcode('[woosw id='.$pid.']');
335
- }
336
  if(get_theme_mod( 'big_store_woo_quickview_enable', true )){
337
  ?>
338
  <div class="thunk-quickview">
@@ -342,13 +349,12 @@ function big_store_product_filter_loop($args){
342
  </a>
343
  </span>
344
  </div>
345
- <?php }
346
- if( ( class_exists( 'YITH_Woocompare' )) && (! class_exists( 'WPCleverWooscp' ))){
347
- echo big_store_add_to_compare_fltr($pid);
 
348
  }
349
- if( ( class_exists( 'WPCleverWooscp' ))){
350
- echo do_shortcode('[wooscp id='.$pid.']');
351
- }
352
  ?>
353
 
354
  </div>
@@ -372,7 +378,7 @@ function big_store_product_list_filter_loop($args){
372
  foreach ($products as $product) {
373
  $pid = $product->get_id();
374
  ?>
375
- <div <?php post_class(); ?>>
376
  <div class="thunk-list">
377
  <div class="thunk-product-image">
378
  <a href="<?php echo get_permalink($pid); ?>" class="woocommerce-LoopProduct-link woocommerce-loop-product__link">
@@ -440,6 +446,7 @@ if ( ! function_exists( 'big_store_product_list_categories_slider' ) ) {
440
  }
441
 
442
  // cLASS To fetch cat image
 
443
  class Big_Store_List_Category_Images extends Walker_Category {
444
  function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
445
  $saved_data = get_term_meta( $category->term_id, 'thumbnail_id', true );
@@ -483,4 +490,5 @@ class Big_Store_List_Category_Images extends Walker_Category {
483
  $output .= "\t$link<br />\n";
484
  }
485
  }
 
486
  }
7
  function big_store_product_query($term_id,$prdct_optn){
8
  $limit_product = get_theme_mod('big_store_prd_shw_no','20');
9
  // product filter
10
+ $args = array('limit' => $limit_product, 'visibility' => 'catalog', 'status' => 'publish');
11
  if($term_id){
12
  $term_args = array('hide_empty' => 1,'slug' => $term_id);
13
  $product_categories = get_terms( 'product_cat', $term_args);
28
  }
29
 
30
 
31
+ if(!function_exists('big_store_product_slide_list_loop')){
32
  function big_store_product_slide_list_loop($term_id,$prdct_optn){
33
  $args = big_store_product_query($term_id,$prdct_optn);
34
  $products = wc_get_products( $args );
36
  foreach ($products as $product) {
37
  $pid = $product->get_id();
38
  ?>
39
+ <div <?php post_class('product',$pid); ?>>
40
  <div class="thunk-list">
41
  <div class="thunk-product-image">
42
  <a href="<?php echo get_permalink($pid); ?>" class="woocommerce-LoopProduct-link woocommerce-loop-product__link">
61
  }
62
  wp_reset_query();
63
  }
64
+ }
65
 
66
  /**********************************************
67
  //Funtion Category list show
155
  /********************************/
156
  if(!function_exists('big_store_product_cat_filter_default_loop')){
157
  function big_store_product_cat_filter_default_loop($term_id,$prdct_optn){
158
+ global $product;
159
  $args = big_store_product_query($term_id,$prdct_optn);
160
  $products = wc_get_products( $args );
161
  if (!empty($products)) {
162
  foreach ($products as $product) {
163
  $pid = $product->get_id();
164
  ?>
165
+ <div <?php post_class('product', $pid); ?>>
166
  <div class="thunk-product-wrap">
167
  <div class="thunk-product">
168
  <div class="thunk-product-image">
205
  </div>
206
  <div class="thunk-product-content">
207
  <?php
208
+ if (class_exists('TH_Variation_Swatches_Pro')) {
209
+ thvs_loop_available_attributes($product);
210
+ }
211
  $rat_product = wc_get_product($pid);
212
  $rating_count = $rat_product->get_rating_count();
213
  $average = $rat_product->get_average_rating();
219
  <div class="thunk-product-hover">
220
  <?php
221
  echo big_store_add_to_cart_url($product);
222
+
223
+ if ( function_exists('big_store_whish_list_both')){
224
+ big_store_whish_list_both($pid);
225
+ }
 
 
226
  if(get_theme_mod( 'big_store_woo_quickview_enable', true )){
227
  ?>
228
  <div class="thunk-quickview">
232
  </a>
233
  </span>
234
  </div>
235
+ <?php }
236
+
237
+
238
+ if ( function_exists('big_store_add_to_compare_fltr_both')){
239
+ big_store_add_to_compare_fltr_both($pid);
240
  }
241
+
 
 
242
  ?>
243
 
244
  </div>
256
 
257
  if(!function_exists('big_store_product_filter_loop')){
258
  function big_store_product_filter_loop($args){
259
+ global $product;
260
  $products = wc_get_products( $args );
261
  if (!empty($products)) {
262
  foreach ($products as $product) {
321
  </div>
322
  <div class="thunk-product-content">
323
  <?php
324
+ if (class_exists('TH_Variation_Swatches_Pro')) {
325
+ thvs_loop_available_attributes($product);
326
+ }
327
  $rat_product = wc_get_product($pid);
328
  $rating_count = $rat_product->get_rating_count();
329
  $average = $rat_product->get_average_rating();
335
  <div class="thunk-product-hover">
336
  <?php
337
  echo big_store_add_to_cart_url($product);
338
+ if ( function_exists('big_store_whish_list_both')){
339
+ big_store_whish_list_both($pid);
340
+ }
341
+
342
+
 
343
  if(get_theme_mod( 'big_store_woo_quickview_enable', true )){
344
  ?>
345
  <div class="thunk-quickview">
349
  </a>
350
  </span>
351
  </div>
352
+ <?php }
353
+
354
+ if ( function_exists('big_store_add_to_compare_fltr_both')){
355
+ big_store_add_to_compare_fltr_both($pid);
356
  }
357
+
 
 
358
  ?>
359
 
360
  </div>
378
  foreach ($products as $product) {
379
  $pid = $product->get_id();
380
  ?>
381
+ <div <?php post_class('product',$pid); ?>>
382
  <div class="thunk-list">
383
  <div class="thunk-product-image">
384
  <a href="<?php echo get_permalink($pid); ?>" class="woocommerce-LoopProduct-link woocommerce-loop-product__link">
446
  }
447
 
448
  // cLASS To fetch cat image
449
+ if(! class_exists('Big_Store_List_Category_Images')){
450
  class Big_Store_List_Category_Images extends Walker_Category {
451
  function start_el( &$output, $category, $depth = 0, $args = array(), $id = 0 ) {
452
  $saved_data = get_term_meta( $category->term_id, 'thumbnail_id', true );
490
  $output .= "\t$link<br />\n";
491
  }
492
  }
493
+ }
494
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Author URI: : https://www.themehunk.com/
4
  Tags: themehunk, customizer, oneline-lite,Testimonial,Team, service
5
  Requires at least: 5.5
6
  Tested up to: 5.8
7
- Stable tag: 2.5.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -29,6 +29,13 @@ Just upload the `themehunk-customizer.zip` to the `/wp-content/plugins/` directo
29
  == Screenshots ==
30
 
31
  == Changelog ==
 
 
 
 
 
 
 
32
  = 2.5.3 =
33
  * Jotshop - Ribbon section video issue resolved.
34
  * Jotshop - About me widget added.
4
  Tags: themehunk, customizer, oneline-lite,Testimonial,Team, service
5
  Requires at least: 5.5
6
  Tested up to: 5.8
7
+ Stable tag: 2.5.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
29
  == Screenshots ==
30
 
31
  == Changelog ==
32
+
33
+ = 2.5.4 =
34
+ * Big-store - Yith plugin added in big-store theme.
35
+ * Big-store - Yith plugin make default and make wpc plugin second priority.
36
+ * Big-store - Draft publish issue fixed.
37
+ * Big-store - class and function redeclare issue fixed.
38
+
39
  = 2.5.3 =
40
  * Jotshop - Ribbon section video issue resolved.
41
  * Jotshop - About me widget added.
themehunk-customizer.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: ThemeHunk Customizer
4
  Description: With the help of ThemeHunk unlimited addon you can add unlimited number of columns for services, Testimonial, and Team with color options for each.
5
- Version: 2.5.3
6
  Author: ThemeHunk
7
  Text Domain: themehunk-customizer
8
  Author URI: http://www.themehunk.com/
2
  /*
3
  Plugin Name: ThemeHunk Customizer
4
  Description: With the help of ThemeHunk unlimited addon you can add unlimited number of columns for services, Testimonial, and Team with color options for each.
5
+ Version: 2.5.4
6
  Author: ThemeHunk
7
  Text Domain: themehunk-customizer
8
  Author URI: http://www.themehunk.com/