Bid step not enforced on bid form

Created on 13 May 2022, over 2 years ago
Updated 31 October 2023, about 1 year ago

Problem/Motivation

When setting the bid step in an auctionItem, the default value of the "your bid" field shows the correct lowest bid option. However, users can overwrite it and enter in a value between the current price and (current price + bid step)

Steps to reproduce

  • Create an auction item with a bid step set to 10, and a price set to 100.
  • View bidding form.
  • Enter in a bid of 105
  • Bid is saved

Proposed resolution

  • Create an auction item with a bid step set to 10, and a price set to 100.
  • View bidding form.
  • Enter in a bid of 105
  • Bid is rejected. Either during form validation, or by setting up the input field with the proper step and min attributes (or both)

Remaining tasks

Implement!

User interface changes

None

API changes

None

Data model changes

None

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada sagesolutions

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Assigned to danrod
  • 🇳🇿New Zealand garethhallnz

    I initially reviewed this as functional and accurate, but upon further consideration, I believe it requires additional refinement.

    Imagine you're conducting an auction with a substantial $500 increment and a reserve price of $10,000. While the reserve hasn't been met, the bid increment works well. However, once the bidding reaches the auction reserve, it can become somewhat unfair on bidders .. forcing them to pay $500 everytime

  • Status changed to Needs work over 1 year ago
  • 🇨🇦Canada SKAUGHT

    ->the question: bug report or feature request?

    "once the bidding reaches the auction reserve, it can become somewhat unfair on bidders."

    As I myself best recall the intent of Bid Step is to offer the next user what the Owner would want to Bid Step to be, not to force the end User to just defacto User the next step. If they are not an Autobid at all, they just want to manually add 1 penny more.. that is The Spirit of Auctioning.

    thoughts?

  • Issue was unassigned.
  • 🇨🇦Canada SKAUGHT

    Closing.

            '#min' => ($minPrice + .01),
    +            '#min' => ($minPrice + (float)$item->getBidStep()),
    

    indeed true. bid step is not designed to be inforced. just the next suggested 'click' if a user just quickly doesn't just want to only add 1cent more! lol.
    -> a user should always be able to choose how much they want to bid as long as it's more than the last recorded big.
    works as designed.
    thanks!!!

  • Status changed to Fixed about 1 year ago
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024