BuyBundleForm

This is the BuyBundleForm class, a macro class for the productViewHelper.

The purpose of this class is to encapsulate the logic that calculates the view parameters for the product's buy form.

Tags
see
BuyBundleForm::getViewParameters()

Table of Contents

$bundleGrouping  : BundleGrouping|null
$bundleGroupingContent  : string
$bundleId  : int
$class  : string
$mainProducts  : array<string|int, mixed>
$maxQuantity  : int
$minQuantity  : int
$priceWithTaxes  : bool
$quantityPlugin  : bool
$showBasePrice  : bool
$showBundleBuyTitle  : string
$showLabel  : bool
$showPrice  : bool
$showQuantity  : bool
$showQuantitySelectableBox  : bool
$showSaving  : bool
$showTaxText  : bool
__construct() Constructor method for BuyBundleForm class.  : mixed
getViewParameters() This method returns all calculated arguments and new parameters for ProductViewHelper.php  : array<string|int, mixed>
getProperties() Return macro use properties  : array<string|int, mixed>

Properties

$bundleGrouping

public BundleGrouping|null $bundleGrouping = null

$bundleGroupingContent

public string $bundleGroupingContent = ''

$mainProducts

public array<string|int, mixed> $mainProducts = []

$showQuantitySelectableBox

public bool $showQuantitySelectableBox = false

Methods

__construct()

Constructor method for BuyBundleForm class.

public __construct(array<string|int, mixed> $arguments) : mixed
Parameters
$arguments : array<string|int, mixed>
Tags
see
BuyBundleForm
Return values
mixed

getViewParameters()

This method returns all calculated arguments and new parameters for ProductViewHelper.php

public getViewParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

getProperties()

Return macro use properties

protected getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results