• Resolved brookerrj

    (@brookerrj)


    I have a product filter set up to discount products of a certain category when there are bundles of 5. After upgrading to the latest version 3.06, if more than 5 items are added to the cart, only the discounted bundled line items are shown. For example if I try to add 6-9 items of the same category to the cart only the bundle of 5 items are added.

    Fortunately this was discovered on our staging server and the live server has not been updated. By using the “Tools” tab I was able to compare the filter structures between the old and new versions. I noticed there is a new element (“qty_end”: 5) in the filter structure for version 3.06, perhaps that could be associated with this new issue. Here is the partial output from the “Tools” tab for each version:
    VERSION 3.0.6:
    [
    {
    “type”: “package”,
    “filters”: [
    {
    “qty”: 5,
    “qty_end”: 5,
    “type”: “product_categories”,
    “method”: “in_list”,
    “value”: [
    “Cards”
    ],
    “product_exclude”: {
    “on_wc_sale”: “”,
    “already_affected”: “1”,
    “values”: []
    }
    }
    ],
    VERSION 3.0.4:
    [
    {
    “type”: “package”,
    “filters”: [
    {
    “qty”: 5,
    “type”: “product_categories”,
    “method”: “in_list”,
    “value”: [
    “Cards”
    ],
    “product_exclude”: {
    “on_wc_sale”: “”,
    “already_affected”: “1”,
    “values”: []
    }
    }
    ],

    • This topic was modified 4 years, 5 months ago by brookerrj.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author algol.plus

    (@algolplus)

    Hello

    Could you paste whole rule (json) for version 3.0.6 ?

    Thread Starter brookerrj

    (@brookerrj)

    There are three rules, each for a different category.
    Here is the whole 3.0.6 output from “Tools”:
    [
    {
    “type”: “package”,
    “filters”: [
    {
    “qty”: 5,
    “qty_end”: 5,
    “type”: “product_categories”,
    “method”: “in_list”,
    “value”: [
    “Cards”
    ],
    “product_exclude”: {
    “on_wc_sale”: “”,
    “already_affected”: “1”,
    “values”: []
    }
    }
    ],
    “title”: “Card Bulk Discount”,
    “priority”: “”,
    “enabled”: “on”,
    “sortable_blocks_priority”: [
    “roles”,
    “bulk-adjustments”
    ],
    “additional”: {
    “conditions_relationship”: “and”,
    “is_replaced”: false,
    “replace_name”: “”,
    “is_replace_free_products_with_discount”: false,
    “free_products_replace_name”: “”,
    “sortable_apply_mode”: “consistently”
    },
    “conditions”: [],
    “cart_adjustments”: [],
    “limits”: [],
    “product_adjustments”: {
    “type”: “total”,
    “total”: {
    “type”: “price__fixed”,
    “value”: 9
    }
    },
    “role_discounts”: [],
    “get_products”: {
    “repeat”: “-1”,
    “repeat_subtotal”: “”
    },
    “options”: {
    “apply_to”: “expensive”,
    “repeat”: -1
    }
    },
    {
    “type”: “package”,
    “filters”: [
    {
    “qty”: 4,
    “qty_end”: 4,
    “type”: “product_categories”,
    “method”: “in_list”,
    “value”: [
    “Coasters”
    ],
    “product_exclude”: {
    “on_wc_sale”: “”,
    “already_affected”: “1”,
    “values”: [
    “3464”
    ]
    }
    }
    ],
    “title”: “Coaster Bulk Discount”,
    “priority”: 1,
    “enabled”: “on”,
    “sortable_blocks_priority”: [
    “roles”,
    “bulk-adjustments”
    ],
    “additional”: {
    “conditions_relationship”: “and”,
    “is_replaced”: false,
    “replace_name”: “”,
    “is_replace_free_products_with_discount”: false,
    “free_products_replace_name”: “”,
    “sortable_apply_mode”: “consistently”
    },
    “conditions”: [],
    “cart_adjustments”: [],
    “limits”: [],
    “product_adjustments”: {
    “type”: “total”,
    “total”: {
    “type”: “price__fixed”,
    “value”: 10
    }
    },
    “role_discounts”: [],
    “get_products”: {
    “repeat”: “-1”,
    “repeat_subtotal”: “”
    },
    “options”: {
    “apply_to”: “expensive”,
    “repeat”: -1
    }
    },
    {
    “type”: “package”,
    “filters”: [
    {
    “qty”: 4,
    “qty_end”: 4,
    “type”: “product_categories”,
    “method”: “in_list”,
    “value”: [
    “Christmas Cards”
    ],
    “product_exclude”: {
    “on_wc_sale”: “”,
    “already_affected”: “”,
    “values”: []
    }
    }
    ],
    “title”: “Christmas Card Bulk Discount”,
    “priority”: 2,
    “enabled”: “on”,
    “sortable_blocks_priority”: [
    “roles”,
    “bulk-adjustments”
    ],
    “additional”: {
    “conditions_relationship”: “and”,
    “is_replaced”: false,
    “replace_name”: “”,
    “is_replace_free_products_with_discount”: false,
    “free_products_replace_name”: “”,
    “sortable_apply_mode”: “consistently”
    },
    “conditions”: [],
    “cart_adjustments”: [],
    “limits”: [],
    “product_adjustments”: {
    “type”: “total”,
    “total”: {
    “type”: “price__fixed”,
    “value”: 5
    }
    },
    “role_discounts”: [],
    “get_products”: {
    “repeat”: “-1”,
    “repeat_subtotal”: “”
    },
    “options”: {
    “apply_to”: “expensive”,
    “repeat”: -1
    }
    }
    ]

    Hi, brookerrj,

    Could you send us a ticket in the helpdesk?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cart display missing items after upgrade to version 3.0.6’ is closed to new replies.