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.
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?
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.
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?
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?
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.
is working on a reply...