WOOT - WooCommerce Active Products Tables


[woot_attachments_btn]

The shortcode is the part of the extension “Attachments“. This shortcode generates button with popup window on click where attachments of a product represented. Attributes:

  • id: product ID
  • button_title: button title. Hint: type ‘%s’ to display product title string
  • popup_title: title in the popup header. Hint: type ‘%s’ to display product title string
  • help_title: text of the link on the popup header from the right
  • help_link: link in popup header from the right
  • skin: skin for the table, read more about skins here
  • group: files group number
Example: Demo: https://demo.products-tables.com/woot_attachments_btn/   [...]

[woot_single_btn]

This shortcode generates button, on click show popup with extended information about the woo product.

  • id: product ID,also can be defined automatically if shortcode is on the product single page
  • button_text: link text, for example: ‘Extended information‘
  • columns: (optional) set table columns. Example: . All possible columns keys you can get on the plugin admin page-> tab Settings -> button “All possible columns keys” on the settings table bottom.
  • css_class: CSS class of the link
  • help_title: text of the link on the popup header from the right
  • help_link: link in popup header
  • skin: skin for the table, read more about skins here
Demo page: https://demo.products-tables.com/product/single-product-example/ Demo shortcode: https://demo.products-tables.com/woot_single_btn/ Also read: How to insert shortcodes into the single product page [...]

[woot_compare_btn]

This shortcode is the part of of the extension “Compare” – shows products on compare in popup. Attributes:

  • ids: set using comma products IDs you want to show your customers to compare
  • title: link text
  • css_class: CSS class of the link for view customization
  • help_title: text of the link on the popup header from the right
  • help_link: link in popup header
  • skin: skin for the table, read more about skins here
Demo page: https://demo.products-tables.com/woot_compare/ All columns for can be set in the tab “Settings”   [...]

[woot_gallery]

Special shortcode which display “Single product gallery images“. Attributes:

  • id: product ID,also can be defined automatically if shortcode is on the product single page
Example: Demo page: https://demo.products-tables.com/product/single-product-example/ Also read: How to insert shortcodes into the single product page This shortcode is also represented in the table cell. [...]

[woot_popup_iframe_button]

This shortcode generates button, onclick show popup with page iframe inside.

  • popup_page_link: link to page, template “WOOT Blank Page” should be selected
  • button_text: link text, for example: ‘Send message to the product manager‘
  • popup_title: Popup title
  • css_class: CSS class of the link
  • help_title: text of the link on the popup header from the right
  • help_link: link in popup header
Demo page: https://demo.products-tables.com/product/single-product-example/ Demo shortcode: https://demo.products-tables.com/woot_popup_iframe_button/ Also read: How to insert shortcodes into the single product page The code as an example for developers:
//file functions.php - creating column for table
add_action('woot_profile_extend', function($profile, $action_name) {

    if ($action_name === 'woot_woocommerce_tables') {

        $profile = [
            'title' => 'Ask M [...]

[woot_grouped]

Shortcode to display grouped of the one product. Attributes:

  • id: product ID
  • columns: (optional) set table columns. Example: . All possible columns keys you can get on the plugin admin page-> tab Settings -> button “All possible columns keys” on the settings table bottom.
  • skin: skin for the table, read more about skins here
  • Also nearly all attributes of shortcode is compatible
All columns for can be set in the tab “Settings” Also read: How to insert shortcodes into the single product page This shortcode is also represented in the table cell as button. [...]

[woot_favourites_single_btn]

Special shortcode is the part of the extension “Favourites” – displays “Heart” icon and link below of linked to the current user favourites products, on click will popup with favourites products displayed Attributes:

  • id: product ID,also can be defined automatically if shortcode is on the product single page
  • help_title: text of the link on the popup header from the right
  • help_link: link in popup header
  • skin: skin for the table, read more about skins here
Example: Demo page: https://demo.products-tables.com/product/single-product-example/ Also read: How to insert shortcodes into the single product page   [...]

[woot_button]

This shortcode displays button, on click woo product table in popup appears. See the demo. Examples:

Attributes:
  • class: CSS class of the link, you can set button class of the current WordPress theme
  • title: text of the link
  • popup_title: text on the popup header
  • help_title: text of the link on the popup header from the right
  • help_link: link in popup header
  • all attributes described in shortcode
[...]

[woot]

Main shortcode for the WooCommerce Products Table. Draws woo products table. Can be used without attributes using default values. With attribute ‘id‘ (table id) used to display created tables in the plugin backend. All attributes has higher priority than the settings in the backend! Attributes:

  • id: main attribute, means created on the backend table ID. You can create table and overload some its parameters with attributes below.
  • columns: set table columns. Example: . All possible columns keys you can get on the plugin admin page-> tab Settings -> button “All possible columns keys” on the settings table bottom.
  • cells_width: set width of the columns according to their order in the table:
  • per_page: set products count per page
  • per_page_sel_pp: set values per page, example:
  • per_page_position: set pagination position. Example:
    • t – top
    • b – bottom
    • tb – top and bott [...]

[woot_single]

Special shortcode to display one product data in 2 columns. Use it to show difficult content. Attributes:

  • id: product ID
  • columns: set table columns. Example: . All possible columns keys you can get on the plugin admin page-> tab Settings -> button “All possible columns keys” on the settings table bottom.
  • table_id: use any table ID, to get its columns set
  • variations_as: how to display variations in the single table, possible values: table, button
  • variations_per_page: products per page for variations table
  • variations_columns: columns in the variations table
  • upsells_as: how to display upsells in the single table, possible values: table, button
  • upsells_per_page: products per page for upsells table
  • upsells_columns: columns in the cross sells table
  • cross_as: how to display cross sells in the single table, possible values: table, button
  • cross_per_page: products per page for [...]