Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Gets cover image for combinations.
Browse files Browse the repository at this point in the history
  • Loading branch information
ecoslado committed Feb 29, 2016
1 parent 38d798c commit 232d2ad
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Binary file modified dist/doofinder-p1.5-latest.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion doofinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 2 additions & 1 deletion feed.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 232d2ad

Please sign in to comment.