Why can I update the quantity from the cart page even though there is a limit?

Home Forums Maximum Products per User for WooCommerce Why can I update the quantity from the cart page even though there is a limit?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #101068
    Kim Ireland
    Participant

    Hello, thank you for the plugin.

    These are the formulas I am using to limit certain products n certain days.

    In testing, I noticed, I can update the qty from the cart page, even tho there is a limit.

    Is there a way to block that ability?

    [alg_wc_mppu product_id=”7472″ limit=”4″ start_date=”2022-10-10″ end_date=”2022-10-11″]
    [alg_wc_mppu product_id=”7326″ limit=”4″ start_date=”2022-10-11″ end_date=”2022-10-12″]
    [alg_wc_mppu product_id=”10702″ limit=”4″ start_date=”2022-10-12″ end_date=”2022-10-13″]
    [alg_wc_mppu product_id=”7334,7290″ limit=”4″ start_date=”2022-10-13″ end_date=”2022-10-14″]
    [alg_wc_mppu product_id=”10915″ limit=”4″ start_date=”2022-10-14″ end_date=”2022-10-15″]
    [alg_wc_mppu product_id=”7464,7287″ limit=”4″ start_date=”2022-10-15″ end_date=”2022-10-16″]
    [alg_wc_mppu product_id=”7314″ limit=”4″ start_date=”2022-10-16″ end_date=”2022-10-17″]
    [alg_wc_mppu product_id=”7304″ limit=”4″ start_date=”2022-10-17″ end_date=”2022-10-18″]
    [alg_wc_mppu product_id=”7545″ limit=”4″ start_date=”2022-10-18″ end_date=”2022-10-19″]
    [alg_wc_mppu product_id=”10348″ limit=”4″ start_date=”2022-10-19″ end_date=”2022-10-20″]

    #101069
    Moshtafizur
    Moderator
    Plugin Support

    Hello Kim,

    I hope you are well today.

    The plugin will prevent you from finishing the checkout procedure even if you increase the quantity on the cart page. There will be a notice stating that you have exceeded the limitations if you click the Update Cart button on the cart page.

    Also, please make sure you have the following options enabled in the plugin’s settings:

    – Frontend > Validate on Add to cart
    – Frontend > Cart notice > Enable
    – Frontend > Block checkout page

    If you have any other questions, then please let us know.

    Kind regards,
    Moshtafizur

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.