diff --git a/src/pages/shopping-cart/book.vue b/src/pages/shopping-cart/book.vue index ce08de04f..813fc3660 100644 --- a/src/pages/shopping-cart/book.vue +++ b/src/pages/shopping-cart/book.vue @@ -216,7 +216,7 @@ export default { classIds = Array.isArray(classId) ? classId : [classId]; } let priceIndexes = []; - if (collectionId) { + if (priceIndex) { priceIndexes = Array.isArray(priceIndex) ? priceIndex : [priceIndex]; } let collectionIds = [];