[MGNLWCS-16] Shopping cart teaser Created: 13/Aug/14  Updated: 16/Feb/15  Resolved: 04/Sep/14

Status: Closed
Project: Websphere Commerce Integration
Component/s: components
Affects Version/s: None
Fix Version/s: 1.0

Type: New Feature Priority: Neutral
Reporter: Jan Haderka Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLWCS-2 As an User I can complete my shopping... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

Tiny widget providing current total of items and total price for anything in the shopping cart and link to shopping cart details.



 Comments   
Comment by Jan Haderka [ 04/Sep/14 ]

ShoppingCartModel
Please add at least log.debug() printing the exception to those catch clauses so we can figure out what's wrong when/if necessary

     } catch (ClientErrorException e) {
 	 71	           return "";
 	 72	        }
 	 } catch (ClientErrorException e) {
 	 59	            return 0;
 	 60	        }

Those two methods should be done in the abstract parent no?

public boolean isAuthenticated() {
 	 81	        return MgnlContext.hasAttribute("WCPersonalization", Context.SESSION_SCOPE);
 	 82	    }
 
 	 85	    public String getRestClientName() {
 	 86	        return WebSphereCommerceIntegrationModule.DEFAULT_WCS_HTTPS_CLIENT_NAME;
 	 87	    }
 	 88	}
Comment by Robert Šiška [ 04/Sep/14 ]

getRestClientName() needs to be implemented by each model individually, because
some use HTTPS and some HTTP client.

Generated at Mon Feb 12 11:12:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.