Re: Remove You Might Also Interested Items From Cart

2010-05-16 Thread BrettS
Hi Chirag, Thanks for your reply. I tried removing product associating using this SQL: delete from product_assoc where product_assoc_type_id in ('PRODUCT_UPGRADE', 'PRODUCT_COMPLEMENT'); However, there are still are still items appearing under You Might Also Interested: Any other

Re: Ofbiz Returning to Wrong Page After Add to Cart

2010-05-12 Thread BrettS
Hi, Thank you to everybody who responded. I changed the controller as per Ankit's suggestion and that fixed my problem. In response to Jacques's question, I don't know exactly what you mean by demo server. I did download a copy of Ofiz 9.04 (stable) and did a clean install on another machine.

Ofbiz Returning to Wrong Page After Add to Cart

2010-05-11 Thread BrettS
Hi, Under certain circumstances, I have a problem with Ofbiz (incorrectly) redirecting to the Profile page after clicking Add to Cart. The steps I took to produce the problem are as follows: - Login (as admin) - Click on Profile and Update postal address. - Save the postal address. At this

Re: How To Change Price Adjustments?

2010-05-10 Thread BrettS
FYI, a more appropriate way to disable promos is as follows: 1. Go to Catalog Promos. 2. For every promotion, click on Edit Stores (tab). 3. For each store that the promotion is tied to, expire it by putting in a past Thru Date. -- View this message in context:

Re: Integrating to Other Ecommerce Systems / Removing JavaScript

2010-05-04 Thread BrettS
Hi BJ, Thanks for your reply. My apologies for not making myself clear. What I mean by hooking up to another system is basically, something like the steps you have just described. Thank you. Regards Brett S -- View this message in context:

Integrating to Other Ecommerce Systems / Removing JavaScript

2010-05-03 Thread BrettS
Hi, I am an experienced J2EE developer, but Ofbiz newbie who has been developing an ecommerce prototype for my company based on the ecommerce module of Ofbiz. We intend that this prototype should eventually be used in two ways: - Firstly, in tandem with the standard ecommerce module on a

Re: Integrating to Other Ecommerce Systems / Removing JavaScript

2010-05-03 Thread BrettS
Hi BJ, Thanks for your prompt reply to my vague question. If we hook up to another system, I image we would still be installing Ofbiz (regardless of what we actually use), just pulling ecommerce data from somewhere else. Porting another database to the Ofbiz data model sounds very promising.

How To Change Price Adjustments?

2010-04-27 Thread BrettS
Hi, I am trying (unsuccessfully) to find information on: 1. how price adjustments are calculated and 2. how they might be changed. Can someone point me to appropriate documentation or failing that, give me a brief explantion please? I ask because I would like to change/remove price

Re: How To Change Price Adjustments?

2010-04-27 Thread BrettS
Hi Patrick, Thanks for your prompt reply. I couldn't figure out exactly which promotion was causing my problem. So, I ensured the Require Code field was *not* set to No for *any* promotion. That change fixed my issue. Regards Brett -- View this message in context:

Re: How To Use JSP Custom Tag Within Freemarker Template Page?

2010-04-22 Thread BrettS
Hi, I am *still* failing to get a JSP tag working in an FTL file. Since last time, I have added the following to web.xml. (so I am using the stock freemarker.ext.servlet.FreemarkerServlet) servlet servlet-namefreemarker/servlet-name

How To Stop java.lang.ClassCastException Error?

2010-03-16 Thread BrettS
Hi, I have made a small modification to RequestHandler.java that compiles, but causes ClassCastException errors. Can anyone tell me what I am doing wrong please? Details as follows. I have inserted the following line of code into RequestHandler.java. Profile profile=Profile.getProfile(request);

Re: How To Change Security Redirect URL in OFBiz Shopping Cart?

2010-03-16 Thread BrettS
Hi, Eventually, I found the following line in RequestHandler.java determined that checkLogin control was used if auth=true and user not logged in: requestMap = controllerConfig.requestMapMap.get(checkLogin); So, I wrote some code to change checkLogin if the alternate shopping cart was in

Re: How To Change Security Redirect URL in OFBiz Shopping Cart?

2010-03-10 Thread BrettS
Hi Scott, Thanks for your reply. Unfortunately in my case, overriding the existing controller entry is not an option. The reason is, I need to keep the existing shopping cart unchanged and running in parallel with the new shopping cart. This is why I am going to the trouble of creating new

How To Use JSP Custom Tag Within Freemarker Template Page?

2010-03-09 Thread BrettS
Hi, I am attempting to use a custom JSP tag within a Freemarker template within OFBiz without success. In a JSP, the tag syntax is as follows: %@ taglib uri=/WEB-INF/imps.tld prefix=imps% imps:xhtmldoctype request=%=request%/ So, I attempted the following in Freemarker: #assign

How To Change Security Redirect URL in OFBiz Shopping Cart?

2010-03-08 Thread BrettS
Hi, I want to change URL that security will redirect to when a user is not logged in. For example, if you hit the Check out link in the ecommerce shopping cart before logging in, OFBiz will redirect you to the checkLogin URL. I presume this is because of the setting security https=true