Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-3149

Improve Category association in eBay

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: Trunk
    • Component/s: ebay
    • Labels:
      None

      Description

      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:

      1. Create a new ProdCatalogCatagoryType PCCT_EBAY_ROOT
      2. Define a worker method in CatalogWorker to derive the top level (root) ebay category
      3. 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

        Attachments

        1. OFBIZ-3149.patch
          22 kB
          Parimal Gain
        2. OFBIZ-3149.patch
          23 kB
          Parimal Gain

          Activity

            People

            • Assignee:
              toashishvijay Ashish Vijaywargiya
              Reporter:
              mridulpathak Mridul Pathak
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: