Handle multiple prices per item
See original GitHub issueI have a use case where I am implementing a localised cart where cart items may have a different prices per currency/locale.
Currently items are require to have a single price: number
, which limits the possibility of offering multiple prices on cart items.
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (5 by maintainers)
Top Results From Across the Web
How to Set Multiple Prices Per Product in WooCommerce ...
You can multiple prices per product by creating and adding global or custom attributes, which are available in WooCommerce by default. For that, ......
Read more >WooCommerce How To Set Multiple Prices Per Product
Using WooCommerce you can easily set multiple prices per product by creating variable products and setting the price for each variant.
Read more >How To Give Multiple Prices Per Product In WooCommerce
To get started, navigate to Products > Attributes from your WordPress dashboard: You can enter a title for the attribute. For example, you...
Read more >Set multiple prices per product on your WooCommerce store
Find out how to set WooCommerce multiple prices per product based on user role and sell the same product at different prices.
Read more >How to Set Multiple Prices Per Product in WooCommerce
You are probably aware that a single item can have numerous variations if you manage an online business. And they are not just...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, the first option worked perfectly! Thank you very much for your patience and help!!
@notrab Happy to add a PR that implements
prices: ItemPrice[]
.My concern is then how to we calculate totals on a per currency basis, unless we make
currency
required.I guess those total functions need to be updated to also reflect multiple price support.