Git Product home page Git Product logo

Comments (6)

seb86 avatar seb86 commented on June 5, 2024

So just to clarify @voodoobg

  • Product is set as 1
  • Coupon takes off 10 (Fixed)
  • Item added to the cart is set as 25
  • Subtotal still shows as original price
  • But the total is 90

from co-cart.

voodoobg avatar voodoobg commented on June 5, 2024

Product is set to 1 - Correct
Coupon is 10% off
Item added at 25
It appears the total is 0.9 (10%off 1) should be calculated based on 25

Tried without the coupon applied and it calculates again on the price taken from WC that is 1.

from co-cart.

seb86 avatar seb86 commented on June 5, 2024

Not been able to replicate the issue with just CoCart & CoCart Pro so it's defiantly a plugin compatibility issue.

from co-cart.

voodoobg avatar voodoobg commented on June 5, 2024

I've managed to find the problem and its the one I feared. The plugin is ATUM Multi-Inventory that is installed with ATUM Inventory Management for WooCommerce. It manages multiple inventories and this is the functionality that my clients wants. When I disable this plugin the custom price is calculated properly in the totals.
What will be the next step? I need this functionality working with the CoCart. Can you point me of what to search for or help you figure this out and what can cause this problem?

from co-cart.

seb86 avatar seb86 commented on June 5, 2024

@voodoobg I don't have the add-on for ATUM so I can't go any further at this point. I would ask them if they can contribute in supporting overriding the price. I don't see anything in the free core version of ATUM causing the isue so it's realted to the add-on of theirs.

The function that ATUM would need to look at is: https://github.com/co-cart/co-cart/blob/trunk/includes/class-cocart-cart-cache.php#L94,L110

I'm currently making preparations to making CoCart 4.0 so if it's small patch that can be added, their best place to add the contribution would be to add it to this package: https://github.com/co-cart/cocart-third-party

I don't have yet any instructions added but it should be straight forward to follow if they reviev the code.

from co-cart.

voodoobg avatar voodoobg commented on June 5, 2024

Thank you. I have contacted the devs of Atum and told them about this compatibility issue. I hope they will take a look and figure it out.

from co-cart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.