Thank you for the component!
I have been suffering for 3 days. Well, I can print additional pictures of the product in the category.
Like that:
https://hkar.ru/TXMe
Found the code:
Code: Select all
foreach ($this->t['add_images'] as $v2) {
echo '<div class="col-xs-12 col-sm-4 col-md-4 ph-item-image-box">';
$image = PhocacartImage::getThumbnailName($this->t['pathitem'], $v2->image, 'small');
$imageL = PhocacartImage::getThumbnailName($this->t['pathitem'], $v2->image, 'large');
$link = JURI::base(true).'/'.$imageL->rel;
echo '<a href="'.$link.'" '.$this->t['image_rel'].' class="'.$this->t['image_class'].'">';
echo '<img src="'.JURI::base(true).'/'.$image->rel.'" alt="" class="img-responsive img-thumbnail ph-image-full" />';
echo '</a>';
echo '</div>';
}
I wanted to ask more advice. Your component is running on bootstrap 3. I'm doing the site on bootstrap 4. I want to adapt the templates of your component to the bootstrap 4. Do I have to do this? Or will it soon be a new version of the component with bootstrap 4 already?
Thank you for attention