Interface ProductSettingsInterface

Interface ProductSettingsInterface

Direct known implementers

ProductSettings

Methods summary

public getDetailsTemplate( void ) : string

Returns the details template name.

public getOptionsDetailsTemplate( void ) : string

Returns the options details template.

public getOptionsListingTemplate( void ) : string

Returns the options listing template.

public showOnStartpage( void ) : boolean

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

public getStartpageSortOrder( void ) : integer

Returns the sort position.

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 getPriceStatus( void ) : integer

Returns the price status.

public getMinOrder( void ) : float

Returns the minimum order value.

public getGraduatedQuantity( void ) : float

Returns the graduated quantity.

public isSitemapEntry( void ) : boolean

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

public getSitemapPriority( void ) : string

Returns the sitemap priority.

public getSitemapChangeFreq( void ) : string

Returns the sitemap change frequency.

public showPropertiesPrice( void ) : boolean

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

public getPropertiesDropdownMode( void ) : string

Returns the properties dropdown mode.

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 ) : ProductSettingsInterface|ProductSettingsInterface

Sets the details listing template.

public setOptionsDetailsTemplate( StringType $template ) : ProductSettingsInterface|ProductSettingsInterface

Sets the options details template.

public setOptionsListingTemplate( StringType $template ) : ProductSettingsInterface|ProductSettingsInterface

Sets the options listing template.

public setShowOnStartpage( BoolType $status ) : ProductSettingsInterface|ProductSettingsInterface

Shows or hides a product on the start page.

public setStartpageSortOrder( IntType $sortOrder ) : ProductSettingsInterface|ProductSettingsInterface

Sets the start page sort order.

public setShowAddedDateTime( BoolType $status ) : ProductSettingsInterface|ProductSettingsInterface

Shows or hides the added date time of a product.

public setShowQuantityInfo( BoolType $status ) : ProductSettingsInterface|ProductSettingsInterface

Shows or hides the quantity info of a product.

public setShowWeight( BoolType $status ) : ProductSettingsInterface|ProductSettingsInterface

Shows or hides the weight of a product.

public setShowPriceOffer( BoolType $status ) : ProductSettingsInterface|ProductSettingsInterface

Shows or hides the price offer of a product.

public setPriceStatus( IntType $status ) : ProductSettingsInterface|ProductSettingsInterface

Sets the price status.

public setMinOrder( DecimalType $quantity ) : ProductSettingsInterface|ProductSettingsInterface

Sets the min order value.

public setGraduatedQuantity( DecimalType $quantity ) : ProductSettingsInterface|ProductSettingsInterface

Sets the graduated quantity.

public setSitemapEntry( BoolType $status ) : ProductSettingsInterface|ProductSettingsInterface

Shows or hides a product in the sitemap.

public setSitemapPriority( StringType $priority ) : ProductSettingsInterface|ProductSettingsInterface

Sets the sitemap priority.

public setSitemapChangeFreq( StringType $freq ) : ProductSettingsInterface|ProductSettingsInterface

Sets the sitemap change frequency.

public setShowPropertiesPrice( BoolType $status ) : ProductSettingsInterface|ProductSettingsInterface

Shows or hides the properties price of a product.

public setPropertiesDropdownMode( StringType $mode ) : ProductSettingsInterface|ProductSettingsInterface

Sets the properties dropdown mode.

public setUsePropertiesCombisWeight( BoolType $status ) : ProductSettingsInterface|ProductSettingsInterface

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

public setPropertiesCombisQuantityCheckMode( IntType $status ) : ProductSettings|ProductSettingsInterface

Determine which mode for the quantity check should be used.

public setUsePropertiesCombisShippingTime( BoolType $status ) : ProductSettingsInterface|ProductSettingsInterface

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 ) : ProductSettingsInterface|ProductSettingsInterface

Sets customer status permissions.