From 22da562e007729abd31c21d26d1da1c3c1b1a9c8 Mon Sep 17 00:00:00 2001 From: Bob Wezelman Date: Thu, 11 Aug 2022 14:29:46 +0200 Subject: [PATCH] Added label images (#11) --- src/Models/Scopes/WithProductAmastyLabelScope.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Models/Scopes/WithProductAmastyLabelScope.php b/src/Models/Scopes/WithProductAmastyLabelScope.php index b68674e..55f29f2 100644 --- a/src/Models/Scopes/WithProductAmastyLabelScope.php +++ b/src/Models/Scopes/WithProductAmastyLabelScope.php @@ -22,9 +22,11 @@ public function apply(Builder $builder, Model $model) "prod_txt", prod.label_text, "prod_style", prod.style, "prod_position", prod.position, + "prod_image", prod.image, "cat_txt", cat.label_text, "cat_style", cat.style, "cat_position", cat.position, + "cat_image", cat.image, "priority", amasty_label_entity.priority, "is_single", amasty_label_entity.is_single )), "$.null__") as amasty_label')