diff --git a/dist/doofinder-p1.5-latest.zip b/dist/doofinder-p1.5-latest.zip index 6a3aea1..62693e1 100644 Binary files a/dist/doofinder-p1.5-latest.zip and b/dist/doofinder-p1.5-latest.zip differ diff --git a/doofinder.php b/doofinder.php index 9572003..8b05360 100644 --- a/doofinder.php +++ b/doofinder.php @@ -43,7 +43,7 @@ class Doofinder extends Module const GS_SHORT_DESCRIPTION = 1; const GS_LONG_DESCRIPTION = 2; - const VERSION = "2.0.16"; + const VERSION = "2.0.17"; const YES = 1; const NO = 0; diff --git a/feed.php b/feed.php index 1f591a8..2e870d0 100755 --- a/feed.php +++ b/feed.php @@ -213,9 +213,10 @@ function slugify($text) // IMAGE LINK if($cfg_product_variations && isset($row['id_product_attribute']) and intval($row['id_product_attribute']) > 0){ + $cover = Product::getCover($row['id_product_attribute']); $image_link = dfTools::cleanURL(dfTools::getImageLink( $row['id_product_attribute'], - $row['variation_image_id'], + $cover['id_image'], $row['link_rewrite'], $cfg_image_size)); diff --git a/package.json b/package.json index b02f052..936f48d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "doofinder-for-prestashop", - "version": "2.0.16", + "version": "2.0.17", "devDependencies": { "grunt": "^0.4.5", "grunt-contrib-clean": "^0.5.0",