• Resolved sham0i51

    (@sham0i51)


    Hi,

    Up until recently I was successfully using this plugin in a development site with the Woocommerce Deposits plugin. Both were working as expected and calculating the correct expected totals. Both plugins now only work as expected with the other deactivated.

    However I just noticed today that I’m now receiving negative totals. I checked the version histories of both plugins and this is the only one out of the two which has been updated since I had them both working together.

    I’m using this plugin for Tiered pricing for products purchased in bulk, and Woocommerce Deposits for Payment plans.

    Anyone else seeing strange pricing values since any recent updates?

    Regards
    Sham

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi, @sham0i51,

    What is the deposit plugin do you use?

    Thread Starter sham0i51

    (@sham0i51)

    Hi @missundaztood,

    Thanks for the quick response.

    The official Woocommerce one… https://woocommerce.com/products/woocommerce-deposits

    I found this one most suitable as it allows for planned payment instalments after the first initial payment.

    If you know of another which works better with your plugin i’m happy to trial that?

    Thanks
    Sham

    Please, try this code:

    add_action('wdp_after_apply_to_wc_cart', function($processor, $cart, $wcCart) {
        $wcNoFilterWorker = new \ADP\BaseVersion\Includes\External\WC\WcNoFilterWorker();
        $wcNoFilterWorker->calculateTotals($wcCart, $wcNoFilterWorker::FLAG_ALLOW_TOTALS_HOOKS);
    },10,3);

    You need to paste it in the functions.php of your theme.

    Thread Starter sham0i51

    (@sham0i51)

    Thanks @missundaztood,

    No luck unfortunately. To give an example, I have 2 products for €100 each in the cart with a 5 instalment payment plan, 20% of the total taken at checkout. That is €40 payment at checkout.

    I have your plugin setup to give a 50% for the second item. It is showing me €100 for the first item and the reduced at €50 for the second on the item lines, however it’s now looking for -€10 for the first total payment.

    Not sure if it’s being caused by your plugin or the Deposits plugin, as I can’t figure out how it would give -€10 from any of the percentages set.

    Thread Starter sham0i51

    (@sham0i51)

    The strange thing is it used to give me the correct €30 charge for first payment

    Thread Starter sham0i51

    (@sham0i51)

    In addition when I test the Deposits plugin and use a coupon for discounts instead of this plugin, the correct subtotal is calculated.

    Please, send us a ticket in the helpdesk with a *.zip with deposit plugin (it’s a paid plugin).

    We’ll fix it in the new release.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘No longer working with Woocommerce Deposits’ is closed to new replies.