Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.8.1 #174

Merged
merged 9 commits into from
Jan 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions admin/action-hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function wpt_configure_basic_part( $settings,$current_config_value,$field_name )
</tr>



<?php if( 'configuration_page' == $page ){ ?>
<tr>
<th>
<label class="wpt_label wpt_user_rating_notice" for="wpt_table_head_enable"><?php esc_html_e( 'Rating Notice', 'wpt_pro' );?></label>
Expand All @@ -193,7 +193,7 @@ function wpt_configure_basic_part( $settings,$current_config_value,$field_name )
<?php } ?>
</td>
</tr>

<?php } ?>



Expand Down
2 changes: 1 addition & 1 deletion assets/css/universal.css
Original file line number Diff line number Diff line change
Expand Up @@ -1274,7 +1274,7 @@ table.wpt_product_table tr.wpt_selected_tr .wpt_quantity{
font-style: italic;
}
.wpt_mobile_desc_part .wpt_for_product_desc {
display: inline-block;
/* display: inline-block; */
padding-right: 5px;
}
.wpt_for_product_desc.wpt_check {
Expand Down
13 changes: 10 additions & 3 deletions assets/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,18 @@

//Select2
if(typeof $('.wpt_product_table_wrapper .search_select').select2 === 'function' && $('.wpt_product_table_wrapper .search_select').length > 0 && WPT_DATA.select2 !== 'disable' ){
$('.wpt_product_table_wrapper .search_select.query').select2({//.query
placeholder: WPT_DATA.search_select_placeholder,
});
var select2Object = {};
if( WPT_DATA.search_select_placeholder !== '' ){
select2Object = {
placeholder: WPT_DATA.search_select_placeholder
};

}

$('.wpt_product_table_wrapper .search_select.query').select2(select2Object);

$('select.filter_select').select2();

}
var windowWidth = $(window).width();

Expand Down
3 changes: 1 addition & 2 deletions includes/items/description.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
<?php

the_content();
echo $product->get_description();
9 changes: 8 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://codecanyon.net/item/woo-product-table-pro/20676867?ref=Code
Tags: wc product table, wooproducttable,woocommerce product table, product table, wc table, quick order table, wholesale table, restaurants table
Requires at least: 4.0.0
Tested up to: 5.8.2
Stable tag: 3.0.7
Stable tag: 3.0.8
Requires PHP: 5.6
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -211,6 +211,13 @@ You can easily show specific category products. While creating new table click o

== Changelog ==

= 3.0.7 =
* Fixed: YITH Quote Request Premium button issue has been solved.
* Fixed: Auto Responsive - column label show hide issue solved.
* Fixed: Rating Notice issue solved.
* CSS issue solved
* Bug Fix

= 3.0.6 =
* Fixed: Fullwidth table issue has been fixed.

Expand Down
18 changes: 15 additions & 3 deletions templates/table-preview.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,30 @@
if ( have_posts() ) : while ( have_posts() ) : the_post();
$id = get_the_ID();
$title = get_the_title();


?>
<div class="wpt-preview-title">
<h2 class="wpt-preview-heading"><?php the_title(); ?></h2>
<b>Shortcode</b><br>
<input

<?php if( is_user_logged_in() ){ ?>
<b><?php echo esc_html__( 'Shortcode', 'wpt_pro' ); ?></b><br>
<input
class="wpt-preview-shortcode-input"
type="text"
value="<?php echo esc_attr( "[Product_Table id='{$id}' name='{$title}']" ); ?>"
readonly="readonly"
>
>


<?php } ?>



</div>
<?php


echo do_shortcode("[Product_Table id='{$id}']");
endwhile;
endif;
Expand Down
2 changes: 1 addition & 1 deletion woo-product-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
}

if( !defined( 'WPT_DEV_VERSION' ) ){
define( 'WPT_DEV_VERSION', '3.0.8.0' );
define( 'WPT_DEV_VERSION', '3.0.8.1' );
}

if( !defined( 'WPT_CAPABILITY' ) ){
Expand Down