This module displays generic product names such as "Woman's Dark T-Shirt" instead of custom text such as "Woman's LOL Cat T-Shirt." That custom text already is retrieved from Cafepress and stored as the 'name' property. The vague text is stored as the 'caption' property.
I made the following changes to display the custom text:
--- sites/all/modules/cafepress/cafepress.module 2010-08-03 03:47:39 +0000
+++ sites/all/modules/cafepress/cafepress.module 2010-08-26 13:29:24 +0000
@@ -190,7 +190,7 @@
if ($product['count'] > 1) {
$content .= '<br />More Colors Available';
}
- $content .= '<br /><strong>' . $product['caption'] . '</strong> $' . $product['price'];
+ $content .= '<br /><strong>' . $product['name'] . '</strong> $' . $product['price'];
$content .= '<br />' . l("more", "cafepress/onlinestore");
@@ -321,7 +321,7 @@
$content .= '<br />More Colors Available';
}
- $content .= '<br /><strong>' . $product['caption'] . '</strong> $' . $product['price'] . '</li>';
+ $content .= '<br /><strong>' . $product['name'] . '</strong> $' . $product['price'] . '</li>';
}
$content .= "</ul></div>";