{"result":{"isnew":"false","hasdiscount":"false","hasdiscountvalue":"","response":"showallwayscheck else condition is working.","response_result":"select * from product_web_settings where prdid=''","applywatermark":null,"next_product_id":null,"next_product_name":null,"next_product_query":"select products.id , products.item_name from products, productdisplaywebsite, pcategory_product\r\n\t\t\tinner join\r\n\t\t\tproduct_web_settings pws on pws.show_product_always='true'\r\n\t\t\tAND\r\n\t\t\t( CASE WHEN\r\n\t\t\tpws.show_product_enable = 'true' THEN pws.show_product_sdate <= DATE(now()) AND pws.show_product_edate >= DATE(now())\r\n\t\t\tELSE -1\r\n\t\t\tEND\t)\r\n\t\t\tand pws.prdid = pcategory_product.product_id\r\n\t\t\t where products.id > '' and products.id = productdisplaywebsite.prdid and products.prd_status = 'active' and \r\n\t\t\tproductdisplaywebsite.websiteid = '' and pcategory_product.category_id = '' and products.id = pcategory_product.product_id\r\n\t\t\torder by products.id ASC LIMIT 1","main_ca_enable_res":0,"prev_product_name":null,"query":"select * from product_web_settings where prdid=''","prev_product_id":null,"reg_details":null,"main_cat":null}}