Properties

$name

$name : 

Type

$id_shop

$id_shop : 

Type

$id_currency

$id_currency : 

Type

$id_country

$id_country : 

Type

$id_group

$id_group : 

Type

$from_quantity

$from_quantity : 

Type

$price

$price : 

Type

$reduction

$reduction : 

Type

$reduction_tax

$reduction_tax : 

Type

$reduction_type

$reduction_type : 

Type

$from

$from : 

Type

$to

$to : 

Type

$definition

$definition : 

Type

$rules_application_enable

$rules_application_enable : 

Type

$webserviceParameters

$webserviceParameters : 

Type

Methods

delete()

delete() 

deleteConditions()

deleteConditions() 

disableAnyApplication()

disableAnyApplication() 

enableAnyApplication()

enableAnyApplication() 

addConditions()

addConditions(  $conditions) 

Parameters

$conditions

apply()

apply(  $products = false) 

Parameters

$products

resetApplication()

resetApplication(  $products = false) 

Parameters

$products

applyAllRules()

applyAllRules(array  $products = false) 

Parameters

array $products

getConditions()

getConditions() 

getAffectedProducts()

getAffectedProducts(  $products = false) 

Parameters

$products

applyRuleToProduct()

applyRuleToProduct(  $id_rule,   $id_product,   $id_product_attribute = null) 

Parameters

$id_rule
$id_product
$id_product_attribute