aa
This commit is contained in:
@@ -260,7 +260,7 @@ function loadArticleByIdArticle($sku, $checkprevendita = true)
|
||||
->where('T_WEB_Articoli.IdArticolo', $sku)
|
||||
->get();
|
||||
|
||||
if ($checkprevendita) {
|
||||
if ($articles && $checkprevendita) {
|
||||
$inprevendita = $articles[0]->DescrizioneStatoProdotto === 'In prevendita';
|
||||
if ($inprevendita) {
|
||||
// comment this line if you want to show articles in prevendita
|
||||
|
||||
Reference in New Issue
Block a user