Files
2025-03-12 17:06:23 +01:00

22 lines
536 B
PHP

<?php
/*
* @author Krzysztof Bebło <krzysztof.beblo@sote.pl>
*/
class appAdditionalDescFrontendActions extends stActions
{
public function executeIndex()
{
$this->smarty = new stSmarty($this->getModuleName());
$this->setLayout(false);
$product = ProductPeer::getShowedProduct();
if (!is_object($product))
$product = ProductPeer::retrieveByPk($this->getRequestParameter('id'));
$this->description2 = $product->getDescription2();
}
}