summaryrefslogtreecommitdiff
path: root/interchange
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-05-15 11:48:14 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-05-15 11:48:14 +0800
commit5ff062e598afab8c8807003ef346b3b3d75b9f74 (patch)
tree26258b00fe2171c6127f133c8cf8362c4ae1aa3f /interchange
parentbaef8cc91f5fd86cde021acc6a9630cca009669f (diff)
Add optionType to product
Diffstat (limited to 'interchange')
-rw-r--r--interchange/product.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/interchange/product.hxx b/interchange/product.hxx
index 2b6d12c..8a46d89 100644
--- a/interchange/product.hxx
+++ b/interchange/product.hxx
@@ -18,6 +18,7 @@ namespace QInterchange {
ProdGroupRole,
CategoryRole,
WeightRole,
+ OptionTypeRole,
AuthorRole,
CrossSellRole,
ImageLargeRole
@@ -44,6 +45,8 @@ namespace QInterchange {
prodGroup = QString{product.prod_group};
if (product.category)
category = QString{product.category};
+ if (product.option_type)
+ optionType = QString{product.option_type};
if (product.author)
author = QString{product.author};
if (product.crosssell) {
@@ -65,6 +68,7 @@ namespace QInterchange {
QString prodGroup;
QString category;
double weight;
+ QString optionType;
QString author;
QStringList crossSell;
QString imageLarge;