Class ProductSettings
Class ProductSettings
- ProductSettings implements ProductSettingsInterface
Category: System
Located at Services/Core/Product/Entities/ProductSettings.inc.php
Methods summary
public
showOnStartpage( void )
: boolean
Returns true when the product is displayed on the start page, false otherwise.
public
showAddedDateTime( void )
: boolean
Returns true when the added date time is to be displayed, false otherwise.
public
showQuantityInfo( void )
: boolean
Returns true when the quantity info is to be displayed, false otherwise.
public
showWeight( void )
: boolean
Returns true when the weight is to be displayed, false otherwise.
public
showPriceOffer( void )
: boolean
Returns true when the price offer is to be displayed, false otherwise.
public
isSitemapEntry( void )
: boolean
Returns true when the product is to be displayed in the sitemap, false otherwise.
public
showPropertiesPrice( void )
: boolean
Returns true when the properties price is to be displayed, false otherwise.
public
usePropertiesCombisWeight( void )
: boolean
Returns true when the properties combis weight is to be used, false otherwise.
public
getPropertiesCombisQuantityCheckMode( void )
: integer
Returns the mode which is used for the quantity check.
public
usePropertiesCombisShippingTime( void )
: boolean
Returns true when the properties combis shipping time is to be used, false otherwise.
public
setDetailsTemplate( StringType $template )
: ProductSettings|ProductSettings
Sets the details listing template.
public
setOptionsDetailsTemplate( StringType $template )
: ProductSettings|ProductSettings
Sets the options details template.
public
setOptionsListingTemplate( StringType $template )
: ProductSettings|ProductSettings
Sets the options listing template.
public
setShowOnStartpage( BoolType $status )
: ProductSettings|ProductSettings
Determine whether the product is to be displayed on the startpage or not.
public
setStartpageSortOrder( IntType $sortOrder )
: ProductSettings|ProductSettings
Sets the start page sort order.
public
setShowAddedDateTime( BoolType $status )
: ProductSettings|ProductSettings
Shows or hides the added date time of a product.
public
setShowQuantityInfo( BoolType $status )
: ProductSettings|ProductSettings
Shows or hides the quantity info of a product.
public
setShowWeight( BoolType $status )
: ProductSettings|ProductSettings
Shows or hides the weight of a product.
public
setShowPriceOffer( BoolType $status )
: ProductSettings|ProductSettings
Shows or hides the price offer of a product.
public
setMinOrder( DecimalType $quantity )
: ProductSettings|ProductSettings
Sets the min order value.
public
setGraduatedQuantity( DecimalType $quantity )
: ProductSettings|ProductSettings
Sets the graduated quantity.
public
setSitemapEntry( BoolType $status )
: ProductSettings|ProductSettings
Determine whether the product is to be displayed in the sitemap or not.
public
setSitemapPriority( StringType $priority )
: ProductSettings|ProductSettings
Sets the sitemap priority.
public
setSitemapChangeFreq( StringType $freq )
: ProductSettings|ProductSettings
Sets the sitemap change frequency.
public
setShowPropertiesPrice( BoolType $status )
: ProductSettings|ProductSettings
Shows or hides the properties price of a product.
public
setPropertiesDropdownMode( StringType $mode )
: ProductSettings|ProductSettings
Sets the properties dropdown mode.
public
setUsePropertiesCombisWeight( BoolType $status )
: ProductSettings|ProductSettings
Determine whether the properties combis weight is to be used or not.
public
setPropertiesCombisQuantityCheckMode( IntType $status )
: ProductSettings|ProductSettings
Determine which mode for the quantity check should be used.
public
setUsePropertiesCombisShippingTime( BoolType $status )
: ProductSettings|ProductSettings
Determine whether the properties combis shipping time is to be used or not.
public
isPermittedCustomerStatus( IdType $customerStatusId )
: boolean
Returns true when the customer status is permitted, false otherwise.
public
setPermittedCustomerStatus( IdType $customerStatusId, BoolType $permitted )
: ProductSettings|ProductSettings
Sets customer status permissions.