/var/www/vhosts/ihelp.ro/httpdocs/templates/element/entity
NameSizeModeActions
cause.bkp.php12540644editdlrm
cause.php27710644editdlrm
product.bkp.php26580644editdlrm
product.php34650644editdlrm
sponsor.php21930644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/templates/element/entity/product.php (3465B)
url = ['prefix' => false, 'controller' => 'Products', 'action' => 'view', 'slug' => $product->slug, 'uuid' => $product->uuid]; ?>
Html->link( (in_array($product->id, $productFavorites) ? '' : ''), ['controller' => 'ProductFavorites', 'action' => 'addRemove', 'uuid' => $product->uuid], [ 'inline' => false, 'class' => ['favorite', 'addToFav'], 'escape' => false, 'data-uuid' => $product->uuid ] ); ?>
Html->image($this->Custom->generateUrlHdy( [ 'model_name' => $product->model_name, 'uuid' => $product->uuid, 'image_name' => ($product->featured_image != null) ? 'resize-'.$product->featured_image['image_path'] : "", ], true, 300, 200, true ), ['class' => 'img-fluid']) ?>
Html->link($product->name, $product->url) ?>
created) : ?>
created->i18nFormat('dd MMM yyyy'); ?>
Number->format($product->price, ['precision' => 0, 'after' => ' Lei']); ?>
Html->link('' . __('Detalii'), $product->url, ['class' => 'btn split', 'escape' => false]); ?>
cause)) : ?>
Html->image($this->Custom->generateUrlHdy( [ 'model_name' => $product->cause->model_name, 'uuid' => $product->cause->uuid, 'image_name' => isset($product->cause->featured_image['image_path'])?$product->cause->featured_image['image_path']:'' ], true, 300, 200, true ), ['class' => 'img-fluid']) ?>
{0}', $product->cause->name); ?>
cause->date_start) : ?>
cause->date_start->i18nFormat('dd MMM yyyy'); ?>