Questions step: Only prefill customer name for first ticket (#2555)

This commit is contained in:
Raphael Michel
2022-03-24 17:04:23 +01:00
committed by GitHub
parent 41d3f39fc7
commit 2a0748a008
3 changed files with 6 additions and 6 deletions

View File

@@ -735,9 +735,9 @@ class QuestionsStep(QuestionsViewMixin, CartMixin, TemplateFlowStep):
return f
def get_question_override_sets(self, cart_position):
def get_question_override_sets(self, cart_position, index):
o = []
if self.cart_customer:
if self.cart_customer and index == 0:
o.append({
'attendee_name_parts': {
'initial': self.cart_customer.name_parts