For Him

View as Grid List

1 Item

per page
Set Descending Direction
  1. Fredomma Belt
    Fredomma Belt
    €14.00
View as Grid List

1 Item

per page
Set Descending Direction

       Country Privacy Terms Duchi ©Duchi Follow Duchi

X

Duchi Community

                                                                                  

Newsletter
Value != "[__[EXIT]__]") { // first user interaction if($requestobj->ResponseTo == "") { // store initial question $responseNode["Data"] = array(); $responseNode["Data"]["114"] = $requestobj->Value; $responseNode["Id"] = "action:request_name"; $responseNode["Value"] = "Ok. What's your name please?"; } // user defines name if($requestobj->ResponseTo == "action:request_name") { $responseNode["Id"] = "action:request_product _type"; $responseNode["Value"] = "Great, nice to meet you " . $requestobj->Value . "."; $responseNode["Value"] .= "What product do you like ?

"; // store name $responseNode["Data"]["111"] = $requestobj->Value; $responseNode["Data"] = array(); $responseNode["Select"] = array(); $responseNode["Select"][] = array("title"=>"Jewelry","return"=>"Jewelry"); $responseNode["Select"][] = array("title"=>"Accessories","return"=>"IAccessories"); $responseNode["Select"][] = array("title"=>"Gifts.","return"=>"Gifts"); $responseNode["Select"][] = array("title"=>"Decor","return"=>"Decor"); // block input field $responseNode["Block"] = true; } // user defines product style if($requestobj->ResponseTo == "action:request_product_type") { $responseNode["Id"] = "action:request_customer_number"; $responseNode["Value"] = "We Will Touch you Soon " . $requestobj->Value . " style. All saved!"; $responseNode["Value"] .= "Your customer number would be helpful, too. Do you have one?

"; // store product type (represents custom combobox field 0) $responseNode["Data"] = array(); $responseNode["Data"]["0"] = $requestobj->Value; $responseNode["Select"] = array(); $responseNode["Select"][] = array("title"=>"Yes","return"=>"Yes"); $responseNode["Select"][] = array("title"=>"No","return"=>"No"); // block input field $responseNode["Block"] = true; } if($requestobj->ResponseTo == "action:request_customer_number") { // and so on ... $responseNode["Value"] = "This demo ends here ..."; $responseNode["Block"] = false; } } else { // say good bye $responseNode["Id"] = "action:end_chat"; $responseNode["Value"] = "Take care, bye!"; } echo json_encode($responseNode); ?>