SilverCart\Model\Widgets\WidgetTools::getGroupViewTemplateName
Returns the template to render the products with
Signature
public function getGroupViewTemplateName(WidgetController|Widget
$widget,
[string
$templateBaseContent = 'ProductGroupPage',
[string
$templateBaseSidebar = 'WidgetProductBox']] )
Parameters
$widget
—
object
- Widget to get template for
$templateBaseContent
—
string
- Base name for the content widget template
$templateBaseSidebar
—
string
- Base name for the sidebar widget template
Returns
- string