Appearance
FluentCart Integration
FluentCart Integration builds a product table from your FluentCart store. Customers can pick variations, add items to the cart, and buy or compare several products at once without leaving the table. It's free: every feature on this page, including bulk add to cart and product comparison, works without Ninja Tables Pro.
You need FluentCart active. If it isn't, the FluentCart products drawer tells you to install or activate it.
Step 1: Create a FluentCart table
- Go to Create Table and, under Connect live data, click FluentCart products.
- Enter a Table name, such as "Men's Shoes". It starts as "FluentCart products".
- Pick the products to show from the Product category and Product brands lists. Leave a list empty to show products from all of its items.
- Turn on Hide out of stock items to leave out products with no stock.
- Set Initial Order By. It starts on Default order. Choose Product Title, Date, Price or Stock to sort, then pick A → Z or Z → A (Z → A is preselected). Visitors can still sort the table by any column.
- Check the engine line. DataTables (recommended) is the default. Click Change to use FooTable. See Choose a table engine.
- Click Create table.
The new table starts with these columns: Image, Name, Category, Price, Total Stock, Variations, Quantity and Buy. Sale prices show the old price struck through.
What the Buy column does
- Simple products: the button reads Add To Cart and adds the product to the cart without leaving the page. Guests can use it too.
- Subscriptions and licensed products: when the product's first variation is a subscription, or the product has licensing turned on, the button reads Buy Now instead. It opens FluentCart's instant checkout for that variation in a new tab.
- Out of stock: the Buy and Quantity cells show "Out Of Stock" instead of a button. To leave out-of-stock products out of the table altogether, turn on Hide out of stock items.
To change the Add To Cart wording, add a column with Field type set to Product Data › Buy Now Button and fill in Buy now button text (see Add new column below). The Buy Now button for subscriptions always keeps its own wording.
Step 2: Change the settings
On the Table Rows tab, the banner reads Rows come from FluentCart products. Click Source settings to open the drawer. It has three sections: Query settings, Appearance and Add new column.
Query settings
The same choices as on the Create screen: Select Products By Category, Select Products By Product Brands, Hide out of stocks items, and Initial order by (Product Title, Date, Price, Stock) with Ascending way or Descending way (shown once an order is chosen). Click Save settings.
Appearance
- Show cart details before table / Show cart details after table: a cart summary above or below the table. It only shows when the visitor's cart isn't empty. A new table has both on.
- Show bulk actions: adds checkboxes and a Bulk Actions menu (Add to Cart, Compare Products). See Bulk add to cart & product comparison.
- Show go to cart button and Show checkout button: buttons that take the customer to the cart or checkout. A new table has both on, and Show bulk actions off.
- Cart text and Checkout text: the wording on those buttons.
Click Save settings.
Add new column
Add a column filled from your product data. For example, to show the short description:
- Open Add new column.
- Enter a Column name, such as "Description", and a Column key.
- Under Dynamic column data, set Field type to Post Data and Field value to Product Short Description.
- Click Add column.
The Product Data field type offers Product Price, Product Price Range, Product Variations, Product Stock, Product Quantity input field, Buy Now Button and Stock Availability. You can also use Post Meta, Shortcode / Computed Value or HTML, Featured Image and Product Taxonomy. See Dynamic columns reference.
Other table settings
The rows are read-only, because they come from FluentCart. The other tabs work as usual:
- Styling: colors, fonts, search, sorting, pagination and mobile layout. See Table style settings.
- Table Configuration: engine, rendering and caching. See Table rendering settings.
- Custom CSS/JS: your own styles. See Table styling & CSS selectors.
Some general table features, such as custom colors and custom filters, are Pro. See Free vs Pro.
Step 3: Show the table
Copy the shortcode from the editor header and paste it into any page or post, or use the Ninja Tables block. See Embed a table.