[SiOC - customer creation] Order creation form: enable order creation & payment collection CTAs only if a customer is set for subscription orders #12617
Set "customer account required" state to true and "customer is editable" state to true if the order has at least one subscription.
Otherwise, set "customer account required" state to false and "customer is editable" state to true.
Create CTA
When the "customer account required" state is true and there's no customer ID & email set, the Create CTA is disabled.
Ref: pdfdoF-4Rj-p2#comment-6031
States
Set "customer account required" state to
true
and "customer is editable" state totrue
if the order has at least one subscription. Otherwise, set "customer account required" state tofalse
and "customer is editable" state totrue
.Create CTA
When the "customer account required" state is
true
and there's no customer ID & email set, the Create CTA is disabled.