Zoho Desk

Zoho Desk

Hi,
 Iam creating tickets in zoho desk based on the subject name in sales order.
 I had attached the products in contact modle and writen a function to map the product names with subject in sales order.
Based on the subject i had created a ticket and assigned to blue print.
it was working for single product but when i am giving  products names, it was creating ticket for the first product.
i want to open ticket for both products. can Any one help me with this?