Plugin Directory

Changeset 2673709


Ignore:
Timestamp:
02/06/2022 10:35:24 AM (4 years ago)
Author:
unikforce
Message:

Variation table position controller

Location:
woo-product-table
Files:
199 added
6 edited

Legend:

Unmodified
Added
Removed
  • woo-product-table/trunk/assets/css/universal.css

    r2643743 r2673709  
    460460.wpt_search_box .search_box_wrapper {
    461461    display: flex;
     462    align-items: end;
    462463}
    463464.wpt_device_mobile .wpt_search_box .search_box_wrapper {
     
    18621863}
    18631864tr.visible_row.wpt_row .col_inside_tag.action a:last-child{margin-bottom: inherit;}
     1865
     1866/* for cascade filtering */
     1867select.search_select.cascade-filtering {
     1868    background: url(../images/loading.gif) #7b7b7b59 no-repeat center center !important;
     1869    opacity: 0.4;
     1870    cursor: not-allowed;
     1871    background-size: 30px !important;
     1872}
  • woo-product-table/trunk/assets/js/custom.js

    r2643743 r2673709  
    1515        //Select2
    1616        if(typeof $('.wpt_product_table_wrapper .search_select').select2 === 'function' && $('.wpt_product_table_wrapper .search_select').length > 0 && WPT_DATA.select2 !== 'disable' ){
    17             $('.wpt_product_table_wrapper .search_select.query').select2({//.query
    18                 placeholder: WPT_DATA.search_select_placeholder,
    19             });
     17            var select2Object = {};
     18            if( WPT_DATA.search_select_placeholder !== '' ){
     19                select2Object = {
     20                    placeholder: WPT_DATA.search_select_placeholder
     21                };
     22               
     23            }
     24           
     25            $('.wpt_product_table_wrapper .search_select.query').select2(select2Object);
    2026
    2127            $('select.filter_select').select2();
     28
    2229        }
    2330        var windowWidth = $(window).width();
  • woo-product-table/trunk/includes/items/description.php

    r2643743 r2673709  
    11<?php
    2 
    3 the_content();
     2echo $product->get_description();
  • woo-product-table/trunk/readme.txt

    r2673626 r2673709  
    55Requires at least: 4.0.0
    66Tested up to: 5.9
    7 Stable tag: 3.0.8
     7Stable tag: 3.0.9
    88Requires PHP: 5.6
    99License: GPLv2 or later
     
    211211
    212212== Changelog ==
     213
     214= 3.0.9 =
     215 * Variation table position controller
     216 * Bug Fix
     217
     218= 3.0.8 =
     219 * CSS issue solved
     220 * Bug Fix
    213221
    214222= 3.0.7 =
  • woo-product-table/trunk/templates/table-preview.php

    r2529934 r2673709  
    3636    $id = get_the_ID();
    3737    $title = get_the_title();
     38
     39
    3840    ?>
    3941    <div class="wpt-preview-title">
    4042        <h2 class="wpt-preview-heading"><?php the_title(); ?></h2>
    41         <b>Shortcode</b><br>
    42         <input
     43
     44        <?php if( is_user_logged_in() ){ ?>
     45            <b><?php echo esc_html__( 'Shortcode', 'wpt_pro' ); ?></b><br>
     46            <input
    4347            class="wpt-preview-shortcode-input"
    4448            type="text"
    4549            value="<?php echo esc_attr( "[Product_Table id='{$id}'  name='{$title}']" ); ?>"
    4650            readonly="readonly"
    47             >
     51            >   
     52           
     53           
     54        <?php } ?>
     55       
     56
     57
    4858    </div>   
    4959    <?php
     60
     61
    5062    echo do_shortcode("[Product_Table id='{$id}']");
    5163    endwhile;
  • woo-product-table/trunk/woo-product-table.php

    r2673626 r2673709  
    88 * Tags: woocommerce product list,woocommerce product table, wc product table, product grid view, inventory, shop product table
    99 *
    10  * Version: 3.0.8
     10 * Version: 3.0.9
    1111 * Requires at least:    4.0.0
    1212 * Tested up to:         5.9
    1313 * WC requires at least: 3.0.0
    14  * WC tested up to:      5.9.0
     14 * WC tested up to:      6.1.1
    1515 *
    1616 * Text Domain: wpt_pro
     
    3131
    3232if( !defined( 'WPT_DEV_VERSION' ) ){
    33     define( 'WPT_DEV_VERSION', '3.0.8.1' );
     33    define( 'WPT_DEV_VERSION', '3.0.9.0' );
    3434}
    3535
Note: See TracChangeset for help on using the changeset viewer.