Commit Graph
321 Commits
Author SHA1 Message Date
Vikas Mayur 0b358a07a8 Client side validation on Account Information section of new customer page. Contribution from Rishi Solanki.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695785 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 09:29:14 +00:00
Vikas Mayur b44bc3b1e2 Added new labels in for one page template. Contribution from Rishi Solanki.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695780 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 09:20:51 +00:00
Vikas Mayur 3ef15e2a1d Reduced the flickering effect on show/hide of panels on one page checkout.
Process used is to set zero duration for showing/hiding panel and
1) Hide Editable panel,
2) Show Summary panel for # 1,
3) Show next editable panel.

Contribution from Brajesh Patel.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@694690 13f79535-47bb-0310-9956-ffa450edef68
2008-09-12 14:38:12 +00:00
Vikas Mayur 5e93689c2d Added new labels and misc cleanup. Contribution from Rishi Solanki.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@693775 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 10:25:11 +00:00
Vikas Mayur 9d3047a458 Misc UI enhancements. Contribution from Rishi Solanki.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@693712 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 06:23:29 +00:00
Vikas Mayur ad61622222 Not entering extension number during one page checkout results in phone number on summary panels like 1-555-5555555-. Fix provided by Brajesh Patel.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@692997 13f79535-47bb-0310-9956-ffa450edef68
2008-09-08 06:35:43 +00:00
Vikas Mayur 95f49da9af Done following changes:
1) Converted all of these events to services "createUpdatePerson, createUpdateEmailAddress, createUpdateTelecomNumber, createUpdateUserLogin, 
   createUpdateShippingAddress, createUpdateBillingAddress, createUpdateCreditCard"
2) Added Demo data for telecom number for DemoCustomer so that this party can do checkout on One page checkout.
3) Modified behaviour of billing and shipping telecom number field on new customer page with respect to check box "Billing is the same as the shipping address" and 
   corresponding changes to createCustomerProfile event. Now billing and shipping phone numbers are handled separtely from billing and shipping addresses resp.
4) Misc. changes to profile Java Script and one page template.

Thanks to Rishi Solanki, Santosh Malviya, Brajesh Patel and Sumit Pandit (for review) for this contribution.




git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@692448 13f79535-47bb-0310-9956-ffa450edef68
2008-09-05 14:08:18 +00:00
Vikas Mayur b9f0617eec Misc. improvements on One page checkout.
If a user has both shipping and billing addresses same then on moving to Step 4, Billing address form comes hidden and
check box "Billing address is same as the shipping address" checked.

Patch from Brajesh Patel.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@691980 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 11:51:19 +00:00
Vikas Mayur 40a51b5324 Used usePrimaryEmailUsername on ProductStore to determine whether to use email for userLoginId or not. Thanks David for suggestion
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@691119 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 06:32:31 +00:00
Vikas Mayur 1c6dda3931 Tweaking the links on one page checkout. If there is an error during processing information on a panel, replace please wait.... label back to Continue to step # (# = 2,3,4) Patch from Brajesh Patel.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690990 13f79535-47bb-0310-9956-ffa450edef68
2008-09-01 15:07:38 +00:00
Vikas Mayur d4ec886558 Added a new event that set userloginId from an email address. If user edit email address then set it as a new userLoginId and
disabled date to far in the future for existing userLoginId.
This is a new feature to new profile page.

Thanks to Rishi Solanki for this work and Sumit Pandit and Mridul Pathak for review.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690942 13f79535-47bb-0310-9956-ffa450edef68
2008-09-01 11:44:10 +00:00
Vikas Mayur 1de9130ffd Oops ! This was not intended but by mistake internationlized labels was replaced in last commit - so added it back. This time with a small change. Now the link on one page panel is Continue To Step # and not Continue For Step #
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690263 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 14:01:32 +00:00
Vikas Mayur c6e1615759 Added a new label "Please wait" on one page panels which appears when a user click on continue to step # link.
Panels of one page now show - hide in much smoother way.

Thanks to Brajesh Patel for this work.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690255 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 13:46:49 +00:00
Vikas Mayur 58c108a96d Removed deprecated class inputBox and unused code.
Changed script code to use context rather then parameters (Also reported by Scott - Initially I thought it would be an issue but its working fine)
More internationalization on one page template.

Thanks to Santosh Malviya and Sumit Pandit for this effort.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690248 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 13:17:41 +00:00
Vikas Mayur 85bc2a40e8 More improvements in new customer page ...
When a user check "Billing address same as shipping address" check box on new customer page, then instead of hiding and copying billing information to billing form just
show the billing form with all information copied from shipping and in disabled form. If a user edit shipping address and check box is checked then copy the changed fields
in shipping form to billing form.

Thanks to Brajesh Patel for this contribution.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690157 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 09:22:33 +00:00
Vikas Mayur c0dd3d7099 More improvements to new profile and customer pages ..
1) Display client side error message for email in EditProfile.ftl from uilabel.
2) Remove unused code from ViewProfile.ftl.
3) Formated PartyContactMechServices.xml  file.
4) Proper comment for service definition  updatePostalAddressAndPurposes  and updateContactMechAndPurposes.

Thanks to Sumit Pandit, Brajesh Patel and Rishi Solanki for this contribution.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@690150 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 08:35:50 +00:00
Vikas Mayur e82266d888 More improvements in new profile and customer pages. Thanks to Rishi Solanki, Brajesh Patel and Sumit Pandit for the contribution
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689783 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 11:12:08 +00:00
Vikas Mayur 60819b54d2 More improvements in new profile and customer pages. Thanks to Sumit Pandit, Rishi Solanki and Brajesh Patel for this contribution
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@689054 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 13:00:15 +00:00
Vikas Mayur a622524750 Continuing improvements in new profile and customer pages. Thanks to Sumit Pandit, Brajesh Patel, Rishi Solanki and Santosh Malviya for this contribution
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688737 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 14:33:52 +00:00
Vikas Mayur a9fc92fcc4 Done following changes to new profile and customer pages:
1) Addressed deprecated style <inputBox> and useless <span> tags as per Adrian's suggestion,
2) Added client validation for email and telecom number on new customer and edit profile pages,
3) Few misc. cleanups.

Thanks to Sumit Pandit, Brajesh Patel, Rishi Solanki and Santosh Malviya for this contribution.

Just a side note - There is a continuous effort from all contributors (names as mentioned above) to do improvement in this work.



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688305 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 12:36:23 +00:00
Scott Gray 6e6e23d9a8 bsf event conversion from bsh to groovy
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688227 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 23:45:45 +00:00
Vikas Mayur 3ab0dcb930 Adding completely new screens for customer and profile pages which are more compliant to industry standards.
To use these screens comment existing newcustomer and viewprofile screen and uncomment the new ones which has same names.

Entity Change: A new field is added to check default billing address in PartyProfileDefaults.
As this new stuff becomes matured and community accept this as default then we can remove older stuff.

Thanks to Sumit Pandit, Rishi Solanki, Brajesh Patel and Santosh Malviya for there valuable contribution.





git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@688081 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 13:40:31 +00:00
Ashish Vijaywargiya bb84947204 Minor Improvement in the previous patch.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687045 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 13:00:11 +00:00
Ashish Vijaywargiya 5f9596c646 Generalized the method for extracting states for selected country from drop down and improved java script for billingSameAsShipping option in billing panel of one page checkout.
Thanks to Jyotsna Rathore and Sumit Pandit in this contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@687037 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 12:16:20 +00:00
Bilgin Ismet Ibryam c1ea34eda8 Copied productDetail screen files to ecommerce, which should allow customized version of these screens for order manager and ecommerce applications.
This was agreed before some time here http://www.nabble.com/New-field-for-WebSite-entity--to14854979.html#a14854979

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686714 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 09:53:13 +00:00
Adrian Crum f7ab19876b Removed availableLocales and availableTimeZones from screen rendering context - they are not needed anymore. Also deleted an unused ftl file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686622 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 16:37:42 +00:00
Scott Gray c98e7dc59f Removed unnecessary "error" response elements from the controller files, if no event is defined then "success" will always be the response name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@686577 13f79535-47bb-0310-9956-ffa450edef68
2008-08-17 00:00:49 +00:00
Jacques Le Roux 09da2090c3 Fix an error reported in user ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@685095 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 08:56:17 +00:00
Vikas Mayur 6574f284e2 Improvent in one page checkout events. Patch from Mridul Pathak and Sumit Pandit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684743 13f79535-47bb-0310-9956-ffa450edef68
2008-08-11 13:35:50 +00:00
Adrian Crum bd18bcae69 More CSS, HTML cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684565 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 18:06:00 +00:00
Adrian Crum 28ac8e123c More CSS style and HTML cleanups.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684555 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 17:04:45 +00:00
Adrian Crum cd3a137731 Removed deprecated CSS style sepBar, removed unnecessary align="left" HTML element attributes.
I did a global search and replace for the align="left" aatribute - I didn't check each replacement because there were hundreds of them. This shouldn't break any layout. If you spot something wrong, post a message on the dev mailing list and I will fix it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684548 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 16:28:14 +00:00
Ashish Vijaywargiya 81079a536e Removed unnecessary code with minor improvements. Actually this code was breaking one page checkout for anonymous user in a condition when you run anonymous checkout just after registered checkout.
Thanks Mridul Pathak for this fix.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684499 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 13:43:32 +00:00
Ashish Vijaywargiya da2d5fb004 Changed the Event.
Patch from Jyotsna Rathore. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@684427 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 09:13:46 +00:00
Ashish Vijaywargiya e2512e3948 Patch from Rishi Solanki.
Split the auto completer JS from checkout, and remove all observers from country and state.

Special thanks to Mridul Pathak in helping to Rishi in this implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@683980 13f79535-47bb-0310-9956-ffa450edef68
2008-08-08 14:27:05 +00:00
Vikas Mayur e840da2c0f Now One Page template is more on stable side and would need little changes over time - So finally formatting this file. Their is no functional changes in this commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682679 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 11:38:20 +00:00
Vikas Mayur a39b088974 Misc. cleanup - Reported by Anil Patel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682626 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 08:13:55 +00:00
Vikas Mayur 3589c5ddf4 Improved the logic for create/update shipping and billing addresses during checkout on One Page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682434 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 16:08:22 +00:00
Vikas Mayur d1369d8af0 Added mark up to separate all of the 5 steps of One Page template - this would help in navigation through this big file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@682322 13f79535-47bb-0310-9956-ffa450edef68
2008-08-04 11:02:57 +00:00
Vikas Mayur 7373fb25d0 Moved the snippet for person information ...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681944 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 09:48:49 +00:00
Vikas Mayur 7ed1f5e94b Small fixes to scripts added recently for one page
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681938 13f79535-47bb-0310-9956-ffa450edef68
2008-08-02 08:01:46 +00:00
Vikas Mayur 1b45a3cb27 From now One Page Checkout supports registered process. Thanks to Sumit Pandit, Jyotsna Rathore, Brajesh Patel and Rishi Solanki their efforts ...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681750 13f79535-47bb-0310-9956-ffa450edef68
2008-08-01 17:04:44 +00:00
Vikas Mayur 906f18d691 Splitting the method createUpdateCustomerAndShippingAddress on One Page Checkout customer events into separate smaller methods. This way these methods can be re-used in other methods. Thanks to Sumit Pandit, Jyotsna Rathore and Brajesh Patel for their efforts ...
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681354 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 12:20:38 +00:00
David E. Jones 83f56ef712 Deprecating the loopSubContentCache transform because it is a huge mess and the loopSubContent uses the cache anyway; also found that the DemoWebSitePublishPointData.xml file had half of the ContentAssocs going one way, and half another; that is now fixed so they always go from parent to child; this required changes to the loopSubContent transform and various other cleanups along the way and a few fixes; some of these sample uses of the content infrastructure have got to be close to the worst code I've so hopefully someone will have some time to continue cleaning this up and keep their head about them while doing so in order to not make it worse
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681276 13f79535-47bb-0310-9956-ffa450edef68
2008-07-31 05:03:31 +00:00
Vikas Mayur f637cf7e3a Changed the name of contactMechId used for shipping on One Page Checkout from shippingContactMechId to shipToContactMechId. This name is more consistent with the current naming conventions used for shipping and billing form. Patch from Rishi Solanki
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@681000 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 12:40:16 +00:00
Vikas Mayur f685c5622a Reverting commit for change in name for contactMechId used for billing on One Page - as per David's suggestion on dev list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680926 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 07:28:53 +00:00
Vikas Mayur 1e3aa92a10 Using <span> intead of <div> does not break the current layout for micro cart. Ajax based updation of micro cart for One Page Checkout - Patch from Brajesh Patel.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680701 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 14:06:52 +00:00
Vikas Mayur 13ca931284 Reverting last my commit - as this breaks the micro cart layout. It needs some other approach to keep consistent with the current layout for micro cart.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680688 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 13:23:30 +00:00
Vikas Mayur 1763c06bd2 Now micro cart is also updated - on doing checkout through One Page. Patch from Brajesh Patel
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680682 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 12:29:33 +00:00
Jacques Le Roux febf82686b Undoing change committed in r680663. I completely Removed ORDER_SENT status which is unused OOTB and now simply hide it in UI.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@680675 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 11:33:51 +00:00