Comments (6)
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.
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.
Not been able to replicate the issue with just CoCart & CoCart Pro so it's defiantly a plugin compatibility issue.
from co-cart.
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.
@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.
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)
- Tweak: New installation of CoCart should not run if WooCommerce is not installed HOT 2
- Undefined session functions due to CoCart not keeping function names the same as WooCommerce session handler HOT 4
- Yoast head field for products API HOT 3
- Products disappear when you restore cart HOT 3
- Bug: Unable to validate product data passed when updating item quantity. Product data returns null HOT 4
- [Enhancement]: Add product validation for when attempting to update an item's quantity should the product no longer exists HOT 4
- JWT Authentication not working anymore. HOT 4
- Incorrect subtotal price? HOT 17
- There is no way to apply taxes and coupons with CoCart Cart while frontend cart/checkout page. HOT 3
- [Vulnerability] : Any user can choose price for products on cart HOT 1
- Custom Price Ignored after Load Cart from Session HOT 3
- Guest users cart is cleared when increasing quantity from the cart. HOT 1
- [Enhancement]: Authenticate via phone number HOT 1
- Mixing carts between users HOT 1
- Sync repository labels action test
- Updating a cart or removing an item from a cart add random products to the cart HOT 1
- problem with multiple reqs in a row HOT 1
- cookies and subdomains HOT 2
- TODO: Update WordPress plugin directory banner
- Character encoding issue with attributes returned and not valid when used to add item to cart HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from co-cart.