Product not get added to Cart

Hi,

 I have setup a shopping cart(v0.2.0.), when I click  add_to_cart button, the item not get added to the cart, when i check the console its shows error saying

File "/home/saurabh/Documents/erpnext-bench/apps/frappe/frappe/__init__.py", line 521, in call return fn(*args, **newargs) TypeError: update_cart() takes exactly 3 arguments (2 given)

Please consider following image for more details


Regards,

Saurabh







Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/2acbe6ed-6dfd-444f-91ff-39a2cbf3bbea%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Can you try and fix this.


On 24-Jun-2014, at 12:00 pm, saurabh palande <sa...@gmail.com> wrote:

Hi,

 I have setup a shopping cart(v0.2.0.), when I click  add_to_cart button, the item not get added to the cart, when i check the console its shows error saying

File "/home/saurabh/Documents/erpnext-bench/apps/frappe/frappe/__init__.py", line 521, in call return fn(*args, **newargs) TypeError: update_cart() takes exactly 3 arguments (2 given)

Please consider following image for more details


Regards,

Saurabh








Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/2acbe6ed-6dfd-444f-91ff-39a2cbf3bbea%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/AC5C0122-C145-428F-880D-677DBAECEEA7%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.