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 /interchange | |
parent | 42236c6df3628a3543cf6013d2952484c6f5c8aa (diff) |
Add large image to product
Diffstat (limited to 'interchange')
-rw-r--r-- | interchange/product.hxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/interchange/product.hxx b/interchange/product.hxx index b8e6714..2b6d12c 100644 --- a/interchange/product.hxx +++ b/interchange/product.hxx @@ -19,7 +19,8 @@ namespace QInterchange { CategoryRole, WeightRole, AuthorRole, - CrossSellRole + CrossSellRole, + ImageLargeRole }; Product() {} @@ -50,6 +51,8 @@ namespace QInterchange { for (size_t i = 0; i < crosssell->length; i++) crossSell << QString{crosssell->skus[i]}; } + if (product.image_large) + imageLarge = QString{product.image_large}; } QString sku; @@ -64,6 +67,7 @@ namespace QInterchange { double weight; QString author; QStringList crossSell; + QString imageLarge; }; } |