\ProductSaleCore

Summary

Methods
Properties
Constants
fillProductSales()
getNbSales()
getBestSales()
getBestSalesLight()
addProductSale()
getNbrSales()
removeProductSale()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

fillProductSales()

fillProductSales() 

getNbSales()

getNbSales() 

getBestSales()

getBestSales(  $id_lang,   $page_number,   $nb_products = 10,   $order_by = null,   $order_way = null) 

Parameters

$id_lang
$page_number
$nb_products
$order_by
$order_way

getBestSalesLight()

getBestSalesLight(  $id_lang,   $page_number,   $nb_products = 10, \Context  $context = null) 

Parameters

$id_lang
$page_number
$nb_products
\Context $context

addProductSale()

addProductSale(  $product_id,   $qty = 1) 

Parameters

$product_id
$qty

getNbrSales()

getNbrSales(  $id_product) 

Parameters

$id_product

removeProductSale()

removeProductSale(  $id_product,   $qty = 1) 

Parameters

$id_product
$qty