Jump to content


Photo

Adding Multiple Products to your cart with 1 click


  • Please log in to reply
2 replies to this topic

#1 Riki

Riki

    IPB Newbie

  • +Clients
  • 34 posts

Posted 01 September 2011 - 08:49 AM

Nexus really needs a way to be able to add multiple products to your cart with 1-click. Imagine you have 50 products and want to give a special discount when all 50 are purchased at the same time. The customer will essentially have to add each item to the cart separately.

On a similar note, it would be a great feature to be able to add a single product to your cart from a link that can easily be placed on articles, forum posts etc.

Its almost possible now but there is a strange key needed for it to work. Wouldnt it be much simplier without having this key?

Example:
http://site.com/index.php?app=nexus&module=payments&section=store&do=add&id=1&k=32bd8cb42cf08c6a6c4f294cd5a3df84&ref=store

A better way would be like this:
http://site.com/index.php?app=nexus&module=payments&section=store&do=add&id=1&ref=store


This could work with multiple items (notice multiple IDs being added. Also notice the "po" option which could be the "product option"):
http://site.com/index.php?app=nexus&module=payments&section=store&do=add&id=1&po=1&id2=3&po2=1&id3=9&po3=1&ref=store

Another idea would be to have the ability to define sets in the backend the coincide with the Bundle Discounts. There could be a Bundle Discounts section where you can define the bundle and have a link generated to place on the marketing page.

#2 Mark

Mark

    I dropped the "iggy"

  • IPS Staff
  • 8,384 posts

Posted 01 September 2011 - 03:47 PM

The key is necessary to prevent CSRF attacks.

Mark Wade
Developer

zce-php5-3-logo.gif php5-zce-logo-new.gif


#3 Riki

Riki

    IPB Newbie

  • +Clients
  • 34 posts

Posted 01 September 2011 - 03:53 PM

Thanks Mark, I dont know a lot about CSRF attacks so I will take your word for it. I will say though that Ubercart for Drupal does this "called cart links" and as far as I know it hasnt had this problem but I dont know what they could be doing to prevent it.

A great alternative would be more support in the backend to generate these links in articles, pages, and the forum. Possible?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users