From 57aff605a3ffa8035c3adefd20c944fc9f0ba19c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Mon, 20 Mar 2023 11:25:21 +0800 Subject: Add large image to product --- interchange/product.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'interchange') 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; }; } -- cgit v1.2.3