Properties

$php_self

$php_self : 

Type

$product

$product : 

Type

$category

$category : 

Type

Methods

setMedia()

setMedia() 

canonicalRedirection()

canonicalRedirection(  $canonical_url = '') 

Parameters

$canonical_url

init()

init() 

Initialize product controller

initContent()

initContent() 

Assign template vars related to page content

getProduct()

getProduct() 

getCategory()

getCategory() 

assignPriceAndTax()

assignPriceAndTax() 

Assign price and tax to the template

assignImages()

assignImages() 

Assign template vars related to images

assignAttributesGroups()

assignAttributesGroups() 

Assign template vars related to attribute groups and colors

assignAttributesCombinations()

assignAttributesCombinations() 

Get and assign attributes combinations informations

assignCategory()

assignCategory() 

Assign template vars related to category

transformDescriptionWithImg()

transformDescriptionWithImg(  $desc) 

Parameters

$desc

pictureUpload()

pictureUpload() 

textRecord()

textRecord() 

formTargetFormat()

formTargetFormat() 

formatQuantityDiscounts()

formatQuantityDiscounts(  $specific_prices,   $price,   $tax_rate,   $ecotax_amount) 

Parameters

$specific_prices
$price
$tax_rate
$ecotax_amount