Changeset 2636674
- Timestamp:
- 11/29/2021 06:42:55 AM (4 years ago)
- Location:
- woo-product-table
- Files:
-
- 198 added
- 6 edited
-
tags/3.0.5 (added)
-
tags/3.0.5/_config.yml (added)
-
tags/3.0.5/admin (added)
-
tags/3.0.5/admin/action-hook.php (added)
-
tags/3.0.5/admin/admin-enqueue.php (added)
-
tags/3.0.5/admin/configuration_page.php (added)
-
tags/3.0.5/admin/duplicate.php (added)
-
tags/3.0.5/admin/fac_support_page.php (added)
-
tags/3.0.5/admin/functions.php (added)
-
tags/3.0.5/admin/includes (added)
-
tags/3.0.5/admin/includes/right_side.php (added)
-
tags/3.0.5/admin/menu_plugin_setting_link.php (added)
-
tags/3.0.5/admin/notice (added)
-
tags/3.0.5/admin/notice/notice-loader.php (added)
-
tags/3.0.5/admin/notice/offeres (added)
-
tags/3.0.5/admin/notice/offeres/images (added)
-
tags/3.0.5/admin/notice/offeres/images/Black-Friday.png (added)
-
tags/3.0.5/admin/notice/offeres/offer.css (added)
-
tags/3.0.5/admin/notice/offeres/offer.js (added)
-
tags/3.0.5/admin/notice/offeres/offer.json (added)
-
tags/3.0.5/admin/post_metabox.php (added)
-
tags/3.0.5/admin/post_metabox_form.php (added)
-
tags/3.0.5/admin/pro-features-html.php (added)
-
tags/3.0.5/admin/tabs (added)
-
tags/3.0.5/admin/tabs/basics.php (added)
-
tags/3.0.5/admin/tabs/column_settings.php (added)
-
tags/3.0.5/admin/tabs/conditions.php (added)
-
tags/3.0.5/admin/tabs/config.php (added)
-
tags/3.0.5/admin/tabs/inc-column (added)
-
tags/3.0.5/admin/tabs/inc-column/add-new-column.php (added)
-
tags/3.0.5/admin/tabs/inc-column/available-column-list.php (added)
-
tags/3.0.5/admin/tabs/inc-column/column-list.php (added)
-
tags/3.0.5/admin/tabs/inc-column/mobile-header.php (added)
-
tags/3.0.5/admin/tabs/inc-column/tablet-header.php (added)
-
tags/3.0.5/admin/tabs/mobile.php (added)
-
tags/3.0.5/admin/tabs/responsive.php (added)
-
tags/3.0.5/admin/tabs/search_n_filter.php (added)
-
tags/3.0.5/admin/tabs/table_style.php (added)
-
tags/3.0.5/admin/wpt_product_table_post.php (added)
-
tags/3.0.5/assets (added)
-
tags/3.0.5/assets/css (added)
-
tags/3.0.5/assets/css/admin-common.css (added)
-
tags/3.0.5/assets/css/admin.css (added)
-
tags/3.0.5/assets/css/alpha-color-picker.css (added)
-
tags/3.0.5/assets/css/select2.css (added)
-
tags/3.0.5/assets/css/select2.min.css (added)
-
tags/3.0.5/assets/css/template.css (added)
-
tags/3.0.5/assets/css/testing.css (added)
-
tags/3.0.5/assets/css/universal.css (added)
-
tags/3.0.5/assets/images (added)
-
tags/3.0.5/assets/images/arrow.png (added)
-
tags/3.0.5/assets/images/arrow_down.png (added)
-
tags/3.0.5/assets/images/arrow_top.png (added)
-
tags/3.0.5/assets/images/cover_image.jpg (added)
-
tags/3.0.5/assets/images/customer_support.png (added)
-
tags/3.0.5/assets/images/features (added)
-
tags/3.0.5/assets/images/features/acf-support.jpg (added)
-
tags/3.0.5/assets/images/features/awesome-pro-support.png (added)
-
tags/3.0.5/assets/images/features/blank-column.jpg (added)
-
tags/3.0.5/assets/images/features/click-to-expand.png (added)
-
tags/3.0.5/assets/images/features/contents-front.jpg (added)
-
tags/3.0.5/assets/images/features/contents.jpg (added)
-
tags/3.0.5/assets/images/features/custom-design.jpg (added)
-
tags/3.0.5/assets/images/features/products-include.jpg (added)
-
tags/3.0.5/assets/images/features/search-from.jpg (added)
-
tags/3.0.5/assets/images/features/shortcode.png (added)
-
tags/3.0.5/assets/images/features/smile.jpg (added)
-
tags/3.0.5/assets/images/features/table-config.jpg (added)
-
tags/3.0.5/assets/images/icon-checked.png (added)
-
tags/3.0.5/assets/images/icon-unchecked.png (added)
-
tags/3.0.5/assets/images/loading-load.gif (added)
-
tags/3.0.5/assets/images/loading.gif (added)
-
tags/3.0.5/assets/images/logo.png (added)
-
tags/3.0.5/assets/images/move.png (added)
-
tags/3.0.5/assets/images/move_color.png (added)
-
tags/3.0.5/assets/images/move_color_2.png (added)
-
tags/3.0.5/assets/images/move_color_3.png (added)
-
tags/3.0.5/assets/images/move_white.png (added)
-
tags/3.0.5/assets/images/pro-features (added)
-
tags/3.0.5/assets/images/pro-features/add_new_column_type.png (added)
-
tags/3.0.5/assets/images/pro-features/advance_search_form.png (added)
-
tags/3.0.5/assets/images/pro-features/all_tabs.png (added)
-
tags/3.0.5/assets/images/pro-features/column_extra.png (added)
-
tags/3.0.5/assets/images/pro-features/configuration_page_top.png (added)
-
tags/3.0.5/assets/images/pro-features/configuration_tab.png (added)
-
tags/3.0.5/assets/images/pro-features/design_add_to_cart.png (added)
-
tags/3.0.5/assets/images/pro-features/design_body.png (added)
-
tags/3.0.5/assets/images/pro-features/design_button.png (added)
-
tags/3.0.5/assets/images/pro-features/design_checkbox.png (added)
-
tags/3.0.5/assets/images/pro-features/design_header.png (added)
-
tags/3.0.5/assets/images/pro-features/design_pagination.png (added)
-
tags/3.0.5/assets/images/pro-features/design_search_box.png (added)
-
tags/3.0.5/assets/images/pro-features/pf_authorid_username_type.png (added)
-
tags/3.0.5/assets/images/pro-features/pf_bulk_add_to_cart.png (added)
-
tags/3.0.5/assets/images/pro-features/pf_custom_field_filter.png (added)
-
tags/3.0.5/assets/images/pro-features/pf_product_includes_by_id.png (added)
-
tags/3.0.5/assets/images/pro-features/pf_search_using_custom_field.png (added)
-
tags/3.0.5/assets/images/pro-features/pf_style_tab.png (added)
-
tags/3.0.5/assets/images/pro-features/pf_table_configuration.png (added)
-
tags/3.0.5/assets/images/pro-features/pro_columns.png (added)
-
tags/3.0.5/assets/images/pro-features/under_taxonomy_includes.png (added)
-
tags/3.0.5/assets/images/rate_us.png (added)
-
tags/3.0.5/assets/images/social (added)
-
tags/3.0.5/assets/images/social/facebook.png (added)
-
tags/3.0.5/assets/images/social/gmail.png (added)
-
tags/3.0.5/assets/images/social/google.png (added)
-
tags/3.0.5/assets/images/social/linkedin.png (added)
-
tags/3.0.5/assets/images/social/reddit.png (added)
-
tags/3.0.5/assets/images/social/social.png (added)
-
tags/3.0.5/assets/images/social/twitter.png (added)
-
tags/3.0.5/assets/images/sort_asc.png (added)
-
tags/3.0.5/assets/images/sort_both.png (added)
-
tags/3.0.5/assets/images/sort_desc.png (added)
-
tags/3.0.5/assets/images/svg (added)
-
tags/3.0.5/assets/images/svg/ultraaddons-logo.svg (added)
-
tags/3.0.5/assets/images/table_icon.png (added)
-
tags/3.0.5/assets/images/table_icon2.png (added)
-
tags/3.0.5/assets/images/transparency-grid.png (added)
-
tags/3.0.5/assets/images/updater.png (added)
-
tags/3.0.5/assets/images/wc_beautifier.png (added)
-
tags/3.0.5/assets/images/wpt-logo.png (added)
-
tags/3.0.5/assets/js (added)
-
tags/3.0.5/assets/js/admin.js (added)
-
tags/3.0.5/assets/js/alpha-color-picker.js (added)
-
tags/3.0.5/assets/js/custom.js (added)
-
tags/3.0.5/assets/js/jquery.floatThead.js (added)
-
tags/3.0.5/assets/js/jquery.floatThead.min.js (added)
-
tags/3.0.5/assets/js/select2.full.js (added)
-
tags/3.0.5/assets/js/select2.full.min.js (added)
-
tags/3.0.5/assets/js/select2.js (added)
-
tags/3.0.5/assets/js/select2.min.js (added)
-
tags/3.0.5/changelog.txt (added)
-
tags/3.0.5/includes (added)
-
tags/3.0.5/includes/enqueue.php (added)
-
tags/3.0.5/includes/extra_items_manager.php (added)
-
tags/3.0.5/includes/functions.php (added)
-
tags/3.0.5/includes/helper-functions.php (added)
-
tags/3.0.5/includes/items (added)
-
tags/3.0.5/includes/items/action.php (added)
-
tags/3.0.5/includes/items/attribute.php (added)
-
tags/3.0.5/includes/items/blank.php (added)
-
tags/3.0.5/includes/items/blank_type.php (added)
-
tags/3.0.5/includes/items/category.php (added)
-
tags/3.0.5/includes/items/check.php (added)
-
tags/3.0.5/includes/items/custom_field.php (added)
-
tags/3.0.5/includes/items/date.php (added)
-
tags/3.0.5/includes/items/default.php (added)
-
tags/3.0.5/includes/items/description.php (added)
-
tags/3.0.5/includes/items/freeze.php (added)
-
tags/3.0.5/includes/items/height.php (added)
-
tags/3.0.5/includes/items/length.php (added)
-
tags/3.0.5/includes/items/message.php (added)
-
tags/3.0.5/includes/items/modified_date.php (added)
-
tags/3.0.5/includes/items/price.php (added)
-
tags/3.0.5/includes/items/product_id.php (added)
-
tags/3.0.5/includes/items/product_title.php (added)
-
tags/3.0.5/includes/items/quantity.php (added)
-
tags/3.0.5/includes/items/quick.php (added)
-
tags/3.0.5/includes/items/quoterequest.php (added)
-
tags/3.0.5/includes/items/rating.php (added)
-
tags/3.0.5/includes/items/serial_number.php (added)
-
tags/3.0.5/includes/items/short_description.php (added)
-
tags/3.0.5/includes/items/sku.php (added)
-
tags/3.0.5/includes/items/stock.php (added)
-
tags/3.0.5/includes/items/tags.php (added)
-
tags/3.0.5/includes/items/taxonomy.php (added)
-
tags/3.0.5/includes/items/thumbnails.php (added)
-
tags/3.0.5/includes/items/total.php (added)
-
tags/3.0.5/includes/items/variations.php (added)
-
tags/3.0.5/includes/items/weight.php (added)
-
tags/3.0.5/includes/items/width.php (added)
-
tags/3.0.5/includes/items/wishlist.php (added)
-
tags/3.0.5/includes/preview_table.php (added)
-
tags/3.0.5/includes/row_manager.php (added)
-
tags/3.0.5/includes/shortcode.php (added)
-
tags/3.0.5/includes/table_row.php (added)
-
tags/3.0.5/includes/variation_html.php (added)
-
tags/3.0.5/includes/variation_html_1.php (added)
-
tags/3.0.5/index.html (added)
-
tags/3.0.5/index.php (added)
-
tags/3.0.5/languages (added)
-
tags/3.0.5/languages/wpt_pro-bn_BD.mo (added)
-
tags/3.0.5/languages/wpt_pro-bn_BD.po (added)
-
tags/3.0.5/languages/wpt_pro.pot (added)
-
tags/3.0.5/modules (added)
-
tags/3.0.5/modules/Mobile_Detect.php (added)
-
tags/3.0.5/modules/elementor-widget.php (added)
-
tags/3.0.5/modules/elementor.php (added)
-
tags/3.0.5/params.json (added)
-
tags/3.0.5/readme.md (added)
-
tags/3.0.5/readme.txt (added)
-
tags/3.0.5/stylesheets (added)
-
tags/3.0.5/stylesheets/github-light.css (added)
-
tags/3.0.5/stylesheets/normalize.css (added)
-
tags/3.0.5/stylesheets/stylesheet.css (added)
-
tags/3.0.5/templates (added)
-
tags/3.0.5/templates/table-preview.php (added)
-
tags/3.0.5/woo-product-table.php (added)
-
trunk/admin/admin-enqueue.php (modified) (3 diffs)
-
trunk/admin/notice/offeres/offer.js (modified) (7 diffs)
-
trunk/admin/notice/offeres/offer.json (modified) (1 diff)
-
trunk/assets/css/universal.css (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/woo-product-table.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-product-table/trunk/admin/admin-enqueue.php
r2636219 r2636674 55 55 * is not installed. 56 56 */ 57 if( ! defined( 'WPT_PRO_DEV_VERSION' ) ){57 //if( ! defined( 'WPT_PRO_DEV_VERSION' ) ){ 58 58 wp_enqueue_style( 'wpt-offer-css', WPT_Product_Table::getPath( 'BASE_URL' ) . 'admin/notice/offeres/offer.css', array(), WPT_DEV_VERSION, 'all' ); 59 59 wp_enqueue_script( 'wpt-offer-js', WPT_Product_Table::getPath( 'BASE_URL' ) . 'admin/notice/offeres/offer.js', array( 'jquery' ), WPT_DEV_VERSION, true ); 60 }60 //} 61 61 } 62 62 } … … 73 73 $ajax_url = admin_url( 'admin-ajax.php' ); 74 74 $version = class_exists( 'WOO_Product_Table' ) && WOO_Product_Table::getVersion() ? __( 'WTP Pro: ', 'wpt_pro' ) . WOO_Product_Table::getVersion() : WPT_Product_Table::getVersion(); 75 $is_pro = class_exists( 'WOO_Product_Table' ) ? 'yes' : 'no'; 75 76 $WPT_DATA = array( 76 77 'ajaxurl' => $ajax_url, … … 81 82 'priceFormat' => wpt_price_formatter(), 82 83 'version' => $version, 84 'is_pro' => $is_pro, 85 83 86 ); 84 87 $WPT_DATA = apply_filters( 'wpto_localize_data', $WPT_DATA ); -
woo-product-table/trunk/admin/notice/offeres/offer.js
r2636425 r2636674 6 6 } 7 7 8 let wrapper_class = '.wpt-special-offer'; 8 9 9 10 loadOfferContent(); 10 11 11 12 $(document.body).on('click','h1.wp-heading-inline',function(){ 13 console.log("Trigger for new json"); 12 14 loadContentByAjax(); 13 15 }); … … 18 20 19 21 offer_json = JSON.parse(offer_json); 20 jsonToHtmlMarkup(offer_json); 22 jsonOfferToHtmlMarkup(offer_json); 23 jsonNoticeToHtmlMarkup(offer_json) 21 24 22 25 }else if(navigator.onLine){ … … 35 38 if(result && result !== ''){ 36 39 setCookie('wpt_offer_latest',JSON.stringify(result),2);//For Two days 37 jsonToHtmlMarkup(result); 40 jsonOfferToHtmlMarkup(result); 41 42 jsonNoticeToHtmlMarkup(result); 38 43 } 39 44 … … 44 49 }); 45 50 } 51 function jsonNoticeToHtmlMarkup(result){ 46 52 47 function jsonToHtmlMarkup(result){ 48 if(! result.offer.status){ 53 if( ! result.hasOwnProperty('notice') ){ 49 54 return; 50 55 } 51 let offer = result.offer, 52 target_function = offer.target_function, 56 57 if(! result.notice.status ){ 58 return; 59 } 60 let notice = result.notice; 61 62 jsonToHtml(notice, 'notice-wrapper'); 63 64 } 65 function jsonOfferToHtmlMarkup(result){ 66 67 if( ! result.hasOwnProperty('offer') ){ 68 return; 69 } 70 71 if( typeof WPT_DATA_ADMIN.is_pro === 'string' && WPT_DATA_ADMIN.is_pro === 'yes' ){ 72 return; 73 } 74 if(! result.offer.status ){ 75 return; 76 } 77 let offer = result.offer; 78 jsonToHtml(offer, 'offer-wrapper'); 79 80 } 81 82 function jsonToHtml(offer,custom_wrapper_class){ 83 84 let target_function = offer.target_function, 53 85 image_url = offer.image_url, 54 86 target_link = offer.target_link, … … 56 88 wrapper_css = offer.wrapper_css, 57 89 image_css = offer.image_css; 90 91 let wrapper_class = '.wpt-unique-' + custom_wrapper_class; 58 92 59 93 60 94 let location_selector = offer.display_wrapper + " " + offer.display_to; 61 95 62 96 $(wrapper_class).remove(); 63 97 … … 73 107 } 74 108 75 let html = `<div class="wpt-special-offer ">` + image_link_html + target_html + `</div>`;109 let html = `<div class="wpt-special-offer wpt-unique-` + custom_wrapper_class + `">` + image_link_html + target_html + `</div>`; 76 110 77 111 if( !target_function ){ … … 79 113 } 80 114 115 81 116 if( target_function === 'prepend' ){ 82 117 $(location_selector).prepend(html); -
woo-product-table/trunk/admin/notice/offeres/offer.json
r2636425 r2636674 16 16 "width":"auto" 17 17 } 18 }, 19 "notice": { 20 "status": false, 21 "target_function": "append", 22 "target_link": "https://codecanyon.net/item/woo-product-table-pro/20676867", 23 "image_url": "https://raw.githubusercontent.com/codersaiful/woo-product-table/3.0.4.2/admin/notice/offeres/images/Black-Friday.png", 24 "display_to": "#wpbody-content", 25 "display_wrapper": ".wpt_admin_body", 26 "target_html": false, 27 "wrapper_css":{ 28 "color":"green", 29 "background-color":"black" 30 }, 31 "image_css":{ 32 "height":"150px", 33 "width":"auto" 34 } 18 35 } 19 36 } -
woo-product-table/trunk/assets/css/universal.css
r2636219 r2636674 850 850 position: relative; 851 851 box-sizing: border-box; 852 display: table;852 display: block; 853 853 } 854 854 div.wpt_product_table_wrapper.woocommerce:before,div.wpt_product_table_wrapper.woocommerce:after{content: "";height:1px;width:100%;clear:both;} -
woo-product-table/trunk/readme.txt
r2636425 r2636674 5 5 Requires at least: 4.0.0 6 6 Tested up to: 5.8.2 7 Stable tag: 3.0. 47 Stable tag: 3.0.6 8 8 Requires PHP: 5.6 9 9 License: GPLv2 or later … … 211 211 212 212 == Changelog == 213 214 = 3.0.6 = 215 * Fixed: Fullwidth table issue has been fixed. 213 216 214 217 = 3.0.5 = -
woo-product-table/trunk/woo-product-table.php
r2636425 r2636674 8 8 * Tags: woocommerce product list,woocommerce product table, wc product table, product grid view, inventory, shop product table 9 9 * 10 * Version: 3.0. 510 * Version: 3.0.6 11 11 * Requires at least: 4.0.0 12 12 * Tested up to: 5.8.2 … … 31 31 32 32 if( !defined( 'WPT_DEV_VERSION' ) ){ 33 define( 'WPT_DEV_VERSION', '3.0. 5.0' );33 define( 'WPT_DEV_VERSION', '3.0.6.0' ); 34 34 } 35 35
Note: See TracChangeset
for help on using the changeset viewer.