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