Additional images sort order

03.10.2013 14:40
#1
ovcharoff
Joomshopping forum user no avatar
Name: Teodor Ovcharov
10.12.2012
Posts: 15
Quote
Additional images sort order

Hello,

I'm using your Universal CSV Export appropriate version for Joomla 1.5.26 and Joomshopping 2.8.4.
Export was working fine until I realized it's not exporting the sort order for additional images.

It is very important to export also the images order, because we can't do this manually.

Please help, as this is very urgent !

Order number:
07-KH-105703

Thank you !

Best Regards,

Teodor Ovcharov

 
03.10.2013 16:50
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 26635
Quote
Aw: Additional images sort order

administrator\components\com_jshopping\importexport\unicsvexport\unicsvexport.php

function _exportImages(&$prodArr) {
$prodArr['images'] = '';

$query = "SELECT image_full
FROM `#__jshopping_products_images`
WHERE product_id = ".$prodArr['id'];
$this->DB->setQuery($query);
$this->DB->query();

chnage to

function _exportImages(&$prodArr) {
$prodArr['images'] = '';

$query = "SELECT image_full
FROM `#__jshopping_products_images`
WHERE product_id = ".$prodArr['id']." order by ordering";
$this->DB->setQuery($query);
$this->DB->query();

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.