Displaying Tables Archives - Plugin Republic https://pluginrepublic.com/support-categories/displaying-tables/ WooCommerce Plugins Thu, 03 Aug 2023 12:39:40 +0000 en-US hourly 1 https://pluginrepublic.com/wp-content/uploads/2020/10/cropped-favicon-1-32x32.png Displaying Tables Archives - Plugin Republic https://pluginrepublic.com/support-categories/displaying-tables/ 32 32 Add date column to product table https://pluginrepublic.com/documentation/add-date-column-to-product-table/ https://pluginrepublic.com/documentation/add-date-column-to-product-table/#respond Mon, 20 Sep 2021 13:19:35 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=1309912 If you’re using Product Table Ultimate, you might want to include a special column in your product table where users can select a date from a calendar for each product. For instance, if your customers can select a delivery date for each product, you can include a datepicker field in each row. To add date […]

The post Add date column to product table appeared first on Plugin Republic.

]]>
If you’re using Product Table Ultimate, you might want to include a special column in your product table where users can select a date from a calendar for each product.

For instance, if your customers can select a delivery date for each product, you can include a datepicker field in each row.

To add date fields to your product tables, you’ll need the Product Add-Ons Ultimate plugin as well as Product Table Ultimate.

You can use either product-level or global fields in the date column.

Using product-level fields

Add your date fields to your products by following these steps. You will need to specify ‘Date’ as the field type. There are more details on date fields here.

To add these fields as a column, you can enter field_date as a column setting. You can enter this in the main settings to ensure the column appears in all your tables or you can enter it in specific tables.

The Product Table Ultimate plugin will use the first date field it finds in any products included in the table.

Using global fields

If you prefer, you can create a single date field globally and apply it to multiple products. There’s more information here about creating global fields.

If you’re using a global field, you need to add it to your table using field_group_1234_5678 where 1234 is your group ID and 5678 is the field ID.

Additional settings

If you only have a date field and no other add-on fields associated with your products, you might want to allow the user to add the products direct to their cart from the table. To enable this, ensure you uncheck the ‘Enable integration’ option in the plugin table settings.

The post Add date column to product table appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/add-date-column-to-product-table/feed/ 0
Display product tables on the shop and category pages https://pluginrepublic.com/documentation/display-product-tables-on-category-pages/ https://pluginrepublic.com/documentation/display-product-tables-on-category-pages/#respond Thu, 22 Oct 2020 10:42:16 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=658630 If you would like to display a product table for specific product categories, you can follow these steps: Go to WooCommerce > Settings > Product Table In the ‘Override Pages’ field, enter which pages you’d like to replace with a product table, e.g. Shop, Category, etc The selected pages will display their products in a […]

The post Display product tables on the shop and category pages appeared first on Plugin Republic.

]]>
If you would like to display a product table for specific product categories, you can follow these steps:

  • Go to WooCommerce > Settings > Product Table
  • In the ‘Override Pages’ field, enter which pages you’d like to replace with a product table, e.g. Shop, Category, etc

The selected pages will display their products in a table instead of the standard WooCommerce layout.

The post Display product tables on the shop and category pages appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/display-product-tables-on-category-pages/feed/ 0
Display a product table https://pluginrepublic.com/documentation/display-a-product-table/ https://pluginrepublic.com/documentation/display-a-product-table/#respond Tue, 08 Sep 2020 15:32:39 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=596343 You can display a product table by using a shortcode or Gutenberg block. Displaying a product table using a shortcode Go to the page where you’d like to display the product and enter the following shortcode: [product_table_ultimate] Publish or update your page. This will now display a product table to your users. When you enter […]

The post Display a product table appeared first on Plugin Republic.

]]>
You can display a product table by using a shortcode or Gutenberg block.

Displaying a product table using a shortcode

Go to the page where you’d like to display the product and enter the following shortcode:

[product_table_ultimate]

Publish or update your page. This will now display a product table to your users.

When you enter the basic shortcode like this, the plugin will use the settings you define at WooCommerce > Settings > Product Table. Click here to find out more about these settings.

Shortcode parameters

You can fine-tune your product using different shortcode parameters. Here’s a list of the available parameters and some examples of how to use them.

  • columns – this parameter defines what columns will be displayed in your table. Choose from “sku, thumbnail, name, short-description, stock, attributes, categories, tags, price, add-to-cart”. Separate each option with a comma.
  • source – define which products to display. Options include “all”, “categories”, “tags”, “taxonomies”, “callback”
  • callback – if you choose “callback” in the “source” parameter, enter the name of your custom query
  • categories – if you choose “categories” in “source” then add a new parameter listing the IDs of the categories you want to display, e.g. categories="23,25"
  • taxonomies – if you choose “taxonomies” in “source” then add a new parameter listing the IDs of the taxonomies you want to display, e.g. taxonomies="23,25"
  • tags – if you choose “tags” in “source” then add a new parameter listing the IDs of the tags you want to display, e.g. tags="23,25"
  • order_by – define how to order the products in the table. Choose from “id”, “sku”, “title”, “price”, “date”, “popularity”, “rating”, “menu_order”
  • order – either “ASC” or “DESC”
  • per_page – how many products to list per page
  • show_quantities – either “yes” or “no”
  • variations_display – if you have variations in your table, you can choose how to display them. Either “none”, “row”, “parent”
  • add_selected – either “yes” or “no” to show a checkbox against each product, allowing users to select multiple products at the same time

There’s further information on each of these settings here.

Displaying a product table using the block editor

To add your table, just click the ‘New Block’ icon and search for the ‘Product Table Ultimate’ block.

By default, the table will follow the default settings. However, you can override these from the block settings.

There’s further information on each of these settings here.

The post Display a product table appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/display-a-product-table/feed/ 0