Widget: Prefill emaiL_repeat with data-email attribute

This commit is contained in:
Martin Gross
2025-02-06 11:56:29 +01:00
parent 64effc84a3
commit 70c8535b94
+4
View File
@@ -787,6 +787,10 @@ class QuestionsStep(QuestionsViewMixin, CartMixin, TemplateFlowStep):
self.cart_session.get('email', '') or
wd.get('email', '')
),
'email_repeat': (
self.cart_session.get('email_repeat', '') or
wd.get('email', '')
),
'phone': self.cart_session.get('phone', '') or wd.get('phone', None)
}
initial.update(self.cart_session.get('contact_form_data', {}))