diff --git a/angular/controllers/productAdd.js b/angular/controllers/productAdd.js index 5708af92..c4da711d 100755 --- a/angular/controllers/productAdd.js +++ b/angular/controllers/productAdd.js @@ -137,14 +137,13 @@ module.exports = function ($scope, $uibModal, $window, util, config, Product, Im }; var secondAttribute = { - AttributeId: $scope.dataSet.attributeOptions[0].Attribute.AttributeId, + AttributeId: $scope.dataSet.attributeOptions[1].Attribute.AttributeId, AttributeValues: (!BVId ? [] : [{ AttributeValueId: BVId }]), ValueEn: B }; - kpair.FirstAttribute = firstAttribute; kpair.SecondAttribute = secondAttribute; kpair.text = util.variant.toString(firstAttribute, secondAttribute); diff --git a/public/assets/js/bundle.js b/public/assets/js/bundle.js index 9eca84c9..b7d0626a 100644 --- a/public/assets/js/bundle.js +++ b/public/assets/js/bundle.js @@ -2305,7 +2305,7 @@ module.exports = ["$scope", "$uibModal", "$window", "util", "config", "Product", }; var secondAttribute = { - AttributeId: $scope.dataSet.attributeOptions[0].Attribute.AttributeId, + AttributeId: $scope.dataSet.attributeOptions[1].Attribute.AttributeId, AttributeValues: (!BVId ? [] : [{ AttributeValueId: BVId }]), diff --git a/templates/partials/add-product-variation.php b/templates/partials/add-product-variation.php index 7f9c1e40..5b75cab7 100755 --- a/templates/partials/add-product-variation.php +++ b/templates/partials/add-product-variation.php @@ -37,6 +37,8 @@ + +
- diff --git a/templates/partials/coupon_condition.php b/templates/partials/coupon_condition.php index 64781bd1..d6b64311 100644 --- a/templates/partials/coupon_condition.php +++ b/templates/partials/coupon_condition.php @@ -15,8 +15,8 @@ -