Merge branch 'fix/canonical' into develop
This commit is contained in:
commit
12e70b0f98
@ -79,8 +79,16 @@ class Ant_Canonical extends Module
|
||||
global $cookie;
|
||||
|
||||
$product = new Product($id);
|
||||
return $this->getLinkRewriteCategory($product->id_category_default, true)
|
||||
$link = $this->getLinkRewriteCategory($product->id_category_default, true)
|
||||
.'/'.$id.'-'.$product->link_rewrite[$cookie->id_lang];
|
||||
|
||||
if (!empty($product->ean13)) {
|
||||
$link .= '-' . $product->ean13;
|
||||
}
|
||||
|
||||
$link .= '.html';
|
||||
|
||||
return $link;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -756,6 +756,7 @@ class AdminPhileaMagistor extends AdminTab {
|
||||
WHERE `id_sale` = '.(int) $CRR['id_sale'] .'
|
||||
AND `filename` LIKE "CRP%"
|
||||
AND `report_data` IS NOT NULL
|
||||
ORDER BY `report_date` DESC
|
||||
');
|
||||
$crr_report = Db::getInstance()->executeS('
|
||||
SELECT `quantity_received`, `quantity_expected`, `status`, `date_upd`
|
||||
|
Loading…
Reference in New Issue
Block a user