diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-20 11:25:21 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2023-03-20 11:25:21 +0800 |
| commit | 57aff605a3ffa8035c3adefd20c944fc9f0ba19c (patch) | |
| tree | f7b06d1ca6e616062196b65c8ceb03e0c003fd9c /catalog.cxx | |
| parent | 42236c6df3628a3543cf6013d2952484c6f5c8aa (diff) | |
Add large image to product
Diffstat (limited to 'catalog.cxx')
| -rw-r--r-- | catalog.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/catalog.cxx b/catalog.cxx index bb1f4dd..ece144c 100644 --- a/catalog.cxx +++ b/catalog.cxx @@ -46,6 +46,8 @@ namespace QInterchange { return product.author; case Product::CrossSellRole: return product.crossSell; + case Product::ImageLargeRole: + return product.imageLarge; default: return QVariant(); } @@ -65,7 +67,8 @@ namespace QInterchange { { Product::CategoryRole, "category" }, { Product::WeightRole, "weight" }, { Product::AuthorRole, "author" }, - { Product::CrossSellRole, "crossSell" } + { Product::CrossSellRole, "crossSell" }, + { Product::ImageLargeRole, "imageLarge" } }; } |