From 5ff062e598afab8c8807003ef346b3b3d75b9f74 Mon Sep 17 00:00:00 2001 From: ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ Date: Mon, 15 May 2023 11:48:14 +0800 Subject: Add optionType to product --- interchange/product.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'interchange') 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; -- cgit v1.3