Display Kit Options on Category Pages
Posted: Tue Jan 13, 2009 11:12 am
Is it possible to display a products kit options and/or product options on the category page?
We have a few products that will have kit options. When a user clicks "buy" it takes them to the product detail page. This is confusing to the user especially since products that don't have a kit go right to the basket.
I want to display those options so that products can be purchased right from the category pages if desired. I looked around in the code and couldn't find anything that seemed to reference or pull these options. I tried adding the code below to my category display:
Obviously this didn't work, but didn't throw an error either as I expected. There is quite a bit of code in BuyProductDialog.ascx.cs that seems to reference and check for options/kits. Can I pull that code out and add it to my catalog codebehind along with the above to display the options?
Has anyone done this already? Searching didn't turn up much on the forums.
Thanks,
Dappy
We have a few products that will have kit options. When a user clicks "buy" it takes them to the product detail page. This is confusing to the user especially since products that don't have a kit go right to the basket.
I want to display those options so that products can be purchased right from the category pages if desired. I looked around in the code and couldn't find anything that seemed to reference or pull these options. I tried adding the code below to my category display:
Code: Select all
<asp:PlaceHolder runat="server" id="phOptions" EnableViewState="false"></asp:PlaceHolder>
<asp:PlaceHolder ID="phAddToBasketWarningOpt" runat="server" EnableViewState="false" Visible="false">
<asp:Label ID="AddToBasketWarningOpt" runat="server" EnableViewState="false" SkinID="ErrorCondition" Text="Please make your selections above."></asp:Label>
</asp:PlaceHolder>
<asp:PlaceHolder runat="server" id="phKitOptions" EnableViewState="false"></asp:PlaceHolder>
<asp:PlaceHolder ID="phAddToBasketWarningKit" runat="server" EnableViewState="false" Visible="false">
<asp:Label ID="AddToBasketWarningKit" runat="server" EnableViewState="false" SkinID="ErrorCondition" Text="Please make your selections above."></asp:Label>
</asp:PlaceHolder>
Has anyone done this already? Searching didn't turn up much on the forums.
Thanks,
Dappy