Improve Category association in eBay
------------------------------------ Key: OFBIZ-3149 URL: https://issues.apache.org/jira/browse/OFBIZ-3149 Project: OFBiz Issue Type: Improvement Components: specialpurpose/ebay Affects Versions: SVN trunk Reporter: Mridul Pathak Priority: Minor Fix For: SVN trunk Recently multi store support for Ebay has been implemented. For the multi store support we need ProductStore > ProdCatalog > ProductCategory association. For EBay we define specific categories of type EBAY_CATEGORY, only those products that are associated to an EBay category are eligible for eBay export. In the current implementation there is no proper prodCatalogCategoryTypeId which can be used to associate eBay category to ProdCatalog, one way to associate an eBay category to ProdCatalog is as a PCCT_BROWSE_ROOT category, thus we have two categories associated to the catalog as BROWSE_ROOT, the other one is for online store. Technically, this is wrong, a catalog should be associated with only one browse root category. Due to this wrong association the eBay category doesn't show up on the advance search page of EBAY webapp, instead online store's browse root category is shown which may also contain those products which are not meant to be exported to eBay. So this category associations need to be fixed, and following is how this can be resolved: # Create a new ProdCatalogCatagoryType PCCT_EBAY_ROOT # Define a worker method in CatalogWorker to derive the top level (root) ebay category # Now in the advance search form, first look for top level ebay category associated to the selected catalog #* If found, derive sub category list of the top level ebay category and display, else display the top level ebay category itself #* If not found, derive the top level browse root category (PCCT_BROWSE_ROOT) and display the sub category list for it -- 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-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Vijaywargiya reassigned OFBIZ-3149: ------------------------------------------ Assignee: Ashish Vijaywargiya > Improve Category association in eBay > ------------------------------------ > > Key: OFBIZ-3149 > URL: https://issues.apache.org/jira/browse/OFBIZ-3149 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/ebay > Affects Versions: SVN trunk > Reporter: Mridul Pathak > Assignee: Ashish Vijaywargiya > Priority: Minor > Fix For: SVN trunk > > > Recently multi store support for Ebay has been implemented. For the multi store support we need ProductStore > ProdCatalog > ProductCategory association. For EBay we define specific categories of type EBAY_CATEGORY, only those products that are associated to an EBay category are eligible for eBay export. In the current implementation there is no proper prodCatalogCategoryTypeId which can be used to associate eBay category to ProdCatalog, one way to associate an eBay category to ProdCatalog is as a PCCT_BROWSE_ROOT category, thus we have two categories associated to the catalog as BROWSE_ROOT, the other one is for online store. Technically, this is wrong, a catalog should be associated with only one browse root category. Due to this wrong association the eBay category doesn't show up on the advance search page of EBAY webapp, instead online store's browse root category is shown which may also contain those products which are not meant to be exported to eBay. So this category associations need to be fixed, and following is how this can be resolved: > # Create a new ProdCatalogCatagoryType PCCT_EBAY_ROOT > # Define a worker method in CatalogWorker to derive the top level (root) ebay category > # Now in the advance search form, first look for top level ebay category associated to the selected catalog > #* If found, derive sub category list of the top level ebay category and display, else display the top level ebay category itself > #* If not found, derive the top level browse root category (PCCT_BROWSE_ROOT) and display the sub category list for it -- 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-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Parimal Gain updated OFBIZ-3149: -------------------------------- Attachment: OFBIZ-3149.patch Implemented method for finding top level ebay category and some improvements for ebay and gogleBase. Thanks to Ashish and Mridul. > Improve Category association in eBay > ------------------------------------ > > Key: OFBIZ-3149 > URL: https://issues.apache.org/jira/browse/OFBIZ-3149 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/ebay > Affects Versions: SVN trunk > Reporter: Mridul Pathak > Assignee: Ashish Vijaywargiya > Priority: Minor > Fix For: SVN trunk > > Attachments: OFBIZ-3149.patch > > > Recently multi store support for Ebay has been implemented. For the multi store support we need ProductStore > ProdCatalog > ProductCategory association. For EBay we define specific categories of type EBAY_CATEGORY, only those products that are associated to an EBay category are eligible for eBay export. In the current implementation there is no proper prodCatalogCategoryTypeId which can be used to associate eBay category to ProdCatalog, one way to associate an eBay category to ProdCatalog is as a PCCT_BROWSE_ROOT category, thus we have two categories associated to the catalog as BROWSE_ROOT, the other one is for online store. Technically, this is wrong, a catalog should be associated with only one browse root category. Due to this wrong association the eBay category doesn't show up on the advance search page of EBAY webapp, instead online store's browse root category is shown which may also contain those products which are not meant to be exported to eBay. So this category associations need to be fixed, and following is how this can be resolved: > # Create a new ProdCatalogCatagoryType PCCT_EBAY_ROOT > # Define a worker method in CatalogWorker to derive the top level (root) ebay category > # Now in the advance search form, first look for top level ebay category associated to the selected catalog > #* If found, derive sub category list of the top level ebay category and display, else display the top level ebay category itself > #* If not found, derive the top level browse root category (PCCT_BROWSE_ROOT) and display the sub category list for it -- 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-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773450#action_12773450 ] Mridul Pathak commented on OFBIZ-3149: -------------------------------------- Parimal, I did a cursory review of your patch and found that seed data for ProdCatalogCategoryType "PCCT_EBAY_ROOT" is missing. Please upload the updated patch with the seed data added. > Improve Category association in eBay > ------------------------------------ > > Key: OFBIZ-3149 > URL: https://issues.apache.org/jira/browse/OFBIZ-3149 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/ebay > Affects Versions: SVN trunk > Reporter: Mridul Pathak > Assignee: Ashish Vijaywargiya > Priority: Minor > Fix For: SVN trunk > > Attachments: OFBIZ-3149.patch > > > Recently multi store support for Ebay has been implemented. For the multi store support we need ProductStore > ProdCatalog > ProductCategory association. For EBay we define specific categories of type EBAY_CATEGORY, only those products that are associated to an EBay category are eligible for eBay export. In the current implementation there is no proper prodCatalogCategoryTypeId which can be used to associate eBay category to ProdCatalog, one way to associate an eBay category to ProdCatalog is as a PCCT_BROWSE_ROOT category, thus we have two categories associated to the catalog as BROWSE_ROOT, the other one is for online store. Technically, this is wrong, a catalog should be associated with only one browse root category. Due to this wrong association the eBay category doesn't show up on the advance search page of EBAY webapp, instead online store's browse root category is shown which may also contain those products which are not meant to be exported to eBay. So this category associations need to be fixed, and following is how this can be resolved: > # Create a new ProdCatalogCatagoryType PCCT_EBAY_ROOT > # Define a worker method in CatalogWorker to derive the top level (root) ebay category > # Now in the advance search form, first look for top level ebay category associated to the selected catalog > #* If found, derive sub category list of the top level ebay category and display, else display the top level ebay category itself > #* If not found, derive the top level browse root category (PCCT_BROWSE_ROOT) and display the sub category list for it -- 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-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Parimal Gain updated OFBIZ-3149: -------------------------------- Attachment: OFBIZ-3149.patch Attached modified patch. > Improve Category association in eBay > ------------------------------------ > > Key: OFBIZ-3149 > URL: https://issues.apache.org/jira/browse/OFBIZ-3149 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/ebay > Affects Versions: SVN trunk > Reporter: Mridul Pathak > Assignee: Ashish Vijaywargiya > Priority: Minor > Fix For: SVN trunk > > Attachments: OFBIZ-3149.patch, OFBIZ-3149.patch > > > Recently multi store support for Ebay has been implemented. For the multi store support we need ProductStore > ProdCatalog > ProductCategory association. For EBay we define specific categories of type EBAY_CATEGORY, only those products that are associated to an EBay category are eligible for eBay export. In the current implementation there is no proper prodCatalogCategoryTypeId which can be used to associate eBay category to ProdCatalog, one way to associate an eBay category to ProdCatalog is as a PCCT_BROWSE_ROOT category, thus we have two categories associated to the catalog as BROWSE_ROOT, the other one is for online store. Technically, this is wrong, a catalog should be associated with only one browse root category. Due to this wrong association the eBay category doesn't show up on the advance search page of EBAY webapp, instead online store's browse root category is shown which may also contain those products which are not meant to be exported to eBay. So this category associations need to be fixed, and following is how this can be resolved: > # Create a new ProdCatalogCatagoryType PCCT_EBAY_ROOT > # Define a worker method in CatalogWorker to derive the top level (root) ebay category > # Now in the advance search form, first look for top level ebay category associated to the selected catalog > #* If found, derive sub category list of the top level ebay category and display, else display the top level ebay category itself > #* If not found, derive the top level browse root category (PCCT_BROWSE_ROOT) and display the sub category list for it -- 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-3149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ashish Vijaywargiya closed OFBIZ-3149. -------------------------------------- Resolution: Fixed Thanks Mridul / Parimal - Done at r832713. -- Ashish Vijaywargiya > Improve Category association in eBay > ------------------------------------ > > Key: OFBIZ-3149 > URL: https://issues.apache.org/jira/browse/OFBIZ-3149 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/ebay > Affects Versions: SVN trunk > Reporter: Mridul Pathak > Assignee: Ashish Vijaywargiya > Priority: Minor > Fix For: SVN trunk > > Attachments: OFBIZ-3149.patch, OFBIZ-3149.patch > > > Recently multi store support for Ebay has been implemented. For the multi store support we need ProductStore > ProdCatalog > ProductCategory association. For EBay we define specific categories of type EBAY_CATEGORY, only those products that are associated to an EBay category are eligible for eBay export. In the current implementation there is no proper prodCatalogCategoryTypeId which can be used to associate eBay category to ProdCatalog, one way to associate an eBay category to ProdCatalog is as a PCCT_BROWSE_ROOT category, thus we have two categories associated to the catalog as BROWSE_ROOT, the other one is for online store. Technically, this is wrong, a catalog should be associated with only one browse root category. Due to this wrong association the eBay category doesn't show up on the advance search page of EBAY webapp, instead online store's browse root category is shown which may also contain those products which are not meant to be exported to eBay. So this category associations need to be fixed, and following is how this can be resolved: > # Create a new ProdCatalogCatagoryType PCCT_EBAY_ROOT > # Define a worker method in CatalogWorker to derive the top level (root) ebay category > # Now in the advance search form, first look for top level ebay category associated to the selected catalog > #* If found, derive sub category list of the top level ebay category and display, else display the top level ebay category itself > #* If not found, derive the top level browse root category (PCCT_BROWSE_ROOT) and display the sub category list for it -- 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 |