ProductListContentViewGenerator
in package
Class representing the content view for the product list widget
Table of Contents
- generate() : string
- Generate the HTML output of the product slider
Methods
generate()
Generate the HTML output of the product slider
public
static generate(ProductListWidgetCommandConfiguration $commandConfiguration, array<string|int, mixed> $products, string $template[, array<string|int, mixed> $swiperBreakpoints = [] ]) : string
Parameters
- $commandConfiguration : ProductListWidgetCommandConfiguration
- $products : array<string|int, mixed>
-
Product array
- $template : string
-
Template file
- $swiperBreakpoints : array<string|int, mixed> = []