You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Bilgin Ibryam (JIRA)" <ji...@apache.org> on 2007/12/25 16:21:43 UTC

[jira] Commented: (OFBIZ-1424) ShoppingCart.addToCart event for different kind of products

    [ https://issues.apache.org/jira/browse/OFBIZ-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554345 ] 

Bilgin Ibryam commented on OFBIZ-1424:
--------------------------------------

Any opinions?
May I commit this?

> ShoppingCart.addToCart event for different kind of products
> -----------------------------------------------------------
>
>                 Key: OFBIZ-1424
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1424
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: order
>    Affects Versions: SVN trunk
>            Reporter: Bilgin Ibryam
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: addToCart.patch
>
>
> Trying to add products only by productId cause errors for configurable, rental and virtual products.
> You can see this in Order Manager (if you choose this type of product from lookup and try to add to cart) .
> In eccomerce this error appears, if you use "add 1 to cart " links from "Last Products" menu for example.
> Actually addToCart event only dispatch products with "CART_ADD" surveys to survey screen, and returns error for configurable, rental or virtual products, w/o giving a possibility to the user to entering the needed information in the next step.
> So i added some checks to addToCart event , and if the product is not ready for adding to cart,  return the product page, where the user can configure product (if product is configurable), enter booking info (for ASSET_USAGE products) or choose a variant product (if product is virtual). 
> Any ideas for better handling these kind of situations?
> Bilgin Ibryam

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.