#LOCAL("ShowMandatoryHint", 1) #IF(#AddressType EQ "ShippingAddress" AND #IsEmpty(#Shop.ShippingAddressSetMandatoryFields)) #SET("ShowMandatoryHint", 0) #ELSIF(#AddressType EQ "BillingAddress" AND #IsEmpty(#Shop.BillingAddressSetMandatoryFields)) #SET("ShowMandatoryHint", 0) #ELSIF(#AddressType EQ "ShippingAndBillingAddress" AND #IsEmpty(#Shop.BillingAddressSetMandatoryFields) AND #IsEmpty(#Shop.ShippingAddressSetMandatoryFields)) #SET("ShowMandatoryHint", 0) #ENDIF #IF(#ShowMandatoryHint)
{MandatoryFields}
#SET("IsOneBoxVisible", 1) #ENDIF #ENDLOCAL