Skip to content

Commit

Permalink
Merge pull request #300 from codersaiful/3.4.3.0
Browse files Browse the repository at this point in the history
3.4.3.0
  • Loading branch information
codersaiful committed Aug 23, 2023
2 parents 2d8bf74 + 2f8a982 commit bb465ef
Show file tree
Hide file tree
Showing 12 changed files with 161 additions and 27 deletions.
44 changes: 44 additions & 0 deletions admin/page/configure.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,50 @@ function ($field) {
</div>

</form>

<div class="wpt-section-panel supported-terms wpt-recomendation-area" id="wpt-recomendation-area">
<table class="wpt-my-table universal-setting">
<thead>
<tr>
<th class="wpt-inside">
<div class="wpt-table-header-inside">
<h3><?php echo esc_html__('Recommendation Area', 'wpt'); ?> <small class="wpt-small-title">To increase Sale</small></h3>
</div>

</th>
<th>
<div class="wpt-table-header-right-side"></div>
</th>
</tr>
</thead>

<tbody>
<tr>
<td>
<div class="wqpmb-form-control">
<div class="form-label col-lg-12">
<?php do_action( 'wpt_plugin_recommend_here' ); ?>
</div>
<div class="form-label col-lg-12">
<?php wpt_submit_issue_link(); ?>
</div>
</div>
</td>
<td>
<div class="wqpmb-form-info">

<?php wpt_social_links(); ?>
<p>Highly Recommeded these plugin. Which will help you to increase your WooCommerce sale.</p>
</div>
</td>
</tr>
</tbody>
</table>

</div> <!--/.wpt-recomendation-area -->
<?php
do_action('wpt_addon_license_area');
?>
</div>

</div> <!-- ./wrap wpt_wrap wpt-content -->
31 changes: 17 additions & 14 deletions assets/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -2185,11 +2185,12 @@ div#wpt_shortcode_configuration_metabox_id .ultraaddons .with-background.slim-ti
width: 100%;
clear: both;
}
p.wpt-issue-submit {
div.wpt-content p.wpt-issue-submit {
border-top: 1px solid #dddddd4a;
opacity: 1;
padding-top: 2px;
margin-top: 2px;
padding-top: 15px;
margin-top: 10px;
font-size: 14px;
}

p.wpt-issue-submit>b {
Expand All @@ -2199,24 +2200,23 @@ p.wpt-issue-submit>b {
border-radius: 4px;
}

p.wpt-issue-submit a {
div.wpt-content p.wpt-issue-submit a {
font-weight: 500;
letter-spacing: 0;
font-style: oblique;
background: #8080801c;
padding: 0 3px;
font-style: normal;
background: transparent;
}
a.wpt-create-ticket {
background: #56687a !important;
color: #ffeb3b;
div.wpt-content a.wpt-create-ticket {
background: #aeaeae !important;
color: #ffffff;
border: 1px solid #9e9e9e;
padding: 2px 6px !important;
padding: 4px 8px !important;
text-decoration: none;
border-radius: 6px;
border-radius: 3px;
}

p.wpt-issue-submit a:hover {
background: black;
div.wpt-content p.wpt-issue-submit a:hover {
background: rgb(204, 204, 204);
color: #4caf50;
}
.wpt-plugin-recommend-area .anywhere-notice.ca-notice.notice-success[data-notice_id="black-friday-22"] {
Expand Down Expand Up @@ -2340,4 +2340,7 @@ span.wpt-design-collaps:hover {
}
div.wpt_tab_content table th {
position: relative;
}
.wpt_column_setting_extra>div>label {
display: inline !important;
}
84 changes: 82 additions & 2 deletions assets/css/new-admin.css

Large diffs are not rendered by default.

Binary file added assets/images/products/ca-quick-view.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/products/woo-product-table.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions inc/shortcode-ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,17 @@ public function wpt_load_both(){
Args::manage($this);
}

/**
* wpt_load action hook
* added for ajax shortcode part
*
* Based on this action hook, we have also called a functin on pro version
* at @version 8.3.0.0 at includes/functions.php file
*
* @since 3.4.3.0
* @author Saiful Islam <codersaiful@gmail.com>
*/
$this->do_action('wpt_load');

/**
* set_product_loop() is importants obviously
Expand Down
12 changes: 4 additions & 8 deletions includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,19 +183,15 @@ function wpt_table_td_class( $td_class_arr, $keyword, $table_ID ){
*/
function wpt_checkbox_validation( $bool, $enabled_column_array,$column_settings ){

$arrrrr = array();
if( !is_array( $enabled_column_array ) || !is_array( $column_settings ) ) return false;

if( ! is_array( $enabled_column_array ) || !is_array( $column_settings ) ) return false;

if( isset( $enabled_column_array['check'] ) ){
if( ! is_user_logged_in() && isset( $column_settings['check']['only_login_user'] ) ) return false;
if( ! is_user_logged_in() && isset( $column_settings['action']['only_login_user'] ) ) return false;
return true;
}

foreach( $column_settings as $key => $e_stng ){
if( isset( $e_stng['items'] ) && is_array( $e_stng['items'] ) && in_array( 'check', $e_stng['items'] ) ) return true;
}

return $bool;
return false;
}
}
add_filter( 'wpto_checkbox_validation', 'wpt_checkbox_validation', 10, 3);
Expand Down
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://donate.stripe.com/4gw2bB2Pzdjd8mYfYZ
Tags: wc product table, wooproducttable, woo product table,woocommerce product table, product table, wc table, quick order table, wholesale table, restaurants table,woo-product-table
Requires at least: 4.0.0
Tested up to: 6.3
Stable tag: 3.4.2
Stable tag: 3.4.3
Requires PHP: 5.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down
4 changes: 2 additions & 2 deletions woo-product-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://wooproducttable.com/?utm_source=WPT+Plugin+Dashboard&utm_medium=Free+Version
* Tags: wooproducttable, woocommerce product list,woocommerce product table, wc product table, product grid view, inventory, shop product table
*
* Version: 3.4.2
* Version: 3.4.3
* Requires at least: 4.0.0
* Tested up to: 6.3
* WC requires at least: 5.0.0
Expand All @@ -33,7 +33,7 @@
}

if( ! defined( 'WPT_DEV_VERSION' ) ){
define( 'WPT_DEV_VERSION', '3.4.2.2' );
define( 'WPT_DEV_VERSION', '3.4.3.0' );
}

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

0 comments on commit bb465ef

Please sign in to comment.