ProductSettingsInterface

Extends

Interface ProductSettingsInterface

category

System

package

Product

subpackage

Interfaces

Methods

Returns the details template name.

getDetailsTemplate() : string

Response

string

Returns the graduated quantity.

getGraduatedQuantity() : float

Response

float

Returns the minimum order value.

getMinOrder() : float

Response

float

Returns the options details template.

getOptionsDetailsTemplate() : string

Response

string

Returns the options listing template.

getOptionsListingTemplate() : string

Response

string

Returns the price status.

getPriceStatus() : integer

Response

integer

Returns the mode which is used for the quantity check.

getPropertiesCombisQuantityCheckMode() : integer

0 = Default (global stock options) 1 = Products quantity 2 = Combis quantity 3 = No check

Response

integer

Returns the properties dropdown mode.

getPropertiesDropdownMode() : string

Response

string

Returns the sitemap change frequency.

getSitemapChangeFreq() : string

Response

string

Returns the sitemap priority.

getSitemapPriority() : string

Response

string

Returns the Special offer id.

getSpecialOfferId() : integer

Response

integer

The special offer id.

Returns the sort position.

getStartpageSortOrder() : integer

Response

integer

Returns true when the customer status is permitted, false otherwise.

isPermittedCustomerStatus(\IdType $customerStatusId) : boolean

Arguments

$customerStatusId

\IdType

Id of customer status.

Response

boolean

Returns true when the product is to be displayed in the sitemap, false otherwise.

isSitemapEntry() : boolean

Response

boolean

Sets the details listing template.

setDetailsTemplate(\StringType $template) : \ProductSettingsInterface|$this

Arguments

$template

\StringType

Name of the template

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Sets the graduated quantity.

setGraduatedQuantity(\DecimalType $quantity) : \ProductSettingsInterface|$this

Arguments

$quantity

\DecimalType

New graduated quantity.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Sets the min order value.

setMinOrder(\DecimalType $quantity) : \ProductSettingsInterface|$this

Arguments

$quantity

\DecimalType

New minimum order.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Sets the options details template.

setOptionsDetailsTemplate(\StringType $template) : \ProductSettingsInterface|$this

Arguments

$template

\StringType

Name of the template.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Sets the options listing template.

setOptionsListingTemplate(\StringType $template) : \ProductSettingsInterface|$this

Arguments

$template

\StringType

Name of the template.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Sets customer status permissions.

setPermittedCustomerStatus(\IdType $customerStatusId, \BoolType $permitted) : \ProductSettingsInterface|$this

Arguments

$customerStatusId

\IdType

Id of customer status.

$permitted

\BoolType

Is customer permitted or not.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Sets the price status.

setPriceStatus(\IntType $status) : \ProductSettingsInterface|$this

Arguments

$status

\IntType

New price status.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Determine which mode for the quantity check should be used.

setPropertiesCombisQuantityCheckMode(\IntType $status) : \ProductSettings|$this

0 = Default (global stock options) 1 = Products quantity 2 = Combis quantity 3 = No check

Arguments

$status

\IntType

Response

\ProductSettings|$this

Same ProductSettings instance for chained method calls.

Sets the properties dropdown mode.

setPropertiesDropdownMode(\StringType $mode) : \ProductSettingsInterface|$this

Arguments

$mode

\StringType

New properties dropdown mode.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Shows or hides the added date time of a product.

setShowAddedDateTime(\BoolType $status) : \ProductSettingsInterface|$this

Arguments

$status

\BoolType

True when it is to be displayed, false otherwise.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Shows or hides a product on the start page.

setShowOnStartpage(\BoolType $status) : \ProductSettingsInterface|$this

Arguments

$status

\BoolType

True when it should be displayed, false otherwise.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Shows or hides the price offer of a product.

setShowPriceOffer(\BoolType $status) : \ProductSettingsInterface|$this

Arguments

$status

\BoolType

True when it is to be displayed, false otherwise.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Shows or hides the properties price of a product.

setShowPropertiesPrice(\BoolType $status) : \ProductSettingsInterface|$this

Arguments

$status

\BoolType

True when it is to be displayed, false otherwise.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Shows or hides the quantity info of a product.

setShowQuantityInfo(\BoolType $status) : \ProductSettingsInterface|$this

Arguments

$status

\BoolType

True when it is to be displayed, false otherwise.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Shows or hides the weight of a product.

setShowWeight(\BoolType $status) : \ProductSettingsInterface|$this

Arguments

$status

\BoolType

True when it is to be displayed, false otherwise.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Sets the sitemap change frequency.

setSitemapChangeFreq(\StringType $freq) : \ProductSettingsInterface|$this

Arguments

$freq

\StringType

New sitemap change frequency.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Shows or hides a product in the sitemap.

setSitemapEntry(\BoolType $status) : \ProductSettingsInterface|$this

Arguments

$status

\BoolType

True when it is to be displayed, false otherwise.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Sets the sitemap priority.

setSitemapPriority(\StringType $priority) : \ProductSettingsInterface|$this

Arguments

$priority

\StringType

New sitemap priority.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Sets Special offer id.

setSpecialOfferId(\IdType $id) : \ProductSettingsInterface|$this

Arguments

$id

\IdType

The special offer id.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Sets the start page sort order.

setStartpageSortOrder(\IntType $sortOrder) : \ProductSettingsInterface|$this

Arguments

$sortOrder

\IntType

Sort position.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Determine whether the properties combis shipping time is to be used or not.

setUsePropertiesCombisShippingTime(\BoolType $status) : \ProductSettingsInterface|$this

Arguments

$status

\BoolType

True when it is to be used, false otherwise.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Determine whether the properties combis weight is to be used or not.

setUsePropertiesCombisWeight(\BoolType $status) : \ProductSettingsInterface|$this

Arguments

$status

\BoolType

True when it is to be used, false otherwise.

Response

\ProductSettingsInterface|$this

Same ProductSettingsInterface instance for chained method calls.

Returns true when the added date time is to be displayed, false otherwise.

showAddedDateTime() : boolean

Response

boolean

Returns true when the product is displayed on the start page, false otherwise.

showOnStartpage() : boolean

Response

boolean

Returns true when the price offer is to be displayed, false otherwise.

showPriceOffer() : boolean

Response

boolean

Returns true when the properties price is to be displayed, false otherwise.

showPropertiesPrice() : boolean

Response

boolean

Returns true when the quantity info is to be displayed, false otherwise.

showQuantityInfo() : boolean

Response

boolean

Returns true when the weight is to be displayed, false otherwise.

showWeight() : boolean

Response

boolean

Returns true when the properties combis shipping time is to be used, false otherwise.

usePropertiesCombisShippingTime() : boolean

Response

boolean

Returns true when the properties combis weight is to be used, false otherwise.

usePropertiesCombisWeight() : boolean

Response

boolean