I have adopted that code but still no joy. All blank. Some thoughts:
- Is there an Item one needs to assign for the mv:do?
- This is a Page and not a customer-oriented page. Does that make a difference?
cheers,
Michael
<mvt:do file="g.Module_Feature_CUS_DB" name="l.success" value="CustomerList_Load_All(l.settings:customers)" />
<mvt:foreach iterator="customer" array="customers"> <mvt:item name="customfields" param="Read_Customer_ID( l.settings:customer:id, 'dealer' )" /> <mvt:item name="customfields" param="Read_Customer_ID( l.settings:customer:id, 'dealer_website' )" /> <mvt:if expr="l.settings:customfields:dealer EQ 1"> &mvte:customer:ShipCompany;<br /> &mvte:customer:customfields:dealer_website;<br /> &mvte:customer:ShipPhone; </mvt:if> </mvt:foreach>
<mvt:foreach iterator="customer" array="all_customers:customers"> <mvt:item name="customfields" param="Read_Customer_ID( l.settings:all_customers:customers:customer_id, 'dealer', l.settings:customers:customfields )" /> <mvt:item name="customfields" param="Read_Customer_ID( l.settings:all_customers:customers:customer_id, 'dealer_website', l.settings:customers:customfields)" /> <mvt:if expr="l.settings:customers:customfields:dealer EQ 1"> &mvte:customer:ShipCompany;<br /> &mvte:customer:customfields:dealer_website;<br /> &mvte:customer:ShipPhone; </mvt:if> </mvt:foreach>
<mvt:foreach iterator="customer" array="all_customers:customers"> <mvt:item name="customfields" param="Read_Customer_ID( l.settings:all_customers:customers:customer_id, 'dealer' )" /> <mvt:item name="customfields" param="Read_Customer_ID( l.settings:all_customers:customers:customer_id, 'dealer_website' )" /> <mvt:if expr="l.settings:customers:customfields:dealer EQ 1"> &mvte:customer:ShipCompany;<br /> &mvte:customer:customfields:dealer_website;<br /> &mvte:customer:ShipPhone; </mvt:if> </mvt:foreach>
<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:item name="customfields" param="Read_Customer_ID( l.settings:all_customers:customers:customer_id, 'dealer' )" /> <mvt:item name="customfields" param="Read_Customer_ID( l.settings:all_customers:customers:, 'dealer_website' )" /> <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>
<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>
Leave a comment: