Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug]: POS Cart View Custom Price hides item

See original GitHub issue

What is your BTCPay version?


How did you deploy BTCPay Server?

Docker, Locally &

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?

  1. Create Shop
  2. View Shop, to confirm all items appear
  3. Change item price to Custom
  4. Reload shop, to show items are no longer visible.

Relevant log output


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:closed
  • Created 2 months ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

dennisreimanncommented, Aug 4, 2023

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 ….

Peek 2023-08-04 08-16

pavlenexcommented, Aug 4, 2023

Concept ACK to the solution @dennisreimann

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found