Plugin Directory

Changeset 3187292


Ignore:
Timestamp:
11/13/2024 09:40:44 AM (17 months ago)
Author:
amirition
Message:

Update to version 1.0.11 from GitHub

Location:
block-for-woo-product-table
Files:
8 added
6 deleted
36 edited
1 copied

Legend:

Unmodified
Added
Removed
  • block-for-woo-product-table/tags/1.0.11/.git/FETCH_HEAD

    r3076543 r3187292  
    110667d5c0f615e2ade3284ed989af5cd5f16244a0        branch 'block-redesign' of https://github.com/barn2plugins/block-for-woo-product-table
    2 51ea65c1e7c5a87a47b4e2c1ff263eea4e638e27        branch 'master' of https://github.com/barn2plugins/block-for-woo-product-table
     2b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3        branch 'master' of https://github.com/barn2plugins/block-for-woo-product-table
    33f59f8d53bcc2153c2f98e5f2ec41b0ab7dd9d8b5        branch 'trello-478--free-trial-language' of https://github.com/barn2plugins/block-for-woo-product-table
    44195fa274d6c20cde4648bb8ffc5bb08c53d1b297        branch 'update/compatibility-changes' of https://github.com/barn2plugins/block-for-woo-product-table
     5b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3    not-for-merge   tag '1.0.11' of https://github.com/barn2plugins/block-for-woo-product-table
    5674b67b8ee5c36a9b0c761779800ad0d71ebb9362    not-for-merge   tag '1.0.2' of https://github.com/barn2plugins/block-for-woo-product-table
    67d8199e55b21d73344125923e181a7a2663c8ae3c    not-for-merge   tag '1.0.3' of https://github.com/barn2plugins/block-for-woo-product-table
  • block-for-woo-product-table/tags/1.0.11/.git/HEAD

    r3076543 r3187292  
    1 51ea65c1e7c5a87a47b4e2c1ff263eea4e638e27
     1b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3
  • block-for-woo-product-table/tags/1.0.11/.git/logs/HEAD

    r3076543 r3187292  
    1 0000000000000000000000000000000000000000 51ea65c1e7c5a87a47b4e2c1ff263eea4e638e27 runner <runner@fv-az1153-853.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net> 1713969830 +0000    checkout: moving from master to 51ea65c1e7c5a87a47b4e2c1ff263eea4e638e27
     10000000000000000000000000000000000000000 b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3 runner <runner@fv-az1116-512.iopidld3wkhelkdxw22dv3nexc.bx.internal.cloudapp.net> 1731490825 +0000    checkout: moving from master to b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3
  • block-for-woo-product-table/tags/1.0.11/.git/logs/refs/remotes/origin/block-redesign

    r3076543 r3187292  
    1 0000000000000000000000000000000000000000 0667d5c0f615e2ade3284ed989af5cd5f16244a0 runner <runner@fv-az1153-853.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net> 1713969830 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
     10000000000000000000000000000000000000000 0667d5c0f615e2ade3284ed989af5cd5f16244a0 runner <runner@fv-az1116-512.iopidld3wkhelkdxw22dv3nexc.bx.internal.cloudapp.net> 1731490825 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
  • block-for-woo-product-table/tags/1.0.11/.git/logs/refs/remotes/origin/master

    r3076543 r3187292  
    1 0000000000000000000000000000000000000000 51ea65c1e7c5a87a47b4e2c1ff263eea4e638e27 runner <runner@fv-az1153-853.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net> 1713969830 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
     10000000000000000000000000000000000000000 b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3 runner <runner@fv-az1116-512.iopidld3wkhelkdxw22dv3nexc.bx.internal.cloudapp.net> 1731490825 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
  • block-for-woo-product-table/tags/1.0.11/.git/logs/refs/remotes/origin/trello-478--free-trial-language

    r3076543 r3187292  
    1 0000000000000000000000000000000000000000 f59f8d53bcc2153c2f98e5f2ec41b0ab7dd9d8b5 runner <runner@fv-az1153-853.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net> 1713969830 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
     10000000000000000000000000000000000000000 f59f8d53bcc2153c2f98e5f2ec41b0ab7dd9d8b5 runner <runner@fv-az1116-512.iopidld3wkhelkdxw22dv3nexc.bx.internal.cloudapp.net> 1731490825 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
  • block-for-woo-product-table/tags/1.0.11/.git/logs/refs/remotes/origin/update/compatibility-changes

    r3076543 r3187292  
    1 0000000000000000000000000000000000000000 195fa274d6c20cde4648bb8ffc5bb08c53d1b297 runner <runner@fv-az1153-853.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net> 1713969830 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
     10000000000000000000000000000000000000000 195fa274d6c20cde4648bb8ffc5bb08c53d1b297 runner <runner@fv-az1116-512.iopidld3wkhelkdxw22dv3nexc.bx.internal.cloudapp.net> 1731490825 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
  • block-for-woo-product-table/tags/1.0.11/.git/refs/remotes/origin/master

    r3076543 r3187292  
    1 51ea65c1e7c5a87a47b4e2c1ff263eea4e638e27
     1b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3
  • block-for-woo-product-table/tags/1.0.11/.gitignore

    r2879989 r3187292  
    1010package-lock.json
    1111config.json
     12block-for-woo-product-table.zip
  • block-for-woo-product-table/tags/1.0.11/assets/js/editor.js

    r2726306 r3187292  
    3030
    3131    let description = __( 'Display a searchable table listing any or all of your products.', 'block-for-woo-product-table' );
    32     if ( typeof wcptbInvalid !== 'undefined' ) {
     32    if ( typeof info !== 'undefined' ) {
    3333        description = [ description, ' ', el(
    3434            'strong',
     
    9292            let blockStructure;
    9393
    94             if ( typeof wcptbInvalid !== 'undefined' ) {
     94            if ( typeof info !== 'undefined' ) {
    9595
    9696                let messageSplit = wcptbInvalid.message.split('%s'), message;
     
    157157                                            { className: 'block-description' },
    158158                                            [
    159                                                 __( 'Lists products in a table view using the WooCommerce Product Table plugin. ', 'block-for-woo-product-table' ),
     159                                                __( 'Lists products in a table view using the WooCommerce Product Table plugin. For more features, use the ', 'block-for-woo-product-table' ),
    160160                                                el(
    161161                                                    'a',
    162                                                     { href: 'https://barn2.co.uk/kb/woocommerce-product-table-gutenberg/', target: '_blank' },
    163                                                     __( 'Documentation', 'block-for-woo-product-table' )
     162                                                    { href: info.table_builder, target: '_blank' },
     163                                                    __( 'central table builder.', 'block-for-woo-product-table' )
    164164                                                )
    165165                                            ]
  • block-for-woo-product-table/tags/1.0.11/assets/js/editor.min.js

    r2726306 r3187292  
    33 * Copyright 2021 Barn2 Plugins
    44 */
    5 "use strict";function _createForOfIteratorHelper(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return l=e.done,e},e:function(e){c=!0,a=e},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw a}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}(function(c,e){var i=c.i18n.__,t=c.element,s=t.Fragment,r=t.createElement,u=t.RawHTML,f=c.blockEditor.InspectorControls,o=c.components,d=o.Placeholder,b=o.Icon,p=e.ProductTableColumns,m=e.ProductSelection,v=e.SettingsPanel,y=r,g=y("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24"},c.element.createElement("path",{d:"M4,21h15.893c1.103,0,2-0.897,2-2V7V5v0l0,0c0-1.103-0.897-2-2-2H4C2.897,3,2,3.897,2,5v14C2,20.103,2.897,21,4,21z M4,19 v-5h4v5H4z M14,7v5h-4V7H14z M8,7v5H4V7H8z M10,19v-5h4v5H10z M16,19v-5h3.894v5H16z M19.893,12H16V7h3.893V12z"})),n=i("Display a searchable table listing any or all of your products.","block-for-woo-product-table");"undefined"!=typeof wcptbInvalid&&(n=[n," ",y("strong",{},i("Warning! This block is an add-on for the WooCommerce Product Table plugin, which is not currently installed. Please sign up for a free trial and install the plugin before continuing.","block-for-woo-product-table"))]),c.blocks.registerBlockType("barn2/wc-product-table",{title:i("WooCommerce Product Table","block-for-woo-product-table"),description:n,icon:g,category:"woocommerce",attributes:{columns:{type:"array",default:[]},filters:{type:"array",default:[]},settings:{type:"array",default:[]},preview:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,align:["wide","full"]},example:{attributes:{preview:!0}},edit:function(e){var t=e.attributes,r=e.setAttributes;if(t.preview)return y(s,{},y("img",{src:wcptbPreviewImage.src}));var o,n=c.element.createRef();if("undefined"!=typeof wcptbInvalid){var a,l=wcptbInvalid.message.split("%s");a=1<l.length?[l[0],y("a",{href:wcptbInvalid.link,target:"_blank"},wcptbInvalid.link_text),l[1]]:l[0],o=y(d,{icon:g,label:"Product Table",instructions:a})}else o=y(s,null,[y(f,null,[y(v,{onChange:function(e){r({settings:e})},attributes:t})]),y("div",{className:"components-placeholder barn2-wc-product-table-block"},[y("div",{className:"components-placeholder__label"},[y(b,{icon:g,alt:""}),i("Product Table","block-for-woo-product-table")]),y("div",{className:"components-placeholder__fieldset"},[y("span",{className:"block-description"},[i("Lists products in a table view using the WooCommerce Product Table plugin. ","block-for-woo-product-table"),y("a",{href:"https://barn2.co.uk/kb/woocommerce-product-table-gutenberg/",target:"_blank"},i("Documentation","block-for-woo-product-table"))]),y("div",{className:"barn2-wc-product-table-block__options"},[y(p,{columns:t.columns,saveColumns:function(e){r({columns:e})}}),y(m,{attributes:t,saveFilters:function(e){r({filters:e})},ref:n})])],y("p",{className:"additional-settings-notice"},i("You can configure additional settings in the 'Block' tab in the sidebar.","block-for-woo-product-table")))])]);return o},save:function(e){var t="",r=e.attributes;if(r){if(r.columns&&r.columns.length&&(t+=' columns="'+r.columns.join(",")+'"'),r.filters&&r.filters.length){var o,n=_createForOfIteratorHelper(r.filters);try{for(n.s();!(o=n.n()).done;){var a=o.value;t+=" ".concat(a.key,'="').concat(a.value,'"')}}catch(e){n.e(e)}finally{n.f()}}if(r.settings&&r.settings.length){var l,c=_createForOfIteratorHelper(r.settings);try{for(c.s();!(l=c.n()).done;){var i=l.value;if(""!==i.value)if("additional"===i.key)t="".concat(i.value," ")+t;else if("customFilters"!==i.key){if("filters"===i.key&&"custom"===i.value)continue;t+=" ".concat(i.key,'="').concat(i.value,'"')}else t+=' filters="'.concat(i.value,'"')}}catch(e){c.e(e)}finally{c.f()}}(t=t.trim()).length&&(t=" "+t)}return y(u,{},"[product_table".concat(t,"]"))}})})(window.wp,window.productTableBlockComponents);
     5"use strict";function _createForOfIteratorHelper(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return l=e.done,e},e:function(e){c=!0,a=e},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw a}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}(function(c,e){var i=c.i18n.__,t=c.element,s=t.Fragment,r=t.createElement,u=t.RawHTML,f=c.blockEditor.InspectorControls,o=c.components,d=o.Placeholder,b=o.Icon,p=e.ProductTableColumns,m=e.ProductSelection,v=e.SettingsPanel,y=r,g=y("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24"},c.element.createElement("path",{d:"M4,21h15.893c1.103,0,2-0.897,2-2V7V5v0l0,0c0-1.103-0.897-2-2-2H4C2.897,3,2,3.897,2,5v14C2,20.103,2.897,21,4,21z M4,19 v-5h4v5H4z M14,7v5h-4V7H14z M8,7v5H4V7H8z M10,19v-5h4v5H10z M16,19v-5h3.894v5H16z M19.893,12H16V7h3.893V12z"})),n=i("Display a searchable table listing any or all of your products.","block-for-woo-product-table");"undefined"!=typeof wcptbInvalid&&(n=[n," ",y("strong",{},i("Warning! This block is an add-on for the WooCommerce Product Table plugin, which is not currently installed. Please sign up for a free trial and install the plugin before continuing.","block-for-woo-product-table"))]),c.blocks.registerBlockType("barn2/wc-product-table",{title:i("WooCommerce Product Table","block-for-woo-product-table"),description:n,icon:g,category:"woocommerce",attributes:{columns:{type:"array",default:[]},filters:{type:"array",default:[]},settings:{type:"array",default:[]},preview:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,align:["wide","full"]},example:{attributes:{preview:!0}},edit:function(e){var t=e.attributes,r=e.setAttributes;if(t.preview)return y(s,{},y("img",{src:wcptbPreviewImage.src}));var o,n=c.element.createRef();if("undefined"!=typeof wcptbInvalid){var a,l=wcptbInvalid.message.split("%s");a=1<l.length?[l[0],y("a",{href:wcptbInvalid.link,target:"_blank"},wcptbInvalid.link_text),l[1]]:l[0],o=y(d,{icon:g,label:"Product Table",instructions:a})}else o=y(s,null,[y(f,null,[y(v,{onChange:function(e){r({settings:e})},attributes:t})]),y("div",{className:"components-placeholder barn2-wc-product-table-block"},[y("div",{className:"components-placeholder__label"},[y(b,{icon:g,alt:""}),i("Product Table","block-for-woo-product-table")]),y("div",{className:"components-placeholder__fieldset"},[y("span",{className:"block-description"},[i("Lists products in a table view using the WooCommerce Product Table plugin. For more features, use the ","block-for-woo-product-table"),y("a",{href:info.table_builder,target:"_blank"},i("central table builder","block-for-woo-product-table"))]),y("div",{className:"barn2-wc-product-table-block__options"},[y(p,{columns:t.columns,saveColumns:function(e){r({columns:e})}}),y(m,{attributes:t,saveFilters:function(e){r({filters:e})},ref:n})])],y("p",{className:"additional-settings-notice"},i("You can configure additional settings in the 'Block' tab in the sidebar.","block-for-woo-product-table")))])]);return o},save:function(e){var t="",r=e.attributes;if(r){if(r.columns&&r.columns.length&&(t+=' columns="'+r.columns.join(",")+'"'),r.filters&&r.filters.length){var o,n=_createForOfIteratorHelper(r.filters);try{for(n.s();!(o=n.n()).done;){var a=o.value;t+=" ".concat(a.key,'="').concat(a.value,'"')}}catch(e){n.e(e)}finally{n.f()}}if(r.settings&&r.settings.length){var l,c=_createForOfIteratorHelper(r.settings);try{for(c.s();!(l=c.n()).done;){var i=l.value;if(""!==i.value)if("additional"===i.key)t="".concat(i.value," ")+t;else if("customFilters"!==i.key){if("filters"===i.key&&"custom"===i.value)continue;t+=" ".concat(i.key,'="').concat(i.value,'"')}else t+=' filters="'.concat(i.value,'"')}}catch(e){c.e(e)}finally{c.f()}}(t=t.trim()).length&&(t=" "+t)}return y(u,{},"[product_table".concat(t,"]"))}})})(window.wp,window.productTableBlockComponents);
  • block-for-woo-product-table/tags/1.0.11/block-for-woo-product-table.php

    r3076543 r3187292  
    1414 * Plugin URI:      https://barn2.co.uk/wordpress-plugins/block-for-woo-product-table/
    1515 * Description:     Adds an editor block to the WooCommerce Product Table plugin by Barn2, making it quick and easy to create product tables with the block editor.
    16  * Version:         1.0.10
     16 * Version:         1.0.11
    1717 * Author:          Barn2 Plugins
    1818 * Author URI:      https://barn2.co.uk
     
    2121 *
    2222 * WC requires at least: 7.2
    23  * WC tested up to: 8.8.2
     23 * WC tested up to: 9.3.3
     24 * Requires at least:     6.1.0
     25 * Requires PHP:          7.4
    2426 *
    2527 * Copyright:       Barn2 Media Ltd
     
    3436}
    3537
    36 const PLUGIN_VERSION = '1.0.10';
     38const PLUGIN_VERSION = '1.0.11';
    3739const PLUGIN_FILE    = __FILE__;
    3840
  • block-for-woo-product-table/tags/1.0.11/package.json

    r3076543 r3187292  
    11{
    22    "name": "wc-product-table-block",
    3     "version": "1.0.10",
     3    "version": "1.0.11",
    44    "description": "Build package for plugins",
    55    "main": "gulpfile.js",
  • block-for-woo-product-table/tags/1.0.11/readme.txt

    r3076543 r3187292  
    55Tags: gutenberg block, blocks, block, product table, order form
    66Requires at least: 6.1
    7 Tested up to: 6.5.2
     7Tested up to: 6.7
    88Requires PHP: 7.4
    9 Stable tag: 1.0.10
     9Stable tag: 1.0.11
    1010License: GPL-3.0
    1111License URI: https://www.gnu.org/licenses/gpl.html
     
    1515== Description ==
    1616
    17 *Gutenberg Block for WooCommerce Product Table* adds a user-friendly editor block to the [WooCommerce Product Table](https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=gutenbergwpt&utm_content=gutenbergwpt) plugin by Barn2, providing an easier way for Gutenberg users to create product tables. It requires WooCommerce Product Table (available separately) to work.
     17*Note: Since building this block plugin, we have added an interactive table builder to the main WooCommerce Product Table plugin. This makes it easy to create product tables and insert them into the block editor or any page builder. While you can still use the block plugin, it is no longer actively being developed and we recommend using the built-in table builder instead, which has more features.*
    1818
    19 [WooCommerce Product Table](https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=gutenbergwpt&utm_content=gutenbergwpt) lists products in a quick order form layout designed to increase your sales and average order value. Instead of having to visit a separate page for each product, customers can select products, quantities and variations from the product table and quickly add them to the cart.
     19Gutenberg Block for WooCommerce Product Table adds a user-friendly editor block to the [WooCommerce Product Table](https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=gutenbergwpt&utm_content=gutenbergwpt) plugin by Barn2, providing an easier way for Gutenberg users to create product tables. It requires WooCommerce Product Table (available separately) to work.
     20
     21WooCommerce Product Table lists products in a quick order form layout designed to increase your sales and average order value. Instead of having to visit a separate page for each product, customers can select products, quantities and variations from the product table and quickly add them to the cart.
    2022
    2123WooCommerce Product Table is highly flexible and you can choose which products to include, a wide range of column options, filters, instant AJAX search, add to cart button styles, and more.
    2224
    23 *Gutenberg Block for WooCommerce Product Table* makes it easy to insert product tables anywhere on your site using the Gutenberg editor. This gives you full control over your product tables, without having to use shortcodes.
     25*Gutenberg Block for WooCommerce Product Table* makes it easy to insert product tables anywhere on your site using the Gutenberg editor. This gives you full control over your product tables.
    2426
    2527https://www.youtube.com/watch?v=yEsK8KEi0mk
     
    7678
    7779= Can I create product tables if I’m not using Gutenberg? =
    78 If you’re not using Gutenberg then you can use [WooCommerce Product Table](https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=gutenbergwpt&utm_content=gutenbergwpt) without Gutenberg Block for WooCommerce Product Table.
    79 
    80 You can create product tables by adding the [[product_table] shortcode](https://barn2.co.uk/kb/product-table-options/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=gutenbergwpt&utm_content=gutenbergwpt) anywhere on your site, including text, HTML or shortcode blocks in other page builders such as Elementor, Divi Builder and Visual Composer.
    81 
    82 There are also options on the WooCommerce Product Table plugin settings page which automatically enable the product table layout on your shop and/or product category pages.
     80Yes, [WooCommerce Product Table](https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=gutenbergwpt&utm_content=gutenbergwpt) comes with a built-in table builder which works with all WordPress editors and page builders. Simply install WooCommerce Product Table and go to *Products > Product Tables > Add New* to create tables. The final page of the table builder provides a shortcode which you can use to insert the table anywhere on your site. You can also enable tables automatically on your main shop page templates, without having to use a block or shortcode.
    8381
    8482== Screenshots ==
     
    8987
    9088== Changelog ==
     89
     90= 1.0.11 =
     91* Tested with the latest version of WordPress and WooCommerce
     92* Added the integration with PHP 8.3
     93* Integrated with the latest version of WooCommerce Product Table
     94
     95<!-- more -->
    9196
    9297= 1.0.10 =
  • block-for-woo-product-table/tags/1.0.11/src/class-block.php

    r2726306 r3187292  
    1111namespace Barn2\Plugin\WC_Product_Table_Block;
    1212
    13 use Barn2\Plugin\WC_Product_Table\Util\Columns_Util;
     13use Barn2\Plugin\WC_Product_Table\Util\Columns as Columns_Util;
    1414
    1515/**
     
    113113        );
    114114
     115        wp_localize_script(
     116            'barn2-wc-product-table-block',
     117            'info',
     118            [
     119                'table_builder' => admin_url( 'edit.php?post_type=product&page=tables&add-new' )
     120            ]
     121        );
     122
     123
    115124        if ( ! Plugin::is_wpt_safe() ) {
    116125
     
    122131                    'message' => __( 'Warning! This block is an add-on for the %s plugin, which is not currently installed. Please sign up for a free trial and install the plugin before continuing.', 'block-for-woo-product-table' ),
    123132                    'link_text' => __( 'WooCommerce Product Table', 'block-for-woo-product-table' ),
    124                     'link' => 'https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/?utm_source=plugin&utm_medium=wptblock&utm_campaign=wptaddblock&utm_content=wptblockdashboard'
     133                    'link' => 'https://barn2.com/wordpress-plugins/woocommerce-product-table/?utm_source=plugin&utm_medium=wptblock&utm_campaign=wptaddblock&utm_content=wptblockdashboard',
    125134                ]
    126135            );
  • block-for-woo-product-table/tags/1.0.11/src/class-compat.php

    r2448554 r3187292  
    9191    public static function wcpt_version() {
    9292
    93         return Plugin::is_wpt_safe() ? \Barn2\Plugin\WC_Product_Table\PLUGIN_VERSION : null;
     93        return Plugin::is_wpt_safe() ? \Barn2\Plugin\WC_Product_Table\PLUGIN_VERSION : '';
    9494
    9595    }
  • block-for-woo-product-table/tags/1.0.11/src/class-plugin.php

    r2726306 r3187292  
    100100        return $this->is_php_version_safe()
    101101            && $this->is_wordpress_safe()
    102             && $this->is_woocommerce_safe();
    103             //&& $this->is_wpt_safe();
     102            && $this->is_woocommerce_safe()
     103            && $this->is_wpt_safe();
    104104    }
    105105
  • block-for-woo-product-table/trunk/.git/FETCH_HEAD

    r3076543 r3187292  
    110667d5c0f615e2ade3284ed989af5cd5f16244a0        branch 'block-redesign' of https://github.com/barn2plugins/block-for-woo-product-table
    2 51ea65c1e7c5a87a47b4e2c1ff263eea4e638e27        branch 'master' of https://github.com/barn2plugins/block-for-woo-product-table
     2b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3        branch 'master' of https://github.com/barn2plugins/block-for-woo-product-table
    33f59f8d53bcc2153c2f98e5f2ec41b0ab7dd9d8b5        branch 'trello-478--free-trial-language' of https://github.com/barn2plugins/block-for-woo-product-table
    44195fa274d6c20cde4648bb8ffc5bb08c53d1b297        branch 'update/compatibility-changes' of https://github.com/barn2plugins/block-for-woo-product-table
     5b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3    not-for-merge   tag '1.0.11' of https://github.com/barn2plugins/block-for-woo-product-table
    5674b67b8ee5c36a9b0c761779800ad0d71ebb9362    not-for-merge   tag '1.0.2' of https://github.com/barn2plugins/block-for-woo-product-table
    67d8199e55b21d73344125923e181a7a2663c8ae3c    not-for-merge   tag '1.0.3' of https://github.com/barn2plugins/block-for-woo-product-table
  • block-for-woo-product-table/trunk/.git/HEAD

    r3076543 r3187292  
    1 51ea65c1e7c5a87a47b4e2c1ff263eea4e638e27
     1b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3
  • block-for-woo-product-table/trunk/.git/logs/HEAD

    r3076543 r3187292  
    1 0000000000000000000000000000000000000000 51ea65c1e7c5a87a47b4e2c1ff263eea4e638e27 runner <runner@fv-az1153-853.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net> 1713969830 +0000    checkout: moving from master to 51ea65c1e7c5a87a47b4e2c1ff263eea4e638e27
     10000000000000000000000000000000000000000 b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3 runner <runner@fv-az1116-512.iopidld3wkhelkdxw22dv3nexc.bx.internal.cloudapp.net> 1731490825 +0000    checkout: moving from master to b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3
  • block-for-woo-product-table/trunk/.git/logs/refs/remotes/origin/block-redesign

    r3076543 r3187292  
    1 0000000000000000000000000000000000000000 0667d5c0f615e2ade3284ed989af5cd5f16244a0 runner <runner@fv-az1153-853.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net> 1713969830 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
     10000000000000000000000000000000000000000 0667d5c0f615e2ade3284ed989af5cd5f16244a0 runner <runner@fv-az1116-512.iopidld3wkhelkdxw22dv3nexc.bx.internal.cloudapp.net> 1731490825 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
  • block-for-woo-product-table/trunk/.git/logs/refs/remotes/origin/master

    r3076543 r3187292  
    1 0000000000000000000000000000000000000000 51ea65c1e7c5a87a47b4e2c1ff263eea4e638e27 runner <runner@fv-az1153-853.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net> 1713969830 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
     10000000000000000000000000000000000000000 b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3 runner <runner@fv-az1116-512.iopidld3wkhelkdxw22dv3nexc.bx.internal.cloudapp.net> 1731490825 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
  • block-for-woo-product-table/trunk/.git/logs/refs/remotes/origin/trello-478--free-trial-language

    r3076543 r3187292  
    1 0000000000000000000000000000000000000000 f59f8d53bcc2153c2f98e5f2ec41b0ab7dd9d8b5 runner <runner@fv-az1153-853.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net> 1713969830 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
     10000000000000000000000000000000000000000 f59f8d53bcc2153c2f98e5f2ec41b0ab7dd9d8b5 runner <runner@fv-az1116-512.iopidld3wkhelkdxw22dv3nexc.bx.internal.cloudapp.net> 1731490825 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
  • block-for-woo-product-table/trunk/.git/logs/refs/remotes/origin/update/compatibility-changes

    r3076543 r3187292  
    1 0000000000000000000000000000000000000000 195fa274d6c20cde4648bb8ffc5bb08c53d1b297 runner <runner@fv-az1153-853.j2xen23xrnaetdgy434mngmvif.cx.internal.cloudapp.net> 1713969830 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
     10000000000000000000000000000000000000000 195fa274d6c20cde4648bb8ffc5bb08c53d1b297 runner <runner@fv-az1116-512.iopidld3wkhelkdxw22dv3nexc.bx.internal.cloudapp.net> 1731490825 +0000    fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/*: storing head
  • block-for-woo-product-table/trunk/.git/refs/remotes/origin/master

    r3076543 r3187292  
    1 51ea65c1e7c5a87a47b4e2c1ff263eea4e638e27
     1b6f0e9d43d3b40f9f4d4666d39ce6739eac85ce3
  • block-for-woo-product-table/trunk/.gitignore

    r2879989 r3187292  
    1010package-lock.json
    1111config.json
     12block-for-woo-product-table.zip
  • block-for-woo-product-table/trunk/assets/js/editor.js

    r2726306 r3187292  
    3030
    3131    let description = __( 'Display a searchable table listing any or all of your products.', 'block-for-woo-product-table' );
    32     if ( typeof wcptbInvalid !== 'undefined' ) {
     32    if ( typeof info !== 'undefined' ) {
    3333        description = [ description, ' ', el(
    3434            'strong',
     
    9292            let blockStructure;
    9393
    94             if ( typeof wcptbInvalid !== 'undefined' ) {
     94            if ( typeof info !== 'undefined' ) {
    9595
    9696                let messageSplit = wcptbInvalid.message.split('%s'), message;
     
    157157                                            { className: 'block-description' },
    158158                                            [
    159                                                 __( 'Lists products in a table view using the WooCommerce Product Table plugin. ', 'block-for-woo-product-table' ),
     159                                                __( 'Lists products in a table view using the WooCommerce Product Table plugin. For more features, use the ', 'block-for-woo-product-table' ),
    160160                                                el(
    161161                                                    'a',
    162                                                     { href: 'https://barn2.co.uk/kb/woocommerce-product-table-gutenberg/', target: '_blank' },
    163                                                     __( 'Documentation', 'block-for-woo-product-table' )
     162                                                    { href: info.table_builder, target: '_blank' },
     163                                                    __( 'central table builder.', 'block-for-woo-product-table' )
    164164                                                )
    165165                                            ]
  • block-for-woo-product-table/trunk/assets/js/editor.min.js

    r2726306 r3187292  
    33 * Copyright 2021 Barn2 Plugins
    44 */
    5 "use strict";function _createForOfIteratorHelper(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return l=e.done,e},e:function(e){c=!0,a=e},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw a}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}(function(c,e){var i=c.i18n.__,t=c.element,s=t.Fragment,r=t.createElement,u=t.RawHTML,f=c.blockEditor.InspectorControls,o=c.components,d=o.Placeholder,b=o.Icon,p=e.ProductTableColumns,m=e.ProductSelection,v=e.SettingsPanel,y=r,g=y("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24"},c.element.createElement("path",{d:"M4,21h15.893c1.103,0,2-0.897,2-2V7V5v0l0,0c0-1.103-0.897-2-2-2H4C2.897,3,2,3.897,2,5v14C2,20.103,2.897,21,4,21z M4,19 v-5h4v5H4z M14,7v5h-4V7H14z M8,7v5H4V7H8z M10,19v-5h4v5H10z M16,19v-5h3.894v5H16z M19.893,12H16V7h3.893V12z"})),n=i("Display a searchable table listing any or all of your products.","block-for-woo-product-table");"undefined"!=typeof wcptbInvalid&&(n=[n," ",y("strong",{},i("Warning! This block is an add-on for the WooCommerce Product Table plugin, which is not currently installed. Please sign up for a free trial and install the plugin before continuing.","block-for-woo-product-table"))]),c.blocks.registerBlockType("barn2/wc-product-table",{title:i("WooCommerce Product Table","block-for-woo-product-table"),description:n,icon:g,category:"woocommerce",attributes:{columns:{type:"array",default:[]},filters:{type:"array",default:[]},settings:{type:"array",default:[]},preview:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,align:["wide","full"]},example:{attributes:{preview:!0}},edit:function(e){var t=e.attributes,r=e.setAttributes;if(t.preview)return y(s,{},y("img",{src:wcptbPreviewImage.src}));var o,n=c.element.createRef();if("undefined"!=typeof wcptbInvalid){var a,l=wcptbInvalid.message.split("%s");a=1<l.length?[l[0],y("a",{href:wcptbInvalid.link,target:"_blank"},wcptbInvalid.link_text),l[1]]:l[0],o=y(d,{icon:g,label:"Product Table",instructions:a})}else o=y(s,null,[y(f,null,[y(v,{onChange:function(e){r({settings:e})},attributes:t})]),y("div",{className:"components-placeholder barn2-wc-product-table-block"},[y("div",{className:"components-placeholder__label"},[y(b,{icon:g,alt:""}),i("Product Table","block-for-woo-product-table")]),y("div",{className:"components-placeholder__fieldset"},[y("span",{className:"block-description"},[i("Lists products in a table view using the WooCommerce Product Table plugin. ","block-for-woo-product-table"),y("a",{href:"https://barn2.co.uk/kb/woocommerce-product-table-gutenberg/",target:"_blank"},i("Documentation","block-for-woo-product-table"))]),y("div",{className:"barn2-wc-product-table-block__options"},[y(p,{columns:t.columns,saveColumns:function(e){r({columns:e})}}),y(m,{attributes:t,saveFilters:function(e){r({filters:e})},ref:n})])],y("p",{className:"additional-settings-notice"},i("You can configure additional settings in the 'Block' tab in the sidebar.","block-for-woo-product-table")))])]);return o},save:function(e){var t="",r=e.attributes;if(r){if(r.columns&&r.columns.length&&(t+=' columns="'+r.columns.join(",")+'"'),r.filters&&r.filters.length){var o,n=_createForOfIteratorHelper(r.filters);try{for(n.s();!(o=n.n()).done;){var a=o.value;t+=" ".concat(a.key,'="').concat(a.value,'"')}}catch(e){n.e(e)}finally{n.f()}}if(r.settings&&r.settings.length){var l,c=_createForOfIteratorHelper(r.settings);try{for(c.s();!(l=c.n()).done;){var i=l.value;if(""!==i.value)if("additional"===i.key)t="".concat(i.value," ")+t;else if("customFilters"!==i.key){if("filters"===i.key&&"custom"===i.value)continue;t+=" ".concat(i.key,'="').concat(i.value,'"')}else t+=' filters="'.concat(i.value,'"')}}catch(e){c.e(e)}finally{c.f()}}(t=t.trim()).length&&(t=" "+t)}return y(u,{},"[product_table".concat(t,"]"))}})})(window.wp,window.productTableBlockComponents);
     5"use strict";function _createForOfIteratorHelper(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0,n=function(){};return{s:n,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,l=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return l=e.done,e},e:function(e){c=!0,a=e},f:function(){try{l||null==r.return||r.return()}finally{if(c)throw a}}}}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}(function(c,e){var i=c.i18n.__,t=c.element,s=t.Fragment,r=t.createElement,u=t.RawHTML,f=c.blockEditor.InspectorControls,o=c.components,d=o.Placeholder,b=o.Icon,p=e.ProductTableColumns,m=e.ProductSelection,v=e.SettingsPanel,y=r,g=y("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24"},c.element.createElement("path",{d:"M4,21h15.893c1.103,0,2-0.897,2-2V7V5v0l0,0c0-1.103-0.897-2-2-2H4C2.897,3,2,3.897,2,5v14C2,20.103,2.897,21,4,21z M4,19 v-5h4v5H4z M14,7v5h-4V7H14z M8,7v5H4V7H8z M10,19v-5h4v5H10z M16,19v-5h3.894v5H16z M19.893,12H16V7h3.893V12z"})),n=i("Display a searchable table listing any or all of your products.","block-for-woo-product-table");"undefined"!=typeof wcptbInvalid&&(n=[n," ",y("strong",{},i("Warning! This block is an add-on for the WooCommerce Product Table plugin, which is not currently installed. Please sign up for a free trial and install the plugin before continuing.","block-for-woo-product-table"))]),c.blocks.registerBlockType("barn2/wc-product-table",{title:i("WooCommerce Product Table","block-for-woo-product-table"),description:n,icon:g,category:"woocommerce",attributes:{columns:{type:"array",default:[]},filters:{type:"array",default:[]},settings:{type:"array",default:[]},preview:{type:"boolean",default:!1}},supports:{customClassName:!1,className:!1,html:!1,align:["wide","full"]},example:{attributes:{preview:!0}},edit:function(e){var t=e.attributes,r=e.setAttributes;if(t.preview)return y(s,{},y("img",{src:wcptbPreviewImage.src}));var o,n=c.element.createRef();if("undefined"!=typeof wcptbInvalid){var a,l=wcptbInvalid.message.split("%s");a=1<l.length?[l[0],y("a",{href:wcptbInvalid.link,target:"_blank"},wcptbInvalid.link_text),l[1]]:l[0],o=y(d,{icon:g,label:"Product Table",instructions:a})}else o=y(s,null,[y(f,null,[y(v,{onChange:function(e){r({settings:e})},attributes:t})]),y("div",{className:"components-placeholder barn2-wc-product-table-block"},[y("div",{className:"components-placeholder__label"},[y(b,{icon:g,alt:""}),i("Product Table","block-for-woo-product-table")]),y("div",{className:"components-placeholder__fieldset"},[y("span",{className:"block-description"},[i("Lists products in a table view using the WooCommerce Product Table plugin. For more features, use the ","block-for-woo-product-table"),y("a",{href:info.table_builder,target:"_blank"},i("central table builder","block-for-woo-product-table"))]),y("div",{className:"barn2-wc-product-table-block__options"},[y(p,{columns:t.columns,saveColumns:function(e){r({columns:e})}}),y(m,{attributes:t,saveFilters:function(e){r({filters:e})},ref:n})])],y("p",{className:"additional-settings-notice"},i("You can configure additional settings in the 'Block' tab in the sidebar.","block-for-woo-product-table")))])]);return o},save:function(e){var t="",r=e.attributes;if(r){if(r.columns&&r.columns.length&&(t+=' columns="'+r.columns.join(",")+'"'),r.filters&&r.filters.length){var o,n=_createForOfIteratorHelper(r.filters);try{for(n.s();!(o=n.n()).done;){var a=o.value;t+=" ".concat(a.key,'="').concat(a.value,'"')}}catch(e){n.e(e)}finally{n.f()}}if(r.settings&&r.settings.length){var l,c=_createForOfIteratorHelper(r.settings);try{for(c.s();!(l=c.n()).done;){var i=l.value;if(""!==i.value)if("additional"===i.key)t="".concat(i.value," ")+t;else if("customFilters"!==i.key){if("filters"===i.key&&"custom"===i.value)continue;t+=" ".concat(i.key,'="').concat(i.value,'"')}else t+=' filters="'.concat(i.value,'"')}}catch(e){c.e(e)}finally{c.f()}}(t=t.trim()).length&&(t=" "+t)}return y(u,{},"[product_table".concat(t,"]"))}})})(window.wp,window.productTableBlockComponents);
  • block-for-woo-product-table/trunk/block-for-woo-product-table.php

    r3076543 r3187292  
    1414 * Plugin URI:      https://barn2.co.uk/wordpress-plugins/block-for-woo-product-table/
    1515 * Description:     Adds an editor block to the WooCommerce Product Table plugin by Barn2, making it quick and easy to create product tables with the block editor.
    16  * Version:         1.0.10
     16 * Version:         1.0.11
    1717 * Author:          Barn2 Plugins
    1818 * Author URI:      https://barn2.co.uk
     
    2121 *
    2222 * WC requires at least: 7.2
    23  * WC tested up to: 8.8.2
     23 * WC tested up to: 9.3.3
     24 * Requires at least:     6.1.0
     25 * Requires PHP:          7.4
    2426 *
    2527 * Copyright:       Barn2 Media Ltd
     
    3436}
    3537
    36 const PLUGIN_VERSION = '1.0.10';
     38const PLUGIN_VERSION = '1.0.11';
    3739const PLUGIN_FILE    = __FILE__;
    3840
  • block-for-woo-product-table/trunk/package.json

    r3076543 r3187292  
    11{
    22    "name": "wc-product-table-block",
    3     "version": "1.0.10",
     3    "version": "1.0.11",
    44    "description": "Build package for plugins",
    55    "main": "gulpfile.js",
  • block-for-woo-product-table/trunk/readme.txt

    r3076543 r3187292  
    55Tags: gutenberg block, blocks, block, product table, order form
    66Requires at least: 6.1
    7 Tested up to: 6.5.2
     7Tested up to: 6.7
    88Requires PHP: 7.4
    9 Stable tag: 1.0.10
     9Stable tag: 1.0.11
    1010License: GPL-3.0
    1111License URI: https://www.gnu.org/licenses/gpl.html
     
    1515== Description ==
    1616
    17 *Gutenberg Block for WooCommerce Product Table* adds a user-friendly editor block to the [WooCommerce Product Table](https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=gutenbergwpt&utm_content=gutenbergwpt) plugin by Barn2, providing an easier way for Gutenberg users to create product tables. It requires WooCommerce Product Table (available separately) to work.
     17*Note: Since building this block plugin, we have added an interactive table builder to the main WooCommerce Product Table plugin. This makes it easy to create product tables and insert them into the block editor or any page builder. While you can still use the block plugin, it is no longer actively being developed and we recommend using the built-in table builder instead, which has more features.*
    1818
    19 [WooCommerce Product Table](https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=gutenbergwpt&utm_content=gutenbergwpt) lists products in a quick order form layout designed to increase your sales and average order value. Instead of having to visit a separate page for each product, customers can select products, quantities and variations from the product table and quickly add them to the cart.
     19Gutenberg Block for WooCommerce Product Table adds a user-friendly editor block to the [WooCommerce Product Table](https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=gutenbergwpt&utm_content=gutenbergwpt) plugin by Barn2, providing an easier way for Gutenberg users to create product tables. It requires WooCommerce Product Table (available separately) to work.
     20
     21WooCommerce Product Table lists products in a quick order form layout designed to increase your sales and average order value. Instead of having to visit a separate page for each product, customers can select products, quantities and variations from the product table and quickly add them to the cart.
    2022
    2123WooCommerce Product Table is highly flexible and you can choose which products to include, a wide range of column options, filters, instant AJAX search, add to cart button styles, and more.
    2224
    23 *Gutenberg Block for WooCommerce Product Table* makes it easy to insert product tables anywhere on your site using the Gutenberg editor. This gives you full control over your product tables, without having to use shortcodes.
     25*Gutenberg Block for WooCommerce Product Table* makes it easy to insert product tables anywhere on your site using the Gutenberg editor. This gives you full control over your product tables.
    2426
    2527https://www.youtube.com/watch?v=yEsK8KEi0mk
     
    7678
    7779= Can I create product tables if I’m not using Gutenberg? =
    78 If you’re not using Gutenberg then you can use [WooCommerce Product Table](https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=gutenbergwpt&utm_content=gutenbergwpt) without Gutenberg Block for WooCommerce Product Table.
    79 
    80 You can create product tables by adding the [[product_table] shortcode](https://barn2.co.uk/kb/product-table-options/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=gutenbergwpt&utm_content=gutenbergwpt) anywhere on your site, including text, HTML or shortcode blocks in other page builders such as Elementor, Divi Builder and Visual Composer.
    81 
    82 There are also options on the WooCommerce Product Table plugin settings page which automatically enable the product table layout on your shop and/or product category pages.
     80Yes, [WooCommerce Product Table](https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/?utm_source=wporg&utm_medium=freeplugin&utm_campaign=gutenbergwpt&utm_content=gutenbergwpt) comes with a built-in table builder which works with all WordPress editors and page builders. Simply install WooCommerce Product Table and go to *Products > Product Tables > Add New* to create tables. The final page of the table builder provides a shortcode which you can use to insert the table anywhere on your site. You can also enable tables automatically on your main shop page templates, without having to use a block or shortcode.
    8381
    8482== Screenshots ==
     
    8987
    9088== Changelog ==
     89
     90= 1.0.11 =
     91* Tested with the latest version of WordPress and WooCommerce
     92* Added the integration with PHP 8.3
     93* Integrated with the latest version of WooCommerce Product Table
     94
     95<!-- more -->
    9196
    9297= 1.0.10 =
  • block-for-woo-product-table/trunk/src/class-block.php

    r2726306 r3187292  
    1111namespace Barn2\Plugin\WC_Product_Table_Block;
    1212
    13 use Barn2\Plugin\WC_Product_Table\Util\Columns_Util;
     13use Barn2\Plugin\WC_Product_Table\Util\Columns as Columns_Util;
    1414
    1515/**
     
    113113        );
    114114
     115        wp_localize_script(
     116            'barn2-wc-product-table-block',
     117            'info',
     118            [
     119                'table_builder' => admin_url( 'edit.php?post_type=product&page=tables&add-new' )
     120            ]
     121        );
     122
     123
    115124        if ( ! Plugin::is_wpt_safe() ) {
    116125
     
    122131                    'message' => __( 'Warning! This block is an add-on for the %s plugin, which is not currently installed. Please sign up for a free trial and install the plugin before continuing.', 'block-for-woo-product-table' ),
    123132                    'link_text' => __( 'WooCommerce Product Table', 'block-for-woo-product-table' ),
    124                     'link' => 'https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/?utm_source=plugin&utm_medium=wptblock&utm_campaign=wptaddblock&utm_content=wptblockdashboard'
     133                    'link' => 'https://barn2.com/wordpress-plugins/woocommerce-product-table/?utm_source=plugin&utm_medium=wptblock&utm_campaign=wptaddblock&utm_content=wptblockdashboard',
    125134                ]
    126135            );
  • block-for-woo-product-table/trunk/src/class-compat.php

    r2448554 r3187292  
    9191    public static function wcpt_version() {
    9292
    93         return Plugin::is_wpt_safe() ? \Barn2\Plugin\WC_Product_Table\PLUGIN_VERSION : null;
     93        return Plugin::is_wpt_safe() ? \Barn2\Plugin\WC_Product_Table\PLUGIN_VERSION : '';
    9494
    9595    }
  • block-for-woo-product-table/trunk/src/class-plugin.php

    r2726306 r3187292  
    100100        return $this->is_php_version_safe()
    101101            && $this->is_wordpress_safe()
    102             && $this->is_woocommerce_safe();
    103             //&& $this->is_wpt_safe();
     102            && $this->is_woocommerce_safe()
     103            && $this->is_wpt_safe();
    104104    }
    105105
Note: See TracChangeset for help on using the changeset viewer.