Commit Graph
433 Commits
Author SHA1 Message Date
Hans Bakker ff32f98d09 use and demonstrate the seo friendly urls in the content/ecommerce blog function, add seca to update new created content
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1142577 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 07:33:18 +00:00
Hans Bakker 7c84c691fe Add seo friendly url's for showing content. reorganize the same program snippets with seo friendly url for products. These content url's are demonstrated at the ecommerce frontend in the left bottom corner: Content Information
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1141878 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 09:03:32 +00:00
Hans Bakker 0b4d555665 add the stream request to ecommerce to make the picture show in the blog. Related to rev: 1140919
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1140945 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 02:05:56 +00:00
Hans Bakker a7d8fe15ca ignore the locale on an incoming seo fiendly url, problem reported by mike wheeler
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1133270 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 07:46:21 +00:00
Marco Risaliti 83d63b68bd Hardcoded sentences in <default-message> tags (OFBIZ-3996)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1132726 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 19:08:00 +00:00
Hans Bakker 4af1a22951 added missing demo data for the revision 1127449 seo friendly url's, reported by Marco
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1129481 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 03:56:56 +00:00
Hans Bakker 6a82d07c3a add jquery category tree only showing categories which have a related product or have a related category with a product. It has been tested in IE too. The showing of products from the tree is now using ajax and is only updating the middle of the screen. A contributution of Antwebsystems employee Oat
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1128983 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 02:58:31 +00:00
Hans Bakker e91849f92a Cleanup, re-organize Catalog function in catalog, for consistancy reasons added a catalog option showing always a list (most installations only have one or a few) add a 'create seo urls's for products and categories' tab. remove contentid from webabalytics demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1128799 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 01:23:50 +00:00
Hans Bakker 750c1371d8 make input mimetype field consistent
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1128153 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 05:47:17 +00:00
Hans Bakker 667250f79c this change will introduce seo friendly urls for products and categories which are generated from the description. It also allows to convert url's from previous systems to point to the product in the current system. In the ecommerce demo records have been added to show this feature.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1127449 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 09:25:16 +00:00
Hans Bakker ddb1e367ae pictures not showing in product detail after upload in catalog
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1127373 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 04:16:27 +00:00
Hans Bakker ff4de4ee52 Add an automatic product price currency conversion which can be switched off in a properties file.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1125215 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 03:18:52 +00:00
Sascha Rodekamp 781f8db237 Update - jQuery update to version 1.6.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1124336 13f79535-47bb-0310-9956-ffa450edef68
2011-05-18 16:54:55 +00:00
Hans Bakker 9118f482f9 enlarge analyticsCode field and remove content field from webanalytics entity
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1102617 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 09:04:09 +00:00
Hans Bakker 7ffd503f2c error in previous commit: include web analitics code
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1102602 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 08:27:14 +00:00
Hans Bakker cd40a09629 update demo data because of file changes
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1102596 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 08:03:10 +00:00
Hans Bakker 2a359f0dcc demo how to use the analyticscode in ecommerce, no need for contentid
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1102577 13f79535-47bb-0310-9956-ffa450edef68
2011-05-13 06:38:31 +00:00
Hans Bakker 1f6f5759e8 commenting out the supplierCommissionPerc field on product supplier. Field not used in processing and can only confuse people because we now have the commission run in accounting which can take care of this.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1101740 13f79535-47bb-0310-9956-ffa450edef68
2011-05-11 04:14:47 +00:00
Ashish Vijaywargiya bc5a872795 Bug fix. In case of EXT_OFFLINE payment "ORDER_CREATED" status must be included to filter-out the list for fetching the userlogin object.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1091694 13f79535-47bb-0310-9956-ffa450edef68
2011-04-13 08:14:34 +00:00
Hans Bakker 400e5d1554 error in product detail as reported by mark wheeler fixed
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1088525 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 09:36:55 +00:00
Sascha Rodekamp b5c2bc2c9d Update - Update to jQuery Version 1.5.2, the new version fixes some bugs in the library.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1088502 13f79535-47bb-0310-9956-ffa450edef68
2011-04-04 08:36:05 +00:00
Hans Bakker c61b5295ae Updates to the image management system:
- Fixed the resize function can resize any format flie
- Fixed share image screen to get host from contentURL (if it has content)
- Fixed product detail screen in ecommerce
- Create the function for set default image to product content screen


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1087599 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 06:49:06 +00:00
Sascha Rodekamp 02e1dc0cd0 Update - Update the jQuery library to version 1.5.1. A few changes were necessary for this step. I updated the jQuery flot library to the current release, because the old one doesn't work with the new jQuery version, i also updated the jsTree Plugin to make it work with the new jQuery Version.
Note in jQuery 1.5 the implementation of the ajax function has been changed.

For more Information have a look at: http://blog.jquery.com/2011/01/31/jquery-15-released/


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1082916 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 13:37:29 +00:00
Sascha Rodekamp da61ddc627 Update - Update to jQuery 1.4.4, Fix a bug in the fieldlookup.js to make it work with the new jQuery lib. This patch is to orepare the update to jQuery version 1.5.1
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1082227 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 17:25:15 +00:00
Hans Bakker 339103a0ba issue https://issues.apache.org/jira/browse/OFBIZ-4194: reorder of product images and extension of the <@ofbizcontenturl macro. A contribution of Antwebsystems employee Tukkata
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1076507 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 02:52:31 +00:00
Sascha Rodekamp 62fc742239 Update - Remove the obsolete jQuery UI Libs from the ecommerce common screen. (http://markmail.org/message/dbogfc7ope76hosv). Sam noticed that all jQuery UI Libs in the ecommerce application are not needed. To improve performance of site loading we decided to remove the obsolete libs.
Orig. Msg.:
Was just running round the ecommerce site when I noticed that both
jquery-1.4.2.min.js and jquery-ui-1.8.6.custom.min.js are served when loading
/ecommerce/ pages? Isn't that rather excessive and only jquery-1.4.2.min.js
should be called? 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1073901 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 19:39:25 +00:00
Jacques Le Roux 815b944afb Adds a div at EOF, thanks to Mike at OFBIZ-4184
I figured out the problem with the footer appearing in
the center (below product) on ProductDetail. There was a </div>
missing at the very bottom of:

OFBIZ_HOME/specialpurpose/ecommerce/webapp/ecommerce/catalog/productdetail.ftl

</div>
</div> <----- ADD additional closing DIV.

Product detail now correctly renders.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1073639 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 08:38:05 +00:00
Hans Bakker 034f45c272 Image management: make image file location and url configurable
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1071878 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 04:12:43 +00:00
Erwan de Ferrieres f47b530ef1 OFBIZ-4170 : a bug was present in the timepicker plugin and values under 01:05:10 couldn't be selected
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1069542 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 19:45:22 +00:00
Jacques Le Roux eba045ce05 A patch from Stephen Rufle "Checkout Shipping Options" (https://issues.apache.org/jira/browse/OFBIZ-4162) - OFBIZ-4162
When the user selects a shipping option and moves to the next step and then comes back to the "Shipping Options" step the previously selected value is not selected on the screen. This is because in the ftl a comparison is made between shippingMethod and chosenShippingMethod. chosenShippingMethod is being escaped so the values will never match. The solution is to use wrapString on chosenShippingMethod.

# Add a product to the cart
# login as any user I used "admin"
# Checkout Step "Shipping Address" (Step 1: Where shall we ship it?)
    * Click Next
# Checkout Step "Shipping Options" (Step 2: How shall we ship it?)
    * Choose "UPS Air"
    * Click Next
# Checkout Step "Payment Options" (Step 3: How shall you pay?)
    * Click "Browser" back button, in my code had a request that directed back a step, but this shows the issue
# ISSUE: Now "UPS Air" is no longer selected, after my patch it will be

JLR: this was only with modified code, but it makes sense and can't hurt. I will not backport though

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1068286 13f79535-47bb-0310-9956-ffa450edef68
2011-02-08 08:04:36 +00:00
Hans Bakker 2e3623ed66 Correction on rev 1067073. removing of unrequired fields, change the order of the seed/demo data, so hopefully buidbot is ok again
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1067141 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 10:43:45 +00:00
Hans Bakker 601d571079 several enhancements on the product image management system including adding the proper permissions to the fulladmin security group to be able to approve images
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1067073 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 03:21:17 +00:00
Ashish Vijaywargiya 2a44268261 Bug fix. Changed the year of expiration in demo data.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1065550 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 10:49:35 +00:00
Hans Bakker 946d844c87 Add the 'ideal' payment gateway, often used in the Netherlands, see http://www.ideal.nl, install instruction in the thirdparty src folder
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1062608 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 02:27:11 +00:00
Jacques Le Roux a059474d6b A patch from Arpit Singh Pandya "Fixed Layout of productreview.ftl." (https://issues.apache.org/jira/browse/OFBIZ-3017) - OFBIZ-3017
Patch to fix the layout product review page. 

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1062029 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 21:08:30 +00:00
Jacques Le Roux a30d648b2a A modified patch from Sascha based on an intial patch from Abdullah Shaikh "permission error on cancel order item from ecommerce" (https://issues.apache.org/jira/browse/OFBIZ-3075) - OFBIZ-3075
If I cancel an order item from ecommerce. I get, the below error displayed on the page. 
The Following Errors Occurred:
Unable to cancel order line : WSCO11640 / 00001 / null

There have been a discussion about it in this thread http://markmail.org/message/dfkudyvbksvls333

How it works: you can cancel an order item if you create it or have the ORDERMGR_CREATE or ORDERMGR_UPDATE permissions (I added the later to Sascha's patch, else the order manager would be annoyed ;o)
I think this makes sense, because AFAIK there are no other UIs than 
https://demo-trunk.ofbiz.apache.org/ordermgr/control/editOrderItems?orderId=...
and 
https://demo-trunk.ofbiz.apache.org:8443/ecommerce/control/orderstatus?orderId=...
to cancel an order item. So nobody should be able to bypass his/her permissions... Of course, let me know if you think I could have missed something, thanks

Note also that we had to remove fullPath="true" in <@ofbizUrl>cancelOrderItem</@ofbizUrl> (orderitems.ftl), to avoid InsecureFormPostToSecureRequest error. I don't think it raises any security issues though, has it's done from a javascript call with hidden orderItemSeqId parameter.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1059180 13f79535-47bb-0310-9956-ffa450edef68
2011-01-14 21:47:23 +00:00
Jacques Le Roux 3c4dad66b2 A patch from Sascha Rodekamp <<Error when "Add All to Cart" or "Add Checked to Cart" viewing an order in ecommerce>> (https://issues.apache.org/jira/browse/OFBIZ-3881) - OFBIZ-3881
The reason for the bug was that the request was called with an additional orderId get parameter. But the orderId was still in the parameter map so the request handler created with these two orderIds a orderId List. These list couldn't be interpreted from the groovy script(because a string was expected). The result was the error message.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1058488 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 10:27:49 +00:00
Jacopo Cappellato 9b9b427c44 Removed unused handler from controller files; replaced handlers that were still using the old ScreenWidgetViewHandler with the current MacroScreenViewHandler; deprecated compress.HTML property with output specific properties like screen.compress; this fixes a rather important issue happening when the compress.HTML setting is set to true: non html output screens like for example tab delimited exports were messed up.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1058056 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 10:44:35 +00:00
Jacques Le Roux 0966955c95 A patch from Sascha Rodekamp "jQuery ecommerce onepagecheckout issue" (https://issues.apache.org/jira/browse/OFBIZ-4067) - OFBIZ-4067
Rohit reported a bug in the jQuery implementation (ecommerce):
With the jQuery branch being merged into the trunk, 2 new issues have been identified in the onepagecheckout, and they are:
    1) the remove item link does not work in the shoppingcart panel, and
    2) the cart is not updated if cart quantity is changed or promo codes are entered.

There was also a caching problem in IE.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1056672 13f79535-47bb-0310-9956-ffa450edef68
2011-01-08 09:18:05 +00:00
Jacques Le Roux 7fd830e291 3 patches from Sascha Rodekamp "Localisation of labels in javascript" (https://issues.apache.org/jira/browse/OFBIZ-3964) - OFBIZ-3964
This cames from Adam's advice: http://markmail.org/message/kai5lfvlnsz7xwki

Sascha comes to this solution
The Idea is to have a method which takes a JSON Object with uiLabel Resources and label entries and returns the resolved labels in a JSON Object which can be used directly in the JS Code.
The advantage of this way, is that we have only one Ajax request which reads all labels. The alternative is an Ajax request for each label, which simplify the request (because you haven't to create a complex JSON Object) but is very expansive.

* Replaces all JS alerts with the new fancy error boxes
* Adds a few uiLabels

I simply fixed some typos. I did not test all cases but did a good review.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1056497 13f79535-47bb-0310-9956-ffa450edef68
2011-01-07 20:40:31 +00:00
Jacques Le Roux 8b3cf650b5 Fix bugs reported by Jeremy Wickersheimer at "Error in order email confirmation template" (https://issues.apache.org/jira/browse/OFBIZ-4096) - OFBIZ-4096
In: specialpurpose/ecommerce/webapp/ecommerce/order/orderheader.ftl:123

<#assign pmBillingAddress = creditCard.getRelatedOne("PostalAddress")>

is missing the ?if_exists causing errors in some cases.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1056072 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 20:57:48 +00:00
Hans Bakker f982ac8e17 add a popular categories section to the ecommerce frontpage which is generated from the data warehouse of real orders. Also adjusted the sales reports from the data warehouse by week/month/year. Demo data included is for display only
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1055774 13f79535-47bb-0310-9956-ffa450edef68
2011-01-06 07:37:45 +00:00
Marco Risaliti 6322e71266 MULTIFLEX ecommerce Advanced Search layout issues (OFBIZ-3943)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1055188 13f79535-47bb-0310-9956-ffa450edef68
2011-01-04 21:38:10 +00:00
Hans Bakker 02ab5da288 also add alternative packaging on non variant products and include demo data for that
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1052458 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 06:53:27 +00:00
Hans Bakker 29b43be89e some missing files on rev 105244: contact list update
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1052457 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 06:50:56 +00:00
Hans Bakker 97be8d34db make the ecommerce 'contactus' not require login, add captcha and will try to match entered email address to party, whennot create the party.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1052449 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 05:45:19 +00:00
Hans Bakker 0eb6c5f372 several improvements and completion of the email contactlist subscribe and unsubscribe functions.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1052447 13f79535-47bb-0310-9956-ffa450edef68
2010-12-24 04:37:20 +00:00
Marco Risaliti cb5e179cc1 Replace some fail-message to fail-property tag all specialpurpose components (OFBIZ-1874)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1052038 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 19:22:45 +00:00
Hans Bakker 8423bb4ed8 add demo product which is ordered when it is sold
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1051018 13f79535-47bb-0310-9956-ffa450edef68
2010-12-20 08:32:37 +00:00
Erwan de Ferrieres 5042c691e6 Migrating from lucene 2.4.1 to lucene 3.0.3
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk/specialpurpose@1050811 13f79535-47bb-0310-9956-ffa450edef68
2010-12-19 11:12:53 +00:00