ProductSettingsInterface
in
Interface ProductSettingsInterface
Tags
Table of Contents
- getDetailsTemplate() : string
- Returns the details template name.
- getGraduatedQuantity() : float
- Returns the graduated quantity.
- getMinOrder() : float
- Returns the minimum order value.
- getOptionsDetailsTemplate() : string
- Returns the options details template.
- getOptionsListingTemplate() : string
- Returns the options listing template.
- getPriceStatus() : int
- Returns the price status.
- getPropertiesCombisQuantityCheckMode() : int
- Returns the mode which is used for the quantity check.
- getPropertiesDropdownMode() : string
- Returns the properties dropdown mode.
- getSitemapChangeFreq() : string
- Returns the sitemap change frequency.
- getSitemapPriority() : string
- Returns the sitemap priority.
- getSpecialOfferId() : int
- Returns the Special offer id.
- getStartpageSortOrder() : int
- Returns the sort position.
- isPermittedCustomerStatus() : bool
- Returns true when the customer status is permitted, false otherwise.
- isSitemapEntry() : bool
- Returns true when the product is to be displayed in the sitemap, false otherwise.
- setDetailsTemplate() : ProductSettingsInterface|$this
- Sets the details listing template.
- setGraduatedQuantity() : ProductSettingsInterface|$this
- Sets the graduated quantity.
- setMinOrder() : ProductSettingsInterface|$this
- Sets the min order value.
- setOptionsDetailsTemplate() : ProductSettingsInterface|$this
- Sets the options details template.
- setOptionsListingTemplate() : ProductSettingsInterface|$this
- Sets the options listing template.
- setPermittedCustomerStatus() : ProductSettingsInterface|$this
- Sets customer status permissions.
- setPriceStatus() : ProductSettingsInterface|$this
- Sets the price status.
- setPropertiesCombisQuantityCheckMode() : ProductSettings|$this
- Determine which mode for the quantity check should be used.
- setPropertiesDropdownMode() : ProductSettingsInterface|$this
- Sets the properties dropdown mode.
- setShowAddedDateTime() : ProductSettingsInterface|$this
- Shows or hides the added date time of a product.
- setShowOnStartpage() : ProductSettingsInterface|$this
- Shows or hides a product on the start page.
- setShowPriceOffer() : ProductSettingsInterface|$this
- Shows or hides the price offer of a product.
- setShowPropertiesPrice() : ProductSettingsInterface|$this
- Shows or hides the properties price of a product.
- setShowQuantityInfo() : ProductSettingsInterface|$this
- Shows or hides the quantity info of a product.
- setShowWeight() : ProductSettingsInterface|$this
- Shows or hides the weight of a product.
- setSitemapChangeFreq() : ProductSettingsInterface|$this
- Sets the sitemap change frequency.
- setSitemapEntry() : ProductSettingsInterface|$this
- Shows or hides a product in the sitemap.
- setSitemapPriority() : ProductSettingsInterface|$this
- Sets the sitemap priority.
- setSpecialOfferId() : ProductSettingsInterface|$this
- Sets Special offer id.
- setStartpageSortOrder() : ProductSettingsInterface|$this
- Sets the start page sort order.
- setUsePropertiesCombisShippingTime() : ProductSettingsInterface|$this
- Determine whether the properties combis shipping time is to be used or not.
- setUsePropertiesCombisWeight() : ProductSettingsInterface|$this
- Determine whether the properties combis weight is to be used or not.
- showAddedDateTime() : bool
- Returns true when the added date time is to be displayed, false otherwise.
- showOnStartpage() : bool
- Returns true when the product is displayed on the start page, false otherwise.
- showPriceOffer() : bool
- Returns true when the price offer is to be displayed, false otherwise.
- showPropertiesPrice() : bool
- Returns true when the properties price is to be displayed, false otherwise.
- showQuantityInfo() : bool
- Returns true when the quantity info is to be displayed, false otherwise.
- showWeight() : bool
- Returns true when the weight is to be displayed, false otherwise.
- usePropertiesCombisShippingTime() : bool
- Returns true when the properties combis shipping time is to be used, false otherwise.
- usePropertiesCombisWeight() : bool
- Returns true when the properties combis weight is to be used, false otherwise.
Methods
getDetailsTemplate()
Returns the details template name.
public
getDetailsTemplate() : string
Return values
string —getGraduatedQuantity()
Returns the graduated quantity.
public
getGraduatedQuantity() : float
Return values
float —getMinOrder()
Returns the minimum order value.
public
getMinOrder() : float
Return values
float —getOptionsDetailsTemplate()
Returns the options details template.
public
getOptionsDetailsTemplate() : string
Return values
string —getOptionsListingTemplate()
Returns the options listing template.
public
getOptionsListingTemplate() : string
Return values
string —getPriceStatus()
Returns the price status.
public
getPriceStatus() : int
Return values
int —getPropertiesCombisQuantityCheckMode()
Returns the mode which is used for the quantity check.
public
getPropertiesCombisQuantityCheckMode() : int
0 = Default (global stock options) 1 = Products quantity 2 = Combis quantity 3 = No check
Return values
int —getPropertiesDropdownMode()
Returns the properties dropdown mode.
public
getPropertiesDropdownMode() : string
Return values
string —getSitemapChangeFreq()
Returns the sitemap change frequency.
public
getSitemapChangeFreq() : string
Return values
string —getSitemapPriority()
Returns the sitemap priority.
public
getSitemapPriority() : string
Return values
string —getSpecialOfferId()
Returns the Special offer id.
public
getSpecialOfferId() : int
Return values
int —The special offer id.
getStartpageSortOrder()
Returns the sort position.
public
getStartpageSortOrder() : int
Return values
int —isPermittedCustomerStatus()
Returns true when the customer status is permitted, false otherwise.
public
isPermittedCustomerStatus(IdType $customerStatusId) : bool
Parameters
- $customerStatusId : IdType
-
Id of customer status.
Return values
bool —isSitemapEntry()
Returns true when the product is to be displayed in the sitemap, false otherwise.
public
isSitemapEntry() : bool
Return values
bool —setDetailsTemplate()
Sets the details listing template.
public
setDetailsTemplate(StringType $template) : ProductSettingsInterface|$this
Parameters
- $template : StringType
-
Name of the template
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setGraduatedQuantity()
Sets the graduated quantity.
public
setGraduatedQuantity(DecimalType $quantity) : ProductSettingsInterface|$this
Parameters
- $quantity : DecimalType
-
New graduated quantity.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setMinOrder()
Sets the min order value.
public
setMinOrder(DecimalType $quantity) : ProductSettingsInterface|$this
Parameters
- $quantity : DecimalType
-
New minimum order.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setOptionsDetailsTemplate()
Sets the options details template.
public
setOptionsDetailsTemplate(StringType $template) : ProductSettingsInterface|$this
Parameters
- $template : StringType
-
Name of the template.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setOptionsListingTemplate()
Sets the options listing template.
public
setOptionsListingTemplate(StringType $template) : ProductSettingsInterface|$this
Parameters
- $template : StringType
-
Name of the template.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setPermittedCustomerStatus()
Sets customer status permissions.
public
setPermittedCustomerStatus(IdType $customerStatusId, BoolType $permitted) : ProductSettingsInterface|$this
Parameters
- $customerStatusId : IdType
-
Id of customer status.
- $permitted : BoolType
-
Is customer permitted or not.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setPriceStatus()
Sets the price status.
public
setPriceStatus(IntType $status) : ProductSettingsInterface|$this
Parameters
- $status : IntType
-
New price status.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setPropertiesCombisQuantityCheckMode()
Determine which mode for the quantity check should be used.
public
setPropertiesCombisQuantityCheckMode(IntType $status) : ProductSettings|$this
0 = Default (global stock options) 1 = Products quantity 2 = Combis quantity 3 = No check
Parameters
- $status : IntType
Return values
ProductSettings|$this —Same ProductSettings instance for chained method calls.
setPropertiesDropdownMode()
Sets the properties dropdown mode.
public
setPropertiesDropdownMode(StringType $mode) : ProductSettingsInterface|$this
Parameters
- $mode : StringType
-
New properties dropdown mode.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setShowAddedDateTime()
Shows or hides the added date time of a product.
public
setShowAddedDateTime(BoolType $status) : ProductSettingsInterface|$this
Parameters
- $status : BoolType
-
True when it is to be displayed, false otherwise.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setShowOnStartpage()
Shows or hides a product on the start page.
public
setShowOnStartpage(BoolType $status) : ProductSettingsInterface|$this
Parameters
- $status : BoolType
-
True when it should be displayed, false otherwise.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setShowPriceOffer()
Shows or hides the price offer of a product.
public
setShowPriceOffer(BoolType $status) : ProductSettingsInterface|$this
Parameters
- $status : BoolType
-
True when it is to be displayed, false otherwise.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setShowPropertiesPrice()
Shows or hides the properties price of a product.
public
setShowPropertiesPrice(BoolType $status) : ProductSettingsInterface|$this
Parameters
- $status : BoolType
-
True when it is to be displayed, false otherwise.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setShowQuantityInfo()
Shows or hides the quantity info of a product.
public
setShowQuantityInfo(BoolType $status) : ProductSettingsInterface|$this
Parameters
- $status : BoolType
-
True when it is to be displayed, false otherwise.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setShowWeight()
Shows or hides the weight of a product.
public
setShowWeight(BoolType $status) : ProductSettingsInterface|$this
Parameters
- $status : BoolType
-
True when it is to be displayed, false otherwise.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setSitemapChangeFreq()
Sets the sitemap change frequency.
public
setSitemapChangeFreq(StringType $freq) : ProductSettingsInterface|$this
Parameters
- $freq : StringType
-
New sitemap change frequency.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setSitemapEntry()
Shows or hides a product in the sitemap.
public
setSitemapEntry(BoolType $status) : ProductSettingsInterface|$this
Parameters
- $status : BoolType
-
True when it is to be displayed, false otherwise.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setSitemapPriority()
Sets the sitemap priority.
public
setSitemapPriority(StringType $priority) : ProductSettingsInterface|$this
Parameters
- $priority : StringType
-
New sitemap priority.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setSpecialOfferId()
Sets Special offer id.
public
setSpecialOfferId(IdType $id) : ProductSettingsInterface|$this
Parameters
- $id : IdType
-
The special offer id.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setStartpageSortOrder()
Sets the start page sort order.
public
setStartpageSortOrder(IntType $sortOrder) : ProductSettingsInterface|$this
Parameters
- $sortOrder : IntType
-
Sort position.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setUsePropertiesCombisShippingTime()
Determine whether the properties combis shipping time is to be used or not.
public
setUsePropertiesCombisShippingTime(BoolType $status) : ProductSettingsInterface|$this
Parameters
- $status : BoolType
-
True when it is to be used, false otherwise.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
setUsePropertiesCombisWeight()
Determine whether the properties combis weight is to be used or not.
public
setUsePropertiesCombisWeight(BoolType $status) : ProductSettingsInterface|$this
Parameters
- $status : BoolType
-
True when it is to be used, false otherwise.
Return values
ProductSettingsInterface|$this —Same ProductSettingsInterface instance for chained method calls.
showAddedDateTime()
Returns true when the added date time is to be displayed, false otherwise.
public
showAddedDateTime() : bool
Return values
bool —showOnStartpage()
Returns true when the product is displayed on the start page, false otherwise.
public
showOnStartpage() : bool
Return values
bool —showPriceOffer()
Returns true when the price offer is to be displayed, false otherwise.
public
showPriceOffer() : bool
Return values
bool —showPropertiesPrice()
Returns true when the properties price is to be displayed, false otherwise.
public
showPropertiesPrice() : bool
Return values
bool —showQuantityInfo()
Returns true when the quantity info is to be displayed, false otherwise.
public
showQuantityInfo() : bool
Return values
bool —showWeight()
Returns true when the weight is to be displayed, false otherwise.
public
showWeight() : bool
Return values
bool —usePropertiesCombisShippingTime()
Returns true when the properties combis shipping time is to be used, false otherwise.
public
usePropertiesCombisShippingTime() : bool
Return values
bool —usePropertiesCombisWeight()
Returns true when the properties combis weight is to be used, false otherwise.
public
usePropertiesCombisWeight() : bool