Skip to content

Conversation

@friimaind
Copy link

The purpose of this PR is to handle some specific problems that occurred when saving products in the backend:

  • sometimes Clerk does not recognize ID as an integer
  • html_tags are stripped on product's description
  • category's id casted to integer

Furthermore, when the module creates the JSON for the API call, many integer/float fields are sent as strings and JSON_NUMERIC_CHECK is used to fix that.

- force cast id to integer
- remove html tags from product's description
- force cast category id to integer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant