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

[5.x] Pass field config to variant option fields when augmenting #936

Closed duncanmcclean closed 9 months ago

duncanmcclean commented 9 months ago

This pull request fixes an issue I've just spotted while sorting something else where the field config for variant option fields wasn't being passed along when the options were being augmented.

This meant that if you had an Assets field, you'd see an error about the "asset container" not being set, even if it was set in the field's config because the config wasn't being passed along.

github-actions[bot] commented 9 months ago

Released as part of v5.6.1.