I have two discounts being applied to a single product one is being applied at 20% discount while the other is being applied at a 15% discount. The rules are in “HBL Bundler K” and “ASP & HBL Discount”. When adding to the cart initially the 20% is applied but then after adding other products the 20% is overridden by the 15% which shouldn’t happen. How can a fix this issue so that the highest percentage always wins out for my product.
Attached are the output JSONs of both discounts and the simulations of the cart as screenshots. The screenshots have the particular product in a red box.
20% output json ;
[
{
"message": "Custom Bundle Discount",
"targets": [
{
"cartLine": {
"id": "gid://shopify/CartLine/0"
}
}
],
"value": {
"percentage": {
"value": "20.0"
}
}
},
{
"message": "Custom Bundle Discount",
"targets": [
{
"cartLine": {
"id": "gid://shopify/CartLine/1"
}
}
],
"value": {
"percentage": {
"value": "20.0"
}
}
},
{
"message": "Custom Bundle Discount",
"targets": [
{
"cartLine": {
"id": "gid://shopify/CartLine/2"
}
}
],
"value": {
"percentage": {
"value": "20.0"
}
}
},
{
"message": "Custom Bundle Discount",
"targets": [
{
"cartLine": {
"id": "gid://shopify/CartLine/3"
}
}
],
"value": {
"percentage": {
"value": "20.0"
}
}
},
{
"message": "Custom Bundle Discount",
"targets": [
{
"cartLine": {
"id": "gid://shopify/CartLine/4"
}
}
],
"value": {
"percentage": {
"value": "20.0"
}
}
},
{
"message": "10% Discount w/ Bundle",
"targets": [
{
"cartLine": {
"id": "gid://shopify/CartLine/5"
}
}
],
"value": {
"percentage": {
"value": "10.0"
}
}
}
]
15% output json ;
[
{
"message": "History Bible Literature Package Discount",
"targets": [
{
"cartLine": {
"id": "gid://shopify/CartLine/0"
}
}
],
"value": {
"percentage": {
"value": "15.0"
}
}
}
]