Skip to content

Quantity concatenates instead of adding #134

Description

@Blaise-Telfer

Untitled
If you have more than one item in the cart and you change the quantity, the "subtotal _ items" will concatenate the values instead of adding them. I.e, if you have qty of 1, 2, and 1, it will now appear as "subtotal 121 items", and it continues concatenating even if they're all returned to a qty value of 1. This is because the "qty" value is an integer, but is programmed to become a string if changed to any number greater than 1. You can see this on the console in my screenshot.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions