“Product orders” functionality not working properly

Top WooCommerce & WordPress Plugins Forums Maximum Products per User for WooCommerce “Product orders” functionality not working properly

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #121010
    Arsalan Rauf
    Participant

    Here is the use case I’m looking for:

    There is one product with 2 variations, each variation has a subscription option as well as one-time purchase. I want the first variation to have a purchase limit of 1, and the second variation to have a purchase limit of 3. These purchase limits should only last one month. Can you help with some instructions on how to set this up?

    I have tried setting it up with “Product orders” mode, but test purchases allow me to purchase over the set limit. I could set limits by quantity, but then the customer is still allowed to purchase the product multiple times in separate orders.

    Thanks in advance.

    #121152
    Arsalan Rauf
    Participant

    Hi,

    Any update here? It is urgent since we are launching a sale soon and need this functionality.

    #121200
    Moshtafizur
    Moderator
    Plugin Support

    Hi there,

    I apologize for the delay in getting back to you. We receive a high volume of support requests every day, which sometimes causes delays in our response time.

    We are currently working on your ticket. We will get back to you as soon as possible.

    Kind regards,
    Moshtafizur

    #121201
    Moshtafizur
    Moderator
    Plugin Support

    Hi again, Arsalan,

    It is possible with our plugin to set different limits based on product variation. Please follow the general steps to achieve this:

    In the ‘General’ section, set the ‘Mode’ to ‘Product quantities’ Configure the ‘Order statuses’ to the relevant order status you desire and set the ‘Date range’ to ‘This month’.’ Then go to the ‘Limits’ section and enable the ‘Per product’ option. Then go to the ‘Formula’ section and enable it. Now let’s say you want to limit the purchase of 2 variations of a product to 1, and 3 whose product IDs are 10, 20, and then you would need to paste a shortcode like this in the ‘Formula’ section:

    [alg_wc_mpp limit='1' product_id='10' ]
    [alg_wc_mpp limit='3' product_id='20' ]

    Please give it a try.

    Kind regards,
    Moshtafizur

    #121204
    Arsalan Rauf
    Participant

    Thanks for the response. I used your settings on a test site but it doesn’t seem to work properly. It seems like the limit being set by the shortcode isn’t working, but if I go to the specific product page and set the limits from there it will work.

    I also have a couple of other questions – if I set the range to “Monthly”, does that mean it would reset the count at the 1st of every month? I also found an exploit in which if a user adds the item to their cart, then go back to the product, they can choose to add the item again which is a way of bypassing the limit. To address this, I tried enabling the setting to block the checkout page as well as validate on add to cart but that doesn’t seem to do anything. How can I fix that issue?

    #121246
    Moshtafizur
    Moderator
    Plugin Support

    Hi there,

    Thanks for your reply.

    > I used your settings on a test site but it doesn’t seem to work properly.

    Could you please go to the “Tools” section and run the “Recalculate sales data” tool and see if the issue persists?

    Regarding your second question, yes, you are right regarding the date range. But could you please let me know what value you have set in the “Order statuses” under the “General” section? Because the limit won’t work until in “WooCommerce > Orders”, the order status is set to the same value as “Order statuses”.

    Kind regards,
    Moshtafizur

    #121260
    Arsalan Rauf
    Participant

    Hi,

    I tried “Recalculate sales data” but it still isn’t working. I check the limits by going to the account page and looking at the product limits tab. It says there are no restrictions.

    For the order status, I set it to “Processing”, so that it should always count.

    Would it be easier if I set up a user for you on the site so you could go in and enable the right settings?

    #121283
    Moshtafizur
    Moderator
    Plugin Support

    Hi Arsalan,

    We apologize for any inconvenience you may be experiencing.

    In order to assist you further, please provide us with access to your WordPress dashboard. You can send your login credentials to [email protected].

    Kind regards,
    Moshtafizur

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