Woocommerce

Design

By default product recommendations on Woocommerce are deployed using the theme style already implemented. It is recommended to use the theme style, however it is possible to deploy custom designs using recommendation blocks pointing to a specific design.

Shortcodes

Basics:
  • [ zlt_default ] => Use this when you like to use the default theme style for recommendations
  • [ zlt tid="1" ] => Use this when you want to specify the design template to use
Parameter
Applicable to
Description
Example
header
zlt_default & zlt
The title above your recommendations
header="You might like"
model
zlt_default & zlt
Set the model to use (leave blank for default)
model="default_collaborative_filter"
tid
zlt only
The design template id to use.
tid="1"
columns
zlt_default only
Set the number of columns (default = 4)
columns="4"
limit
zlt_default only
Limits the number of products being returned
data-prods
zlt_default only
Not yet available
data-mprods
zlt_default only
Not yet available
data-slide
zlt_default only
Number of products to display in slider
data-slide="4"
data-mslide
zlt_default only
Number of products to display in mobile slider
data-mslide="2"
Last modified 1mo ago
Export as PDF
Copy link