Commit Graph
4 Commits
Author SHA1 Message Date
Ashish Vijaywargiya 0b8ce2c91f Applied patch from jira issue - OFBIZ-3249 - Shopping cart on checkout page does not gets update when a gift item is added in cart after applying coupon code.
Patch for update cart on one page checkout page when a gift item a added in cart after applying valid coupon code.

Steps to test:

1. Create a new product promo for 'Gift With Purchase' action with require coupon code.

2. Go to ecommerce -> main

3. Purchase X product and go for one page checkout page.

4. Enter coupon code

5 If this coupon code is valid according to condition given in promotion then a you will get Y product as gift in cart with 0.0 price.

Thanks Arun for the contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@885425 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 13:41:56 +00:00
Hans Bakker e8b3a3f3c0 introduce a 'gift enable' with default = Y in the order.properties file and pos, ecommerce and ordermgr itself use it
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@790517 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 09:25:14 +00:00
Jacques Le Roux 97bb3073c9 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
David E. Jones 87b44cef4a Moved ecommerce from applications to specialpurpose, as discussed on the dev mailing list; component and build files updates, tested clean build/install/run
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@754529 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 21:32:16 +00:00