co-cart / co-cart

🛒 CoCart is a free REST API designed to decouple your slow WooCommerce storefront and convert it blazing-fast, build in any web framework, and save you countless hours.

Home Page:https://cocartapi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Character encoding issue with attributes returned and not valid when used to add item to cart

seb86 opened this issue · comments

We are aware of a character encoding issue with attributes. There is data that is used for display and data that is used for requests. Not sure why yet they don’t match or if it’s on our end at this time but we know the experience is not perfect. It will be dealt with but it's not a priority at this time as there are ways around it like using the add to cart shortcuts we provide that are valid.

image

Attributes returned for display.

image

Attribute characters encoded / sanitized for requests that are valid.

image

On the storefront the attributes for form actions are the same.

So it appears it's only for custom attributes not taxonomy attributes that are shared in the store. We have sanitized the attribute title used for identification and will be pushed in the next patch v3.12.0.