Commit Graph
35 Commits
Author SHA1 Message Date
Ashish Vijaywargiya 8f887ad408 Applied patch from jira issue OFBIZ-3186 - Layered Navigation of Categories.
Layered navigation in an Ecommerce application allows the user to filter the product listing based on categories, features and price ranges. The user can apply multiple filters to the given product listing. He can narrow or expand his search and try different filter combinations so as to find the desired product.

I have implemented Layered Navigation in OFBiz ecommerce with following filters:

   1. Sub Categories: This filter is shown whenever there are sub-categories present under the top-level category or current selected category. Count of products within the category is shown against each category, works with multilevel deep category hierarchy. Selecting a sub category will show products within that category and filters will be updated accordingly for the new product list.
   2. Features: Feature filters are grouped by Feature Types. Count of products that has the feature associated as standard, selectable or distinguishing is shown against that feature. Current Implementation has feature filters for ProductFeatureType="COLOR".
   3. List Price Range: This filter will always show. When applied filters product based on List Price Range. Current implementation is done by listing static price ranges at code level.

The above implementation is completely based on the OOTB Product Search functionality with few additional methods in ProductSearchSession to derive count against different type of filters.

This is collaborative contribution from Mridul Pathak, Jacopo Cappellato & Scott Gray.
Thanks Guys for such a nice contribution - I am sure community will love seeing the existence of "Layered Navigation" in OFBiz trunk.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835372 13f79535-47bb-0310-9956-ffa450edef68
2009-11-12 12:54:22 +00:00
Ashish Vijaywargiya fa60ccd7b4 Applied patch from jira issue OFBIZ-3159 - Move geoAutoCompleter.js from ecommerce to ordermgr.
geoAutoCompleter.js currently resides in specialpurpose/ecommerce component. But now it is also used in OrderViewScreen.xml#OrderHeaderView screen. First of all we can't have dependency of ordermgr on ecommerce component. Secondly, if I am developing a custom ecommerce application with mount point /ecommerce, thus overriding specialpurpose/ecommerce webapp, and copying the geoAutoCompleter.js to my custom application (to customize) in a directory structure other than that of specialpurpose/ecommerce, then the JS file is not loaded in OrderHeaderView screen due to change of location. The only reason is the dependency stated above. Hence this change is vital.

While doing this change, all the references to geoAutoCompleter.js will need to be updated too.

Thanks Arpit for the contribution.
Special thanks to Mridul for providing notes for the implementation.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@833026 13f79535-47bb-0310-9956-ffa450edef68
2009-11-05 10:08:35 +00:00
Bruno Busco c3ac175016 Part of OFBIZ-3067 - Menus and form widget files location
Ecommerce, Webtools and hhfacility components
Moved forms from webapp to widget folder
Removed empty folders

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@829443 13f79535-47bb-0310-9956-ffa450edef68
2009-10-24 20:20:18 +00:00
Bruno Busco a9c26eb1c1 Changed <container style="screenlet"> pattern to <screenlet...>.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@826483 13f79535-47bb-0310-9956-ffa450edef68
2009-10-18 18:24:32 +00:00
Ashish Vijaywargiya c06bfc234a Applied patch from jira issue OFBIZ-3024 - Implement contact us functionality for unregistered user.
Thanks Awdesh for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@823849 13f79535-47bb-0310-9956-ffa450edef68
2009-10-10 13:07:50 +00:00
Vikas Mayur 19da682b0e Reverting changes done in rev. 814553 as discussed on dev mailing list. Now the conventional profile screens are default again.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@816469 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 04:49:22 +00:00
Vikas Mayur 8c4ddd72f0 Changed the new profiles pages added a year back as the default one.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@814553 13f79535-47bb-0310-9956-ffa450edef68
2009-09-14 10:08:27 +00:00
Jacques Le Roux 3e248b994c A patch from Eric DE MAULDE "Translation error into OrderConfirmNotice screen" (https://issues.apache.org/jira/browse/OFBIZ-2925) - OFBIZ-2925
When OrderConfirmNotice screen call OrderNoticeEmail.ftl orderheader.ftl has some uiLabelMap variable without source to translate
+ a space in OrderUiLabels.xml


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@813672 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 06:25:39 +00:00
Scott Gray 12566c26b9 Wherever possible changed ELI queries to limit the result set to the actual rows required of the query, should improve time
and memory performance if a cursor isn't being used on large result sets quite a bit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@808820 13f79535-47bb-0310-9956-ffa450edef68
2009-08-28 08:58:10 +00:00
Hans Bakker cf0254de84 in error deleted ftl files by me, now moved from ordermgr to ecommerce. Reported by Ruth in OFBIZ-2853
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@806914 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 00:34:24 +00:00
Scott Gray 68f180a494 OFBIZ-2625 Ability to perform product comparisons in ecommerce and during order entry in ordermgr.
Compares things like name, price, description, long description, brand name and standard, distinguishing and optional features.

Could do with some styling and would be nice to add customer ratings in there as well.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@797259 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 23:28:32 +00:00
Hans Bakker e837675297 rename Request files to CustRequest files as discussed in the mailing list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@795304 13f79535-47bb-0310-9956-ffa450edef68
2009-07-18 03:30:19 +00:00
Anil Patel b66cedc2c7 cleaned mark. Moved list of anon checkout is in file by itself. This makes it easy to use login.ftl file in custom ecommerce components.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792436 13f79535-47bb-0310-9956-ffa450edef68
2009-07-09 07:56:02 +00:00
Ashish Vijaywargiya a7dee93ff7 Fixed Typo in file name.
Thanks Vivek for reporting it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@792129 13f79535-47bb-0310-9956-ffa450edef68
2009-07-08 13:09:49 +00:00
Hans Bakker 76b8c7354d 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@790517 13f79535-47bb-0310-9956-ffa450edef68
2009-07-02 09:25:14 +00:00
Ashish Vijaywargiya c918cff862 Applied patch from jira issue OFBIZ-2573 (On the Product Detail Page Images with alternate views.)
I have done following changes in this patch.

-- Changed the ID field as it was using 10000 or 20000. It can create issue while creating new record in those entities. So we should either create Alpha-numeric value or value less then 10000 for primary keys.
-- I have changed the location of images in data file and kept it into /images/products/additional/web_browser2.png folder. That place looks more appropriate place for such images.

Thanks Arpit Singh Pandya for your patch.
Special thanks to Arun Patidar for discussing things with Arpit.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@782536 13f79535-47bb-0310-9956-ffa450edef68
2009-06-08 05:58:52 +00:00
Anil Patel e23da25225 Removed funny use of label used for adding style to page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@782476 13f79535-47bb-0310-9956-ffa450edef68
2009-06-07 22:41:12 +00:00
Anil Patel c8d4c428a2 Moved html body element start and end out of header and footer templates files. Added generic sections for body section of page.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@778991 13f79535-47bb-0310-9956-ffa450edef68
2009-05-27 04:31:12 +00:00
Jacques Le Roux 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +00:00
Jacques Le Roux b9c3ddef08 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@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Jacques Le Roux a5042291f7 1st part of an effort to remove trailing spaces
" +/> => "/>
Should be easier when dealing with Eclipse S/R regexp

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762648 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 08:27:15 +00:00
Jacques Le Roux 76f5ca6638 Secure URLs, we don't need to duplicate in from-field when param-name is the same
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762215 13f79535-47bb-0310-9956-ffa450edef68
2009-04-06 06:25:24 +00:00
Jacques Le Roux d2e3fa2819 Was missing in previous commit (Eclipse edit trap)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762146 13f79535-47bb-0310-9956-ffa450edef68
2009-04-05 20:09:08 +00:00
Jacques Le Roux c262e7e0c9 Securing URLs, link element in screens and menus : 34th and last set + tabs to 4 spaces
End of non regular formattings and other cases.

This is the end of the process, we just have to wait for typos and such now... Hopefully not too much, at least I tried my best.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762022 13f79535-47bb-0310-9956-ffa450edef68
2009-04-04 22:12:23 +00:00
Jacques Le Roux c414afde0f Securing URLs, link element in screens and menus : 23th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761223 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 10:02:34 +00:00
Jacques Le Roux c894ce4036 Securing URLs, link element in screens and menus : 13th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760815 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 08:41:00 +00:00
Jacques Le Roux ca876f93ce Securing URLs, link element in screens and menus : 11th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760789 13f79535-47bb-0310-9956-ffa450edef68
2009-04-01 06:16:07 +00:00
Jacques Le Roux 96144462be Securing URLs, link element in screens and menus : 7th set + tabs to 4 spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760609 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 20:53:06 +00:00
Jacques Le Roux 9420d30413 Securing URLs, link element in screens and menus : 6th set
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760595 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 20:31:15 +00:00
Jacques Le Roux 9b1837ee68 Securing URLs, link element in screens and menus : 4th set
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@760587 13f79535-47bb-0310-9956-ffa450edef68
2009-03-31 20:25:15 +00:00
Jacques Le Roux efd4862041 10th set of changes explained in https://issues.apache.org/jira/browse/OFBIZ-2243
In hyperlink and sub-hyperlink elements, replacement of target parameters by parameter sub-elements
Some hyperlink tag are still not well indented (3 spaces instead of 4), I gave up :/



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@759515 13f79535-47bb-0310-9956-ffa450edef68
2009-03-28 17:36:08 +00:00
Jacques Le Roux 0e0519e802 All tabs to 4 spaces in *.groovy, *.java, *.xml
Done with Eclipse S/R "\t"

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755696 13f79535-47bb-0310-9956-ffa450edef68
2009-03-18 18:43:49 +00:00
Marco Risaliti 80f390b7c3 A lot of hardcoded labels cleaning and changes some wrong references
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@755005 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 21:08:21 +00:00
Ashish Vijaywargiya 8f142d1976 Applying patch from OFBIZ-2212 (If subject of verification mail does not exists then also functionality should not be broken.)
Thanks Ashish Nagar for your contribution. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@754837 13f79535-47bb-0310-9956-ffa450edef68
2009-03-16 08:11:47 +00:00
David E. Jones 80858bb5c1 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@754529 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 21:32:16 +00:00