summaryrefslogtreecommitdiff
path: root/ord.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ord.cxx')
-rw-r--r--ord.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/ord.cxx b/ord.cxx
index 0d8f6eb..a80043e 100644
--- a/ord.cxx
+++ b/ord.cxx
@@ -36,6 +36,8 @@ namespace QInterchange {
switch (role) {
case Product::SkuRole:
return item.product.sku;
+ case Product::TitleRole:
+ return item.product.title;
case Product::DescriptionRole:
return item.product.description;
case Product::ImageRole:
@@ -53,6 +55,7 @@ namespace QInterchange {
{
return QHash<int, QByteArray>{
{ Product::SkuRole, "sku" },
+ { Product::TitleRole, "title" },
{ Product::DescriptionRole, "description" },
{ Product::ImageRole, "image" },
{ Product::PriceRole, "price" },