/var/www/vhosts/ihelp.ro/httpdocs/templates/Products
NameSizeModeActions
index.php7660644editdlrm
index_promotions.php7550644editdlrm
index_promotions_day.php8960644editdlrm
products_cause.php7890644editdlrm
products_user.php7930644editdlrm
view.php165000644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/templates/Products/view.php (16500B)
assign('title', $product->name); $this->Breadcrumbs->reset()->add($product->name, null); $this->Breadcrumbs->prepend([ ['title' => __('Prima pagina'), 'url' => ['controller' => 'Pages', 'action' => 'home']], ['title' => $product->category->parent_category->name, 'url' => ['controller' => 'Categories', 'action' => 'view', 'slug' => $product->category->parent_category->slug]], ['title' => $product->category->name, 'url' => ['controller' => 'Categories', 'action' => 'view', 'slug' => $product->category->slug]] ]); ?>
Breadcrumbs->render(); ?>
gallery_images)) { ?>
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 ] ); ?>
gallery_images as $galleryImage) : ?>
Html->image($this->Custom->generateUrlHdy( [ 'model_name' => $product->model_name, 'uuid' => $galleryImage->foreign_uuid, 'image_name' => 'resize-'.$galleryImage->image_path ], true, 900, 560, true ), ['class' => 'img-fluid']) ?>
gallery_images as $galleryImage) : ?>
Html->image($this->Custom->generateUrlHdy( [ 'model_name' => $product->model_name, 'uuid' => $galleryImage->foreign_uuid, 'image_name' => 'resize-'.$galleryImage->image_path ], true, 240, 130, true ), ['class' => 'img-fluid']) ?>

description ?>

name; ?>

is_price_fixed) : ?> Form->create($cartEmptyEntity, ['url' => ['controller' => 'Carts', 'action' => 'add']]) ?>
is_price_fixed) : ?> Number->format($product->price, ['precision' => 0, 'after' => __(' Lei')]) ?>
Form->control('custom_price', ['class' => 'custom-price form-control', 'label' => false, 'value' => intval($product->price)]) ?>
Form->control('uuid', ['value' => $product->uuid, 'type' => 'hidden']) ?>
Form->end() ?>
cause)) : ?> cause->url = ['prefix' => false, 'controller' => 'Causes', 'action' => 'view', 'slug' => $product->cause->slug, 'uuid' => $product->cause->uuid]; ?>
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, 400, 200, true ), ['class' => 'img-fluid']) ?>
Html->link($product->cause->name, $product->cause->url); ?>
Text->truncate($product->cause->description, 150, [ 'ellipsis' => '...', 'exact' => false ]); ?>
cause->date_end)); ?>
Number->format($product->cause->donation_sum, ['precision' => 0, 'after' => ' Lei']); ?>
Number->format($product->cause->donation_amount, ['precision' => 0, 'after' => ' Lei']); ?>
Html->link('' . __('Vezi cauza'), $product->cause->url, ['class' => 'btn full block primary', 'escape' => false]); ?>
user)) : ?>

user->name) ?>

Html->image($this->Custom->generateUrlHdy( [ 'model_name' => $product->user->profile->model_name, 'uuid' => '', 'image_name' => $product->user->profile->image_path ], true, 120, 120, true ), ['class' => 'img-fluid mt-2']) ?>
{0}', $product->cause->name); ?>
Html->link(__('Vezi toate produsele vanzatorului'), ['prefix' => false, 'controller' => 'Products', 'action' => 'productsUser', 'uuid' => $product->user->uuid], ['class' => ' ', 'escape' => false]); ?>
Html->link(__('Vezi toate produsele cauzei'), ['prefix' => false, 'controller' => 'Products', 'action' => 'productsCause', 'uuid' => $product->cause->uuid], ['class' => '', 'escape' => false]); ?>

tags as $tag) : ?> Html->link($tag->name, '#', ['class' => 'badge badge-tag']); ?>
append('css'); ?> Html->css([ 'https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.css', 'https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick-theme.min.css' ]) ?> end() ?> append('script'); ?> Html->script([ 'https://cdnjs.cloudflare.com/ajax/libs/slick-carousel/1.8.1/slick.min.js' ]) ?> end(); ?>