imranhsayed / woo-next

:rocket: React WooCommerce theme, built with Next JS, Webpack, Babel, Node, Express, using GraphQL and Apollo Client
https://codeytek.com/course/woocommerce-with-react-course/
881 stars 256 forks source link

product price does contain HTML entities like € 18,00€ 20,00(NaN%) OFF #114

Open pimftw opened 2 years ago

pimftw commented 2 years ago

When I clone a fresh copy of this repo and install the added plguins it results in the product price containing HTML special characters. Schermafbeelding 2022-05-30 om 10 58 53

PaulCordo commented 1 year ago

Yes might be due to this update from wp-graphql-woocommerce https://github.com/wp-graphql/wp-graphql-woocommerce/issues/75 You now need to add a filter next to price values in your request like price(format: RAW)