B2C ISA / E-Commerce: Displaying products from subcategories

Hi there, perhaps someone can answer my question: Is there any hack to display products from subcategories when the user navigates to a parent category?
Currently a parent category, which has no products itself but only subcategories shows "No products found" when the user clicks on it:
- parent
- - child1
- - child2
- - child3
=> Click on parent: "No products found"
=> Click on child: Displays products from child category
But it should be like that
=> Click on parent: Displays products from all child categories (for example, the newest or randomly the first 20)
=> Click on child: Displays products from child category
Edited by: Thomas Diegelmann on Jan 7, 2009 1:06 PM

Hello Thomas,
For the purpose of (or in the name of) optimized search (from TREX), the Catalog search and display features work only one category or subcategory at a time. This value of current category is used in many places to kind of filter / restrict the query / display.
One of the Catalog classes - GetCategoriesTreeAction recursively goes through the catalog and knows the fact that some are parent and some are child. It keeps the sign notation
+ = Has children but not expanded, will not show
- = Has children and shown now
<no sign> = No children.
Hacking through the code was lot tougher because, you have to deal with other niceities such as
There is no difference between a sub (child) category or a product in a sub category. They are all children in the tree.
Class uses recursion to traverse through the tree and maintain this. Without a very well defined tree structure - such as "We have a main category, one sub category and below this we have another sub-category which has products - if you can define your catalog something like this, then you can break the recursion and and use iteration.
Display of product list in item-pages, like 5 items/page with pagination.
Sort capability
These are all tied very tightly to the current selected categorie in path.
The only easy way will be to rework on your catalog design / structure itself.
In one of our cases we had the following liberty -
the catalog structure was clearly defined for all categories, so, we got rid of recursion,
the catalog was relatively small
We did not use the item page
So, we were able to use the following classes and were able to display the we wanted. We just didn't use the categorieinpath.do
WebCatInfo
WebCatItemList
WebCatItem
WebCatItemComparator - for sorting
Easwar Ram
http://www.parxlns.com

Similar Messages

  • B2C ISA / E-Commerce 5.0 - Display the Productmenu recursively / hierarchic

    Hello. Is there any possibility or parameter, that the Productmenu will alway display the parentcategories, when someone clicks on a subcategory. Currently it looks like that:
    Products
    - parent1
    - parent2
    - parent3
    when a user clicks on parent1 the menu changes:
    Products
    - parent1
    - - child1
    - - child2
    - - child3
    - - child4
    But it should look like that:
    Products
    - parent1
    - - child1
    - - child2
    - - child3
    - - child4
    - parent2
    - parent3
    Anyone knows a solution? That would be great!

    Hello Thomas,
    We did something very simlar to this. We actually had the requirement to expand all the parents to start with.
    See this thread for hints.
    Re: B2C ISA / E-Commerce: Displaying products from subcategories
    Easwar Ram
    http://www.parxlns.com

  • Display product from campaign to agent in IC when making call

    Hello,
    I wonder how can agent see the product that he is to offer to the client in outbound telesales? call list can be generated from campaign, where the product is assigned to campaign.
    In the moment when agent in IC makes call from this call list the product will be displayed ..... - where exactly?
    in navigation area? what workspace and what profile? (Telesales_resource workspace maybe, but what profile)
    Regards
    Radek

    Hi Jesus,
    I was suspecting this, we had a similar problem in CRM 6.0, i thought this is no more there in CRM 7.0. Well we had raised an OSS message for this and the reply was a development in the view or use the service pro view(sans)ICWEB apllications.
    This happens with any followup you want to create in the ICWEB view since there is no pop up here.
    I would suggest you to raise an OSS for this
    Regards
    Raj

  • Issue with displaying images from bestseller.inc.jsp

    Hello all,
    I'm new in developing with NWDI and I'm having this small problem:
    in bestseller.inc.jsp (which includes productlist.jsp) there are two links with a product's code and a products description, which when clicked, navigate to productDetailsISA.jsp with the details of the product. While the images of all the products from other jsp's (for example from ProductsISA.jsp) display correctly in the ProductDetailsISA.jsp, there is a problem with the images of the products from bestseller and recommendations jsp's (they both include productlist jsp).
    The code for creating the links *in productlist.jsp is the following:
    <li> <a href="<isa:webappsURL name="b2b/productdetail.do"/><%=ShowProductDetailAction.createDetailRequest(product,displayScenario) %>">
                          <%=JspUtil.encodeHtml(product.getDescription()) %>
                        </a> </li>
    and the code for displaying products's images in ProductDetailsISA.jsp is this:
    <td width="7%" rowspan="2" headers="Product image">
                   <img src="<isa:imageAttribute guids="DOC_PC_CRM_IMAGE,DOC_P_CRM_IMAGE" name="webCatItem" defaultImg="mimes/shared/no_pic.gif"/>"   width="250"  height="250"/>
              </td>
    I have no idea how isa:imageAttribute tag works, so I was wandering if this problem is somehow connection with the inner workings of this tag.
    Could someone help please?
    Thank you very much in advance

    I think this is not the right forum to post your Question

  • How to remove a product from my Apple Support Profile

    I want to sell a used computer. It is necessary to remove it from my Apple Support Profile at supportprofile.apple.com before doing that.
    I can see the machine in the list of products. I can click the link "remove" but the wheel turns forever and the next page is not displayed. The removal process is stuck. This is also so in different browsers (I tested Safari, Firefox).
    How can I delete a product from the list in my Support Profile???

    Howdy Barry
    Here's my test from an old product I no longer have
    ⬇ Click/Tap to enlarge ⬇
    You just click the Product (as highlighted in grey)
    Click the [Remove Product] button centerstage - the appears VERY briefly beside the button
    one responds to the challenge "Are you sure..." by clicking [Remove Product] once more
    Success page
    notification email ( notice there is NO "Undo" )
    back to MySupportProfile after clicking the only button on the Success Page
    If you think [ EDIT Products ] button may be a workaround, I'll let you illustrate
    ÇÇÇ
    <Edited By Host>

  • Display attributes from "global" and other entities in a single screen

    As far as I know, in OPM attributes of only one type of entity can be added to any given screen.
    As per of functional requirements of my current project Ihave to display attributes from more than one type of entity in some of the screens.
    I found a workaround for entities which has only one instance (singleton entity in version 10.1), but couldn’t figure out how to display attributes of entities which has multiple instances.
    For example:
    We have an entity called <b>“the child”</b> which has many attributes. There can be more than one child instances defined in a given assessment session.
    This particular screen should have attributes which belong to the <b>"global"</b> and <b>"the child"</b> instances.
    (The names of all the children should be displayed on the screen as <b>check boxes</b> so the user can select the children who are affected by the global attributes displayed on the screen.)
    Is this achievble in OPM 10.1?
    SP1D3R MAN

    Displaying Global attributes and nested entity level attributes on the same question screen cannot be done in OPM 10.1 with out-of-the-box functionality. It would have to be a custom screen. (FYI, I'm not a programmer so I can't advise on how to build such a custom screen.)
    Before building customisations, you should also consider whether you really need to use an old version of the product. OPA 10.1 was released early last year; the current version is 10.3.

  • Reader 9.4.6 bug displaying PDFs from Autocad

    I've received several architectural drawings produced from Autocad as PDFs. All of them display correctly in Reader 9.4.6 for Windows, but in Reader 9.4.6 for Unix, some dashed lines are missing from the PDFs when viewed on the screen or printed.
    When I look at the document properties in Adobe Reader, it shows PDF producer as "Acrobat Distiller 7.0.5 (Windows)", and PDF version as "1.4 (Acrobat 5.x).

    - If you about>plug-ins says Adobe Reader, that's what you have (and not Acrobat which unlike Reader is a paid program)
    - Reader X provides certain commenting tools. You should be able to add comments and highlight text using commenting tool
         - Reader 9.4.6 does not have free commenting tools, there can be certain special PDFs where this is allowed but not generically
    - The paid product - Acrobat will let you comment any PDF as long as the author of the PDF has not applied security to the file disabing it
    - Both Reader 9.4.6 and 10 are free products from Adobe. As I note earlier in my reply, only Reader X has free commenting. Both Reader X and Reader 9 will let you view and PDFs and comments.
    - You can develop plug-ins for both Reader and Acrobat products using the free SDK. For Reader, you need to get a special certificate (available at small cost) that needs to be embedded in your plug-in.

  • Regarding STATUS FIELD INFORMATION OF T.CODE CO03(Display Production Order)

    Hello Friends,
    I want to know, how could i get the Status field information from T.CodeCO03(Display Production Order).
    Any F.M or Table Name.
    I have production order Number as input field and output will be Status.
    Regards
    Amit

    Hello Amit ,
    u can try fm STATUS_READ.
    i think OBJNR u can get it from AFRU.
    regards
    Prabhu

  • Getting description of product from another table

    Hi,
    I am getting the level from the user, and based on that creating an internal table.  I am getting product code (PRODH) and level (STUFE) from one table (T179), and getting product description (VTEXT) from another table (T179T).  I need to create a single internal table (PVS) with all three fields.
    How do I do that?  This may seem like a very simple question, but I have only been teaching myslef ABAP for about one week.
    Once I can prepare this table, I will use a function to display it.
    Regards,
    Al Lal
    Code:
    REPORT  YABHINAV16.
    program to display products at chosen level *
    Tables: T179, T179t.
    types:  begin of hierarchy,
            prodh type t179-prodh,
            vtext type t179t-vtext,
            stufe type t179-stufe,
            end of hierarchy.
    data: pvs type standard table of hierarchy initial size 0.
    select-options level for t179-stufe no intervals.
    Select prodh stufe from T179 into corresponding fields of table pvs where stufe in level.
    select vtext from t179t into corresponding fields of table pvs where prodh = pvs-prodh.
    sort pvs by prodh.

    Hi Just change the code accordingly...
    Tables: T179, T179t.
    types: begin of hierarchy,
    prodh type t179-prodh,
    vtext type t179t-vtext,
    stufe type t179-stufe,
    end of hierarchy.
    types: begin of text,
             prodh type t179t-prodh,
             vtext type  t179t-vtext,
             end fo text.
    data: pvs type standard table of hierarchy initial size 0.
    data: it_text type standard table of text,
            wa_text type text.
    select-options level for t179-stufe no intervals.
    start-of-selection.
    Select prodh stufe from T179 into corresponding fields of table pvs where stufe in level.
    select prodh vtext from t179t into corresponding fields of table text for all entries in pvs where prodh = pvs-prodh.
    end-of-selection.
    sort pvs by prodh.
    sort it_text by prodh.
    loop at pvs.
    read table it_text into wa_text with key prodh = pvs-prodh.
    if sy-subrc eq 0.
    pvs-vtext = wa_text-text.
    endif.
    modify pvs.
    endloop.
    Award Points If useful

  • Delete Software Product from Licensing Adapter in Visual Admin

    Hello,
    I have installed standalone JAVA system.
    By mistake I applied the NW (ABAP + JAVA) license in Visual Admin. So under Software Products under Licensing Adapter Service, it now shows 3 software products viz. J2EE, Maintenance and NetWeaver.
    I deleted all the licenses and reapplied only the J2EE license, but NetWeaver still appears under S/W products.
    Is there any way to delete NetWeaver S/W product from licensing adapter?
    Please suggest.
    Regards,
    Chintan

    Hi Chintan,
    Go to Licensing Adapter Service->Installed Licenses, click on NetWeaver, on the right hand side, the license information is displayed. There is a Delete License option there.
    If the above options are not displayed, kindly mention the JAVA release of your system.
    Additionally, the presence of any such entries will not pose any errors. So need not be too worried about removing it.
    Regards,
    Sonia

  • Place one order with Products from different sales orgs

    Hello,
    We are in CRM 7.0 EHP2 connected to ECC 6.0. We have Internet
    sales/Webchannel Application.
    We are rolling out Internet sales for a new country but they want the option to
    place one single order with products from different sales
    organizations.
    Currently Customers send fax/email to customer
    representative(CR) with list of products. The CR identifies and places
    multiple orders if products belong to different sales orgs.
    Currently customers don't have idea about sales orgs and they don't
    have a clue which product belongs to which sales orgs. So, for them to
    use Internet sales, we have to provide them an option to place one
    order with products from different sales orgs.
    I understand SAP doesn't support this. But, is there any way we can achieve this through some custom/out of the box solutions?
    Thanks,
    Ravi

    Hi Ravi,
    Please have a below help link, it may help you to explain the role of Distribution Channel and if it fits to your requirement.
    Organizational Data Determination in CRM E-Commerce - E-Commerce - SAP Library
    Thanks,
    Hamendra

  • Help with a popup window displaying info from a record set

    Hi I am working on a Shopping cart web site I have set up my
    database and I have created my page to display items from the
    database. The fields in my database table are auto_id, category,
    sub_catagory, manufacture, style, descripition, descripition2,
    price, image, image2, fc_id, link_id
    What I am trying to do is to display this part of the info in
    one record . manufacture,style,descripition , image and price there
    will be a link from this page (link_id)to display a popup and in
    that pop up I want to display
    manufacture,style,descripition2,Image2
    basicly I want to now how to put a link in database so when
    all of the data is displayed on the page I want to click on a link
    (link_id) from any record that opens a popup to display a larger
    image and a longer descripition of the product. and anything else I
    may need from that record.
    I hope this maks sence
    Cheers
    Dave

    In your product insert form or however you are adding these
    products to the store add a feild called image link2 or
    large_img_link
    in your code for the pop up window you would wrap your PHP
    recordset like this
    <a href="
    http://yoursite.com/images/large_images/<?php
    echo $row_image_rs['large_img_link']; ?>"><?php echo
    $row_image_rs['large_img_link']; ?></a>
    This will produce a link like this
    http://yoursite.com/images/large_images/myLargeImage.jpg
    the hot spot will be your second php tag which is the
    thumbnail image itself that is now wrapped with the larger image
    link.
    Hope this is helpfull
    JM

  • Authorization issue when I display data from ODS, Infocube, Multirprovider

    Hi Experts,
    When I'm trying to display data for ODS, Infocube, Multiprovider, Infoset in production system, facing aurhorization issue.
    Can anybody have idea what is authorization objects to display data from Infoproviders.
    SIRI

    Check for below authoriztions in your role:
    S_RS_ICUBE
    ACTVT          03
    RSICUBEOBJ     AGGREGATE, CHAVLREL, DATA, DATASLICE,   DEFINITION, EXPORTISRC, UPDATERULE
    RSINFOAREA     *
    RSINFOCUBE     <your cubes>
    S_RS_ODSO
    ACTVT          03
    RSINFOAREA     *
    RSODSOBJ     <your DSOs>
    RSODSPART     DATA, DEFINITION

  • Can I change product from iPhone to iPad mini

               On 14 Jan 2014 I order Apple Product iPhone5S and recieve that on 17 Jan 2014. I try to use about  3-4 days and I think that inconvenient for me and I try to send e-mail to support apple store Thailand on 25 Jan 2014 because I cannot call and now I do not recieve reply.
         I have some question.
    - Can I change my product from iPhone5S  to iPad mini with retina display (Wifi + Cellular) in the same capacity and refund for the difference amount?
    - If not, Can I return iPhone5S to store and new order for iPad mini?
    - If not, Have any way for this case?
    Please help, Thank you.
    Pracha Chaiyongsin
    THAILAND
    <Personal Information Edited by Host>

    I found this number for Apple Support Thailand on this page: http://support.apple.com/kb/HE57
    Thailand
    001800 4412904
    There is a certain return policy for each Apple product, call Apple and find out if you can return the phone and get you money back. Otherwise contact the Apple Store where you bought the phone.

  • How to get Products from Shopping Cart(Basket) in ATG

    I want get all products from shopping cart
    can any one help on this requirement?
    Thanks in Advance.

    Hi ,
    If you want directly JSP , use the droplet as suggested correctly by shaik,
    If you want it in java code,
    A good way is to make a Droplet ( global scoped ) and pass the current shopping cart to the droplet.
    eg :
    <dsp:droplet name="MyDroplet">
    <dsp:param name="inOrder" bean="/atg/commerce/ShoppingCart.current"/>
    OR
    <dsp:param name="inOrder" bean="/atg/commerce/order/purchase/CartModifierFormHandler.order" />
    <dsp:oparam name="output">
    </dsp:oparam>
    </dsp:droplet>
    and in the droplet java file you can use it as :
    CommerceItemContainer inOrder = (CommerceItemContainer) request.getObjectParameter("inOrder");
    and you can use inOrder.getCommerceItems(); to get a list of commerce items from order.
    You can directly get the order in your droplet ,but then you will have to make it request scoped , making global scoped droplets is good practice.
    ~Praveer

Maybe you are looking for

  • How to finetune the force control of an AC Motor Linear Actuator?

    Hello, I am hoping to find some help here with the following problem, which I am trying to solve for several days now.... I am using the UMI-7774 and an AC servo-motor-driven linear actuator to do force control. Basically, I need the actuator to appl

  • Mail version in Snow Leopard

    I´ve upgraded OS from Tiger to Snow Leopard. Now Mail doesn´t start because of version 2.1.3. When installing Snow L, isn´t Mail included in package and should be upgraded..?

  • Export to XML Report Output

    Hello, I want generate the report with XML, so i can parse the XML  data for my local system uses the business data. Is it possible to create the report in the ByDesign which will generate the report output data in XML file. Any idea will great. Than

  • 2.4 getting replaced for a 2.66 "built" from applecare?

    A tier 2 wants to replace my late 2008 2.4 15inch umbp for the mid 2009 2.66 15inch umbp. He says that it will not be refurbished, however, it will be newly built from the replacement center. I asked him if it would not be refurbished and he said it

  • Firmware Upgrade causes ipod touch to crash

    I have a Sumsung NC20 with Windows 7. Whilst updating my ipod touch to firmware 3.1.3 my ipod was wiped clean of all music content and can no longer connect to itunes. my Itunes (latest version) says that the ipod cannot be validated. Accordingly, I