Display filters, and fix css for article
This commit is contained in:
@@ -64,8 +64,6 @@ class Articles
|
||||
public static function getArticlesToSell()
|
||||
{
|
||||
$articles = self::getArticlesWithOffers();
|
||||
// dump($articles->toArray());
|
||||
// exit;
|
||||
foreach ($articles as $article) {
|
||||
$price_lists = $article->offers[0]->tariff->price_lists->toArray();
|
||||
// dump($price_lists);
|
||||
@@ -75,6 +73,8 @@ class Articles
|
||||
'image' => $article->image,
|
||||
'product_type' => $article->product_type,
|
||||
'product_id' => $article->product_id,
|
||||
'product_name' => $article->product->name,
|
||||
'parent_name' => trim(str_replace($article->product->name, '', $article->name)),
|
||||
];
|
||||
$prices = $price_lists[0]['price_list_values'][0];
|
||||
$article_nature_name = strtolower($article->article_nature->name);
|
||||
|
||||
Reference in New Issue
Block a user