[*] FO : get the product attribute id for download link
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9059 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -526,7 +526,7 @@ class OrderCore extends ObjectModel
|
||||
public function getVirtualProducts()
|
||||
{
|
||||
$sql = '
|
||||
SELECT `product_id`, `download_hash`, `download_deadline`
|
||||
SELECT `product_id`, `product_attribute_id`, `download_hash`, `download_deadline`
|
||||
FROM `'._DB_PREFIX_.'order_detail` od
|
||||
WHERE od.`id_order` = '.(int)($this->id).'
|
||||
AND `download_hash` <> \'\'';
|
||||
|
||||
Reference in New Issue
Block a user