Please submit a private ticket if you need to share sensitive information, such as license details and admin credentials.

Okay
  Public Ticket #3630513
Shopping bag stock level
Open

Comments

  •  1
    Neil started the conversation

    Hi,

    we are trying to stop the user being able to select more stock than we have available using the input fields within the fly cart.

    There are not able to do so using the plus and minus symbols but if they click in to the input and enter a value exceeding stock then click out of the input, the cart updates with this new figure and recalculates the costs.

    For example, we have a product that costs £10 and a max stock of 6. Using the plus and minus the most you can show is 6 selected, total cost £60, but using the keyboard you could select 10 and have a total cost of £100. 

    How do we go about stopping this?

    Thanks

    Neil

  •  1,222
    Dustin replied

    Hi Neil,

    Thanks for informing us of this issue!

    Please update our plugin to the latest version 5.6.7. We've fixed it.

    Best regards,
    Dustin

  •  1
    Neil replied

    Hi Dustin,

    thanks for the quick reply, that's perfect.

    Just wanted to ask a little advice if I can please. We only want to show the quantity inputs in the basket for certain items, based on a custom field value. Currently this is having to be done by amending the plugin directly which obviously we don't want to do, is there anywhere we can hook into the code to add this custom condition?

    Thanks

    Neil

  •  1,222
    Dustin replied

    Yes, I can help you check and write a snippet for that when you use the premium version of our plugin. You can buy it here: https://wpclever.net/downloads/fly-cart/

    Best regards,
    Dustin