Comments (6)
This is how WooCommerce works as standard. A coupon is applied to all the products in the cart. If you want a discount to show up as its own discounted line, then you need to add it as a negative fee. But this is not the standard in WooCommerce
from billmate-checkout-for-woocommerce.
the discount code is not visible regardless of the type of discount code in the payment call to Billmate. This means that customers will never be able to see on their invoices that a discount code has been used. Example if a product has received a discount of 10%, it should be sent as this
$ values ["Articles"] [1] = array (
"artnr" => "B456",
"title" => "Article 2",
"quantity" => "3.5",
"aprice" => "56780",
"taxrate" => "25",
"discount" => "10",
"withouttax" => "178857",
);
If this is not included, customers will call and shop and ask us why they can not see the discount code on their receipts / invoices.We must also be sure that it is possible to give a discount for items even if they have different VAT rates such as 6% 25%
from billmate-checkout-for-woocommerce.
@stefanliden How should we add a discount in the request to Billmate if it is a fixed cart amount discount?
The API-docs mention that it should be sent in as %, but fixed amount coupons can also be created in WooCommerce.
from billmate-checkout-for-woocommerce.
@MattiasNilsson Would it be ok to just add the discount on each order line for display/information? Not be a part of the totals calculation? I have tested and it seem to work ok like that.
from billmate-checkout-for-woocommerce.
@OskarOstlund perhaps you can test this and see that it looks ok for you as well?
from billmate-checkout-for-woocommerce.
Tested and approved.
Discounts have now been included in the
from billmate-checkout-for-woocommerce.
Related Issues (20)
- Move #bco-wc-form inside the checkout form HOT 3
- Validate phone number input HOT 1
- Öppna Mobilt BankID"/IOS
- Disable checkout if no delivery method exists. HOT 1
- Critical: Selected payment method not always stored HOT 7
- Rounding error "Total Summa med Skatt är inte lika med Total Summa Exklusive Moms, Total Skatt och Avrundning" HOT 8
- Delivery address not always saved in WooCommerce order (but it's saved in Billmate Online) HOT 5
- Billmate checkout hash is missing HOT 4
- Test titel
- Woocommerce order loops "invoice fee" in order view but not in BO.
- As a customer, i want to be able to handle orders from the nordic countries HOT 2
- Make private magic functions public HOT 1
- Merchant has reported that the invoice fee is written twice. HOT 2
- customer at times missing clarification what purchase was made. HOT 3
- If you change currency mid purchase will that result in different currencies in BO and the store. HOT 2
- Include Cart.Total.withouttax not always match articles withouttax HOT 1
- Checkout->continue without PNO and then selecting trustly will redirect you back to the checkout HOT 2
- Customer not redirected to woocommerce native checkout if country not allowed. HOT 1
- Use Total.rounding HOT 1
- Merchant gets link but cannot get redirected.
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 billmate-checkout-for-woocommerce.