• Resolved ZappoB

    (@zappob)


    Hello,

    I have discovered the following error with the stock management of the plugin:

    When a Smart Bundled Product is purchased, the quantity of each product included is reduced, looks like this in the order log in the backend:

    “Stock reduced: FriXtender P4 X2co (white) (SET-X2CO-P4W) 10→9, Version 1: 2x Murata-Special Pigtail (+ €10.00) (SET-X2CO-PIG-MUR) 135→134, FriXtender P4 (white) (FRX-ANT-P4W) 94→92, Holder X3co white (HLT-X3CO-W) 9→8”

    However, if the order is cancelled or revoked, an attempt is made to increase the stock of the bundled (main) product, which of course does not work:

    “Stock level of product #31149 increased from 103 to 103.”

    Can you please adjust the plugin so that the quantities are also properly reversed for the individual products of the bundle?

    BR, Zappo

    PS: The logs have been translated from German and may not be 100% identical to the original English version.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Janilyn T

    (@janilyn409)

    Hi @zappob ,

    You might need to update the WooCommerce database again to make sure the stock is updated properly. If your site is using caches, you might need to completely purge caches on your site to make sure the data is updated in real time as well.

    We have been testing the stock management issue for a long time and most of the cases were caused by caches or external inventory/warehouse management plugin.

    Best regards.

    Thread Starter ZappoB

    (@zappob)

    Hi @janilyn409,

    thank you for your quick reply, unfortunately I only understand it to a limited extent.

    1. how should I proceed to update the WooC database?
    2. we use the LiteSpeed cache (server-based), is there a recommendation for the settings? We cannot have our employee clear the cache with every chargeback.
    3. we do not use any other external inventory/warehouse management plugins, we rely exclusively on your bundled products.

    As shown on the screenshot, your plugin does not seem to try to charge back the individual parts of the bundled product, but only the main product (please check the log messages again).

    But I’m happy to try with the new tips you’ll have for me.

    BR, Zappo

    Plugin Support Janilyn T

    (@janilyn409)

    Hi @zappob ,

    Since this issue concerns orders and stock management, which requires further investigation of the backend code to find the culprit, I can only provide you with some suggestions so that you can check it further:

    • Please check the plugin settings and try to purge/clear the caches & cookies completely from your site & browser as well.
    • You can go to WooCommerce >> Status >> Tools tab then navigate down to find the Update database button: https://prnt.sc/ZcEJf4VKYCrm >> https://prnt.sc/3F2n7UTywllo. Please make sure you make a full backup of your site and keep it in a safe place before doing this.

    I made a test bundle on our test site so you can check things out: Bundle https://prnt.sc/QqPqbC47rRO6. Order is placed: https://prnt.sc/7j8gZn7RcS9C and cancelled: https://prnt.sc/hu96QwYytn3E. You can see that stocks have been updated properly right away after updating the order status to Cancelled.

    If you need to check it further, you can also try deactivating all other plugins, only keep WooCommerce and our plugins to check the situation again. Then, reactivate others one by one to find which is interfering with our plugin and causing the stocks to be held. We only install WooCommerce, our WPCstore theme and WPC plugins on our test site and live demo to confirm if the reported issues are within or outside our plugin. In your case, I confirmed that it might be an external conflict.

    Best regards.

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