Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Sean Mooney 131 posts 158 karma points c-trib
    Jun 28, 2012 @ 22:30
    Sean Mooney
    0

    Override ProductRenderer

    I see that in the XmlRenderings.config I have the ability to override some of the renderings, however the Product is not in that list. Is there an easy way to alter the xml that gets rendered for a product?

    We have a wishlist functionality on our store and would like to have an "Add To Wishlist" button however I don't want to show this if the product is already in their list (this information is stored in a separate table). I wanted to add an attribute to the product element indicating weather or not it in their wish list.

    Any Ideas?

  • Søren Spelling Lund 1797 posts 2786 karma points
    Jul 05, 2012 @ 11:08
    Søren Spelling Lund
    0

    We haven't fully completed the migration of XML renderers to config. Unfortunately product is among the renderers, which haven't been transitioned yet.

    Would it be easier to just do a separate look up using an XSLT extension to check whether the product is on a wish list already?

  • Sean Mooney 131 posts 158 karma points c-trib
    Jul 10, 2012 @ 15:45
    Sean Mooney
    0

    That's what I ended up doing. Created an XSLT extension that returns a list of product skus that are in the users wish list. I use that variable then to check if the product is already in the list.

     

Please Sign in or register to post replies

Write your reply to:

Draft