Hello,
I have a "Dealers" page but cannot successfully list my Dealers from the Customer Database, where I have a custom yes/no field: "dealer".
Numerous iterations / combinations of code don't seem to work. I'm thinking the array is incorrect but am not able to find examples of customer arrays in Docs. Here's the latest code sample and I'm hoping a "good eye" might help me with it.
Many thanks in advance.
Michael
I have a "Dealers" page but cannot successfully list my Dealers from the Customer Database, where I have a custom yes/no field: "dealer".
Numerous iterations / combinations of code don't seem to work. I'm thinking the array is incorrect but am not able to find examples of customer arrays in Docs. Here's the latest code sample and I'm hoping a "good eye" might help me with it.
Code:
<mvt:item name="customfields" param="Read_Customer_ID( 'customer_id', 'dealer' )" /> <mvt:item name="customfields" param="Read_Customer_ID( 'customer_id', 'dealer_website' )" /> <mvt:foreach iterator="customer" array="all_customers:customers"> <mvt:if expr="l.settings:customer:customfields:dealer EQ 1"> &mvte:customer:ShipCompany;<br /> &mvte:customer:customfields:dealer_website;<br /> &mvte:customer:ShipPhone; </mvt:if> </mvt:foreach>
Michael
Comment