Using prod sales image
This commit is contained in:
parent
ccc25d138c
commit
70cabd1aa1
@ -22,8 +22,10 @@ trait ImageTrait {
|
||||
public function getSaleImage($id_sale, $active = true) {
|
||||
global $cookie;
|
||||
|
||||
$static = 'https://static.bebeboutik.com/';
|
||||
|
||||
$extension = $active === true ? 'liston' : 'listoff';
|
||||
return env('DOMAIN_STATIC') .
|
||||
return $static .
|
||||
__PS_BASE_URI__.'modules/privatesales/img/' . $id_sale . '/' .
|
||||
$extension . '_' . $cookie->id_lang . '.jpg';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user