ShortcodeGlut provides a collection of powerful shortcodes for displaying WooCommerce products in beautiful, customizable layouts. Perfect for creating product showcases, sale displays, category listings, and interactive data tables without any coding knowledge.
AVAILABLE SHORTCODES
- [shopglut_product_table] - Interactive product table with search, filters, column sorting, and pagination
- [shopglut_woo_category] - Show products from specific categories with customizable layouts
- [shopglut_sale_products] - Display products currently on sale with discount badges
KEY FEATURES
Product Table Shortcode [shopglut_product_table]:
- Interactive table with click-to-sort columns (ascending/descending)
- Real-time search across all product data
- Dynamic category, tag, and stock status dropdowns (populated from table data)
- Client-side pagination with items per page selector (10, 25, 50, 100)
- AJAX add-to-cart with "View Cart" button after adding
- Two design styles: classic (default) and modern (gradient header)
- Fully responsive - converts to card layout on mobile
- Customizable columns: title, price, stock, categories, tags, SKU, date, thumbnail, rating, sales, and more
- Visual sort indicators (↑ ↓) on column headers
- Results count showing "Showing X to Y of Z entries"
-
Show/hide controls with shortcode parameters
Available Column Fields:
-
title - Product name with link
price - Formatted price with sale pricing
stock - Stock status (In Stock / Out of Stock)
categories - Product category links
tags - Product tag links
date - Product creation date
modified_date - Last modified date
thumbnail - Product image
sku - Product SKU
rating - Star rating display
sales - Total sales count
add_to_cart - Add to Cart button
-
view - View product button
Available Shortcode Parameters:
-
design - Design style: "classic" or "modern" (default: classic)
cols - Column definition with | separator (default: title|price|stock|categories|date|add_to_cart)
colheads - Column headers with | separator (default: Product|Price|Stock|Categories|Date|Action)
title - Table title for modern design
description - Table description for modern design
show_items_per_page - Show items dropdown: 1 or 0 (default: 1)
items_per_page - Default items per page: 10, 25, 50, 100 (default: 10)
show_search - Show search field: 1 or 0 (default: 1)
show_category_filter - Show category dropdown: 1 or 0 (default: 1)
show_tag_filter - Show tag dropdown: 1 or 0 (default: 0)
show_stock_filter - Show stock dropdown: 1 or 0 (default: 0)
orderby - Order field: date, title, price, modified (default: date)
order - Sort direction: ASC or DESC (default: DESC)
categories - Filter by category slugs (comma-separated)
include - Include only specific product IDs
exclude - Exclude specific product IDs
thumb - Show thumbnail: 1 or 0 (default: 0)
thumb_width - Thumbnail width in pixels (default: 48)
sorting - Enable column sorting: 1 or 0 (default: 1)
-
responsive - Enable responsive layout: 1 or 0 (default: 1)
Category Products Shortcode:
-
Display products from one or multiple categories
- Customizable grid layouts for desktop, tablet, and mobile
- Toolbar with search, filter, and sort options
- AJAX pagination for smooth navigation
- Integration with Woo Templates for custom styling
-
Support for custom product display templates
Sale Products Shortcode:
-
Display products currently on sale
- Automatic discount percentage badges
- Customizable grid columns
- Optional pagination and async loading
- Control which elements to show (image, title, price, rating, button)
- Template-based product card customization
- Category filtering support