I want to share with many and try to solve the problem.
Here's an example
How to fix it?
I found a file that is responsible for: ../templates/gk_esport/html/mod_virtuemart_cart/default.php
And there's this code:
- Code: Select all
<img src="<?php echo $images[$product['product_sku']]; ?>" alt="" width="90" height="90" />
I closed it:
- Code: Select all
<!-- <img src="<?php echo $images[$product['product_sku']]; ?>" alt="" width="90" height="90" /> -->
and received
But I want to point out that there is a code that is responsible for the image.
I Think
- Code: Select all
// get the images
$query2 = $db->getQuery(true);
$query2->select('`m`.`file_url_thumb` AS `file`, `p`.`product_sku` AS `sku`');
$query2->from('#__virtuemart_products AS p');
$query2->leftJoin('#__virtuemart_product_medias AS `pm` ON `pm`.`virtuemart_product_id` = `p`.`virtuemart_product_id`');
$query2->leftJoin('#__virtuemart_medias AS `m` ON `m`.`virtuemart_media_id` = `pm`.`virtuemart_media_id`');
$query2->where('`p`.`virtuemart_product_id` IN('.implode(',', $pids).')');
$query2->order('`pm`.`ordering` ASC');
$db->setQuery((string)$query2);
$pimages = $db->loadObjectList();
$images = array();
// get the first products images
if ($pimages) {
foreach($pimages as $image) {
if(!isset($images[$image->sku])) {
$images[$image->sku] = $image->file;
}
}
}
}
}
He can not upload it. Has anyone solved this problem?
I'm sorry but the forum did not find an answer.
.
Now on russian
Привет всем.
Хочу поделиться со многими и попробовать решить проблему.
Вот пример: http://i.imgur.com/AX8fRx4.png
Как исправить ?
Я нашел файл отвечающий за это: ../templates/gk_esport/html/mod_virtuemart_cart/default.php
И там вот такой код: смотрите выше
я его закрыл : смотрите выше
и получил: смотрите выше
Но я хочу отметить что там есть код, отвечающий за изображение.
Он не может подгрузить его. Кто-нибудь решал данную проблему ?
Простите но на форуме не нашел ответа.