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. |
[ https://issues.apache.org/jira/browse/OFBIZ-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bilgin Ibryam updated OFBIZ-1424: --------------------------------- Attachment: addToCart.patch > 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. |
In reply to this post by Nicolas Malin (Jira)
[ 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12554354 ] Jacques Le Roux commented on OFBIZ-1424: ---------------------------------------- I like it : +1 > 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bilgin Ibryam reassigned OFBIZ-1424: ------------------------------------ Assignee: Bilgin Ibryam > 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 > Assignee: 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. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1424?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bilgin Ibryam closed OFBIZ-1424. -------------------------------- Resolution: Fixed Committed in trunk rev. 608088 > 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 > Assignee: 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. |
Free forum by Nabble | Edit this page |