Subversion Repositories SmartDukaan

Rev

Rev 7386 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7386 Rev 19706
Line 45... Line 45...
45
         * The following code should be in create method.*********************************************************************
45
         * The following code should be in create method.*********************************************************************
46
         */
46
         */
47
        try {
47
        try {
48
            CatalogClient csc = new CatalogClient();
48
            CatalogClient csc = new CatalogClient();
49
            setItem(csc.getClient().getItem(product_id));
49
            setItem(csc.getClient().getItem(product_id));
50
            
50
            if(!isOCRSession()) {
51
            //csc.getClient().getStorePricing(product_id).getBEstDEal
51
            	setPrice(getItem().getSellingPrice());
52
            
52
            }
53
//            setDealText("Get a house free with this product");
-
 
54
            
53
                        
55
       } catch (Exception e) {
54
       } catch (Exception e) {
56
           log.error("Unable to get item from catalog service", e);
55
           log.error("Unable to get item from catalog service", e);
57
       }
56
       }
58
       /**
57
       /**
59
        * ****************END ************************************************************************************************
58
        * ****************END ************************************************************************************************