Skip to content

Settings

Go to the module settings: WPify → Frequently bought together

“Title” field - block heading shown above the recommendations.

Default: Frequently bought together

“Number of products” field - maximum number of recommended products shown in the block.

“Display type” field:

  • Standard - regular layout
  • Slider - horizontal slider (Embla)

Available when using the slider UI (or can be left enabled globally):

  • “Show slider dots” - shows pagination dots under the slider
  • “Show slider arrows” - shows previous/next arrow buttons

“Layout direction” field:

  • Vertical
  • Horizontal

This is most visible in the Minimal template.

“Template” field:

  • Minimal - compact custom markup (title + product links + prices)
  • WooCommerce product loop - uses WooCommerce default loop card markup (content-product.php)

“Columns” field - applies to all templates:

  • WooCommerce loop template (columns-X)
  • Minimal template grid
  • Slider visible slide width/count (desktop)

“Render mode” field:

  • Server - render directly in PHP during page generation
  • AJAX - render via REST API after page load (cache-friendly)

Use AJAX when full-page caching makes dynamic product recommendations hard to keep fresh.

“Display locations” field - multi-select WooCommerce hooks where the FBT block should appear.

Examples:

  • woocommerce_before_add_to_cart_form
  • woocommerce_before_add_to_cart_button
  • woocommerce_after_add_to_cart_button
  • woocommerce_after_add_to_cart_form
  • woocommerce_after_single_product_summary

You can select multiple positions.

“Backfill batch size” field - number of orders processed in one backfill batch.

Recommended starting values:

  • Small stores: 100-200
  • Larger stores: 200-500 (depends on hosting performance)

Custom admin UI for index management:

  • Refresh status - reloads row count and progress
  • Run backfill - processes missing orders in batches
  • Rebuild and backfill - clears the index and rebuilds from eligible orders

The progress UI shows:

  • index table row count
  • indexed / total orders
  • remaining orders
  • batch size

On the product edit screen, the module adds a “Frequently Bought Together” tab (Wpify Custom Fields).

  • Automatic - use computed recommendations only
  • Replace automatic - use manual products only
  • Merge manual + automatic - manual products first, then fill with automatic results

Ordered list of products to use for replace or merge modes.