@if(count($articles)>0)
Choisissez les produits concernées par la newsletter (Limiter le nombre de produits aux plus importants.) *
@endif @foreach($articles as $article) @php $boutique_=$article->boutique_slug; $helpers=new \App\Http\Controllers\HelperController(); $prix=$helpers->get_article_price_by_boutique($article->slug,$boutique_); $name=$helpers->get_meta_article('name',$article->slug,$boutique_); $price=$helpers->get_meta_article('price',$article->slug,$boutique_); if($price['statut']==false){ $price['value']=$article->price; } if($name['statut']==false){ $name=$article->name; }else{ $name=$name['value']; } $stock=$helpers->get_meta_article('stock',$article->slug,$boutique_); if($stock['statut']==false){ $stock=$article->quantity; }else{ $stock=$stock['value']; } $image= $helpers->get_simple_image($article->slug,$boutique_); @endphp @endforeach