SilverCart\Model\Product\Product::Link
Link to this product.
The link is in context of the current controller. If the current controller does not match some related product criteria (mirrored product group, translation of a mirrored product group or translation of main group) the main group will be used as context.
- Author: Sebastian Diel <sdiel@pixeltricks.de>, Roland Lehmann <rlehmann@pixeltricks.de>, Ramon Kupper <rkupper@pixeltricks.de>
Signature
public function Link([string
$locale = NULL] )
Parameters
$locale
— string- Locale to get product link for
Returns
- string
- URL of $this