Skip to content

"0" not appearing in the cart summary #251

@irinelenache

Description

@irinelenache

Description

If you add "0" in the Text/Textarea/Number field, it won't be processed and visible in the cart summary. Here is a video with the behaviour: https://vertis.d.pr/v/BVxHyc

Reported here - https://secure.helpscout.net/conversation/2521625793/405984?folderId=212385

Step-by-step reproduction instructions

  1. Add the Text/Textarea/Number field to a product
  2. Add 0 as an input for the field and click the Add to cart button
  3. Check how the product looks in the cart

Screenshots, screen recording, code snippet or Help Scout ticket

https://vertis.d.pr/v/BVxHyc

Environment info

WordPress 6.4.3 / PPOM 32.0.9

Is the issue you are reporting a regression

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis label could be used to identify issues that are caused by a defect in the product.customer reportIndicates the request came from a customer.small(1-3h) This label is used for issues that can be completed within 3 hours or less.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions