+1-888-365-2779
Try Now
More in this section

Forums / Ecommerce / Buynow, multiple products?

Buynow, multiple products?

4 posts, 0 answered
  1. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    05 Feb 2013
    Link to this post

    I notice the buynow widget is a RadListView

    So is the control able to support multiple products, or could it be enhanced to achieve that?

     (I also don't mean can I add multiple items to checkout at the same time, but instead give it 3 products and just have it run like a RadListView repeater...)

  2. Randy Hodge
    Randy Hodge avatar
    96 posts
    Registered:
    03 Nov 2014
    07 Feb 2013
    Link to this post
    Hello Steve,

    That control is designed to work with a single product only. The code expects there to be only one of everything. The reason for it being a RadListview is to get databinding in the widget templates so anyone could drag / drop any property of the product they want.

    You could override InitializeControls and tie the button click to a different event handler but you'd have to figure out how to know which product should be added to the cart. Plus it only accepts a single GUID for a product Id.

    I suppose it would be possible but it would probably be easier to make your own control.

    Regards,
    Randy Hodge
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Steve
    Steve avatar
    3037 posts
    Registered:
    03 Dec 2008
    07 Feb 2013 in reply to Randy Hodge
    Link to this post

    Thanks Randy,

    Could I  bug you for a PITS to get a multiple buy-now version?

  4. Patrick Dunn
    Patrick Dunn avatar
    237 posts
    Registered:
    03 Nov 2014
    12 Feb 2013
    Link to this post
    Hi Steve,

     Sure thing but keep in mind using the Buy Now widget for similar purposes is already explained in this blog post. It adds the buy now to the product list widget. Here is the PITS item:

    PITS

    Kind regards,
    Patrick Dunn
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered