duncanmcclean / simple-commerce

A simple, yet powerful e-commerce addon for Statamic.
https://statamic.com/addons/duncanmcclean/simple-commerce
Other
143 stars 36 forks source link

Product Variants do not show in admin (via Customer View) #950

Closed duncanmcclean closed 8 months ago

duncanmcclean commented 8 months ago

Discussed in https://github.com/duncanmcclean/simple-commerce/discussions/949

Originally posted by **jamie-b5** December 18, 2023 Hi Duncan Apologies - me again! NB I'm not sure if the following is a Simple Commerce issue or a Statamic admin issue, so if I'm posting in the wrong place please let me know. We have some products with variants. The variants display correctly when we access the order view directly from admin ![image](https://github.com/duncanmcclean/simple-commerce/assets/48086633/5d83603d-15b6-440f-bcb9-1150e3c0e620) However if we access the customer and then the order from the link within the customer view we get an error when displaying the variant: ![image](https://github.com/duncanmcclean/simple-commerce/assets/48086633/ab51e674-0961-4a97-94f8-b8233333cec2) The javascript looks like it is reporting an undefined error: ![image](https://github.com/duncanmcclean/simple-commerce/assets/48086633/b5d23f18-28d9-4b3e-8cf5-4d5f7b390af6) Any help would be greatly appreciated!
duncanmcclean commented 8 months ago

Fixed by 6f2ffc9

github-actions[bot] commented 8 months ago

Released as part of v5.7.0.