[Bug]: POS Cart View Custom Price hides item
See original GitHub issueWhat is your BTCPay version?
1.11.1
How did you deploy BTCPay Server?
Docker, Locally & https://master.btcpay.host/
What happened?
Setting a custom price on an amount causes the item to hide in the shop view, and is no longer visible or searchable.
How did you encounter this bug?
- Create Shop
- View Shop, to confirm all items appear
- Change item price to
Custom
- Reload shop, to show items are no longer visible.
https://github.com/btcpayserver/btcpayserver/assets/6250771/66355106-b3e0-42f0-b742-d47e5f45b86e
Relevant log output
N/A
What browser do you use?
Chrome Version 115.0.5790.114 (Official Build) (x86_64)
Additional information
Will try to upload the video
Are you sure this is a bug report?
- I confirm this is a bug report
Issue Analytics
- State:
- Created 2 months ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
Solved: Re: Help beginner coder | item.final_price equals ...
I started by trying to enable the display discount functionality in cart-template.liquid, and though it works the striked-out price is incorrect ...
Read more >possible woocommce bug keep showing "total_sales" in ...
As shown in the edit/add product page, this item "total_sales" always show up in the default metabox "custom field". It's not doing any...
Read more >POS Cart view events and handlers - Dynamics 365
This article explains how extensions can consume the point of sale (POS) view events and handlers for custom scenarios.
Read more >WooCommerce: Hide Price & Add to Cart for Logged Out ...
You may want to force users to login in order to see prices and add products to cart. That means you must hide...
Read more >Hide Cart Functions – WordPress plugin
Several plugins provide a means to edit the shopping page cart functions, to hide the price, “Add to Cart” button, quantity selector, and...
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
I found a solution to this and #5212: We would need to let the user/merchant input the price before adding the item to the cart — same would make sense for the minimum amount items. We can then handle all cases correctly and even add multiple items with different custom/monimum prices, like this ….
Concept ACK to the solution @dennisreimann