Re: Shopping cart implementation for Classified Ads

2020-11-23 Thread Support Online
3 On Mon, 23 Nov 2020, 09:39 Ram, wrote: > Hi, > > We are trying to understand what is the best Shopping solution that we > could use to implement Classfied Ads where users will be charged for > certain number of Ads that they can post in a month. Our important > requirements for this shopping

Shopping cart implementation for Classified Ads

2020-11-22 Thread Ram
Hi, We are trying to understand what is the best Shopping solution that we could use to implement Classfied Ads where users will be charged for certain number of Ads that they can post in a month. Our important requirements for this shopping card implementation are 1) Ofcourse secure transactions

Re: Persist shopping cart data between computers.

2015-03-18 Thread Avraham Serour
and then move to cartridge as needed On Wed, Mar 18, 2015 at 8:47 AM, <mail...@gmail.com> wrote: > Do I need to code this logic by myself or is there a build in mechanism or > plugin that will allow me to have it like the shopping cart plugins > available online that store the data

Re: Persist shopping cart data between computers.

2015-03-18 Thread mail4dk
Do I need to code this logic by myself or is there a build in mechanism or plugin that will allow me to have it like the shopping cart plugins available online that store the data in the session collection? On Sunday, March 15, 2015 at 4:45:38 PM UTC+2, Avraham Serour wrote: > >

Re: Persist shopping cart data between computers.

2015-03-15 Thread Avraham Serour
save it on the database, when the user logs in from another computer he will have another session associated with the same user the user have the shopping cart saved on the DB On Sun, Mar 15, 2015 at 10:06 AM, <mail...@gmail.com> wrote: > Hello, > > I'm using an old version of

Persist shopping cart data between computers.

2015-03-15 Thread mail4dk
and from he same browser and I would like to know if there is a known plugin or middlewear that allows me to persist a session between computers. The bigger picture is that i'm interesting in saving a shopping cart like object that will presist for the user when he logs in from different computers

Django Modules for comparative "shopping cart" and data analysis

2014-01-06 Thread Frank Jaworski
Hello, Given the task of creating an application that presented the user with a pseudo-shopping cart they could add and subtract to see the potential cost and savings over a period time with graphing and analysis of said comparisons, what does Django have to offer in terms of existing modules

Re: Django Shopping Cart

2013-04-23 Thread Lazybird
You can have a look at django-carton<https://github.com/lazybird/django-carton>, a simple shopping cart application that handles cart item in django session and lets you write you product models the way you want. -- You received this message because you are subscribed to the Google

Re: Django Shopping Cart

2013-03-10 Thread Sandeep kaur
On Thu, Feb 28, 2013 at 2:32 AM, vijay shanker <deont...@gmail.com> wrote: > hey, i want to write a shopping cart app, please provide some inputs, useful > information, suggestions etc for doing it right . Have a look at this too. https://github.com/bmentges/django-cart -- Sandeep

Re: Django Shopping Cart

2013-03-10 Thread jrief
Have a look at https://www.django-cms.org/en/e-commerce/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to

Re: Django Shopping Cart

2013-02-27 Thread Marc Aymerich
On Wed, Feb 27, 2013 at 10:02 PM, vijay shanker <deont...@gmail.com> wrote: > hey, i want to write a shopping cart app, please provide some inputs, > useful information, suggestions etc for doing it right . > thanks > have you looked at django-oscar? -- Marc -- You rec

Django Shopping Cart

2013-02-27 Thread vijay shanker
hey, i want to write a shopping cart app, please provide some inputs, useful information, suggestions etc for doing it right . thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: Django shopping cart example

2012-10-20 Thread Amyth Arora
ttings.type) && sameOrigin(settings.url)) { xhr.setRequestHeader("X-CSRFToken", getCookie('csrftoken')); } }); On Fri, Oct 19, 2012 at 1:41 AM, Janeskil1525 <janeskil1...@gmail.com>wrote: > Hi All > > > I found a nice shopping cart example for Django on D

Django shopping cart example

2012-10-18 Thread Janeskil1525
Hi All I found a nice shopping cart example for Django on Djangoresources called ajax_shop_basket <https://code.djangoproject.com/wiki/ajax_shop_basket> . It works really nice apart from the javascript function addProduct gets an 403 message´when it tries to post. I guess that's b

Re: extending a shopping cart

2011-04-24 Thread razafy
The model vs name issue has to do with lower case vs capitalized letters . To get the model attribute look up info in_meta.fields On Apr 23, 9:52 am, shofty wrote: > ok, answering my own question here, kind of. > > attempt 1. > # get the objects for this content type, then

Re: extending a shopping cart

2011-04-24 Thread shofty
yeah, think i've found it. .model_class() worked, but game a strange result, so needs more investigation. thanks for the pointer mate. On Apr 23, 4:33 pm, Shawn Milochik wrote: > Did you check out the docs for adding a generic foreign key to your > model itself? --

Re: extending a shopping cart

2011-04-23 Thread Shawn Milochik
Did you check out the docs for adding a generic foreign key to your model itself? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to

Re: extending a shopping cart

2011-04-23 Thread shofty
ok, answering my own question here, kind of. attempt 1. # get the objects for this content type, then choose the object by id ct = ContentType.objects.get_for_model(app_label=app, name=content_type) p = ct.get_object_for_this_type(pk=object_id) the above code works to get the object and

Re: extending a shopping cart

2011-04-23 Thread shofty
so the problem is definitely this line. ct = ContentType.objects.get_for_model(SuspFitment) this works and adds an item to the cart. am i totally misunderstanding what i can do with ContentTypes? is there a way to grab a contenttype when its passed as a string? off to see if i can find some

Re: extending a shopping cart

2011-04-23 Thread shofty
thanks, it looks like i have. i can't get it working though. so the idea is to get the app name, model and id of the object before submission to the cart. form.fields['object_id'].widget.attrs['value'] = product.id form.fields['content_type'].widget.attrs['value'] =

Re: extending a shopping cart

2011-04-22 Thread Shawn Milochik
I think you just re-invented generic foreign keys: http://docs.djangoproject.com/en/1.3/ref/contrib/contenttypes/#generic-relations -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

extending a shopping cart

2011-04-22 Thread shofty
say for instance you had a CartItem that was laid out pretty much as follows class CartItem(models.Model): cart_id = models.CharField(max_length=50) date_added = models.DateTimeField(auto_now_add=True) quantity = models.IntegerField(default=1) size =

Selecting a shopping cart

2011-03-21 Thread Isaac XxX
Hi there, Recently I decided to develop a project that will involve some shopping cart capabilities (we will sell some products, mainly by using credit card payment methods). I've been checking some packages - frameworks, and I can decide wich is better fit for me. By now, I visited

Decoupling shopping cart from checkout

2011-03-16 Thread Micah Carrick
I have a Django app for a shopping cart, and another for checkout (checkout form, payment gateway, order processing). I would really like for these to be completely decoupled but am having a hard time coming up with a solution that gives me a warm fuzzy feeling. Here is a simplification

What do you use for a shopping cart (in an existing app?)

2009-08-27 Thread ristretto.rb
Hello, I would like to add shopping cart features to a current web application. Has anyone solved this type of problem? What did you do? Roll your own features (add to cart, view cart, payment, etc)? Use Satchmo? Use something else? Thanks Gene

Re: problem with simple shopping cart

2009-02-09 Thread lnysrogh
I'm also getting an Index Error, "list index out of range" for the "request.session['cart'][1] += 1" line. I can't figure out what's wrong. On Feb 9, 3:02 am, lnysrogh wrote: > Thank you so much. That helped a lot. Such a simple mistake. > > I've got some other questions

Re: problem with simple shopping cart

2009-02-08 Thread lnysrogh
14 pm, Andrew Ingram <a...@andrewingram.net> wrote: > lnysrogh wrote: > > Hello. I'm new to Django (and web development in general), and this is > > my first post here. Hope someone can help me. > > > I'm trying to build a shopping cart, and my idea is to store the &

Re: problem with simple shopping cart

2009-02-02 Thread Andrew Ingram
lnysrogh wrote: > Hello. I'm new to Django (and web development in general), and this is > my first post here. Hope someone can help me. > > I'm trying to build a shopping cart, and my idea is to store the > product information (id and quantity) in a session when I ad

problem with simple shopping cart

2009-02-02 Thread lnysrogh
Hello. I'm new to Django (and web development in general), and this is my first post here. Hope someone can help me. I'm trying to build a shopping cart, and my idea is to store the product information (id and quantity) in a session when I add the product to the shopping cart, and retrieve

Re: Shopping cart

2008-01-02 Thread kevinski
http://code.google.com/p/django-cart/ A much shorter learning curve than Satchmo, but a fraction of the functionality. On Jan 2, 9:37 am, [EMAIL PROTECTED] wrote: > Hi all, > Is there a good python shopping cart that works well with django? > Thanks, > > Jor

Re: Shopping cart

2008-01-02 Thread hedronist
I haven't tried to work with it yet, but you might want to checkout (pun intended) the Django-based cart 'Satchmo' at http://www.satchmoproject.com/ and their newsgroup at http://groups.google.com/group/satchmo-users. They are currently at 0.6 and are working on their roadmap to 1.0. Peter

Re: Shopping cart

2008-01-02 Thread Alex Koshelev
http://www.satchmoproject.com/ On 2 янв, 18:37, [EMAIL PROTECTED] wrote: > Hi all, > Is there a good python shopping cart that works well with django? > Thanks, > > Jorge Hugo Murillo > > > __

Shopping cart

2008-01-02 Thread jorgehugoma
Hi all, Is there a good python shopping cart that works well with django? Thanks, Jorge Hugo Murillo Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http

Google Checkout w/out a shopping cart?

2007-08-10 Thread [EMAIL PROTECTED]
I'm trying to build a very simple ecommerce page using Google Checkout without the use of a shopping cart. Here are my models: class Team(models.Model): name = models.CharField(maxlength=30, unique=True) def __str__(self): return self.name class Meta

Re: Do I have to send shopping cart data to every template in my app?

2007-08-06 Thread oggie rob
No, you don't need to use the same template. You are just filling in some data on every request using the context processor. Its like this: 1) Write a context processor that adds shopping cart info to every context. Now it can be accessed via {{ cart.items }} or however you set it up 2) Write

Re: Do I have to send shopping cart data to every template in my app?

2007-08-06 Thread Greg
Oggie, Thanks for the reply. So you're saying that it would be better to send my shopping cart data to every template through my all my view's? If that's the case then I assume there is no way to send request.session information using a custom template? Thanks On Aug 3, 4:36 pm, oggie rob

Re: Do I have to send shopping cart data to every template in my app?

2007-08-03 Thread oggie rob
If you really need to use a tag, look at http://www.djangoproject.com/documentation/templates_python/#passing-template-variables-to-the-tag But I think you probably would find it easier to add an extra context processor & avoid the tag altogether. -rob On Aug 3, 6:01 am, Greg <[EMAIL

Re: Do I have to send shopping cart data to every template in my app?

2007-08-03 Thread Greg
Thanks for your help...I'm now able to create a custom tag. However, I now seem to have a another problem with custom tags. How do I send session information to each template. I can't use request.session['cart'] in my custom tag function because it doesn't have a request parameter. I always

Re: Do I have to send shopping cart data to every template in my app?

2007-08-02 Thread oggie rob
On Aug 1, 11:22 pm, oggie rob <[EMAIL PROTECTED]> wrote: > This is what middleware is made > for.http://www.djangoproject.com/documentation/middleware/ > > -rob Sorry, I have recently been working with shopping carts and had redirection on my brain. Fabien's suggestion is probably what you are

Re: Do I have to send shopping cart data to every template in my app?

2007-08-02 Thread oggie rob
This is what middleware is made for. http://www.djangoproject.com/documentation/middleware/ -rob On Aug 1, 9:51 pm, Greg <[EMAIL PROTECTED]> wrote: > I've created a shopping cart. I want to put something on the top of > every page that let's people know how many ite

Re: Do I have to send shopping cart data to every template in my app?

2007-08-02 Thread Fabien Schwob
On 8/2/07, Greg <[EMAIL PROTECTED]> wrote: > > I've created a shopping cart. I want to put something on the top of > every page that let's people know how many items they have in their > cart. I have a lot of views that don't send any dictionary key's that > contain shopp

Re: Do I have to send shopping cart data to every template in my app?

2007-08-02 Thread Lucky B
TED]> wrote: > I've created a shopping cart. I want to put something on the top of > every page that let's people know how many items they have in their > cart. I have a lot of views that don't send any dictionary key's that > contain shopping cart info. If I want to do this...do I

Do I have to send shopping cart data to every template in my app?

2007-08-01 Thread Greg
I've created a shopping cart. I want to put something on the top of every page that let's people know how many items they have in their cart. I have a lot of views that don't send any dictionary key's that contain shopping cart info. If I want to do this...do I now have to edit every view

Re: Using Sessions to display the contents of a shopping cart

2007-07-19 Thread Chris Moffitt
The way we handle it with Satchmo is to have a cart object and store that id in the session. It's pretty simple and does not require a user to be logged in. -Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Using Sessions to display the contents of a shopping cart

2007-07-19 Thread Jeremy Dunck
On 7/19/07, Greg <[EMAIL PROTECTED]> wrote: > So I guess Session's will work if that is the case. It looks > like I will have to place a cookie on the visitor's computer using > set_test_cookie() and test_cookie_worked() method's so that I'm able > to tell the difference between two users that

Re: Using Sessions to display the contents of a shopping cart

2007-07-19 Thread Greg
Lutz, Yea I don't plan on having the user login to purchase a product from me. So I guess Session's will work if that is the case. It looks like I will have to place a cookie on the visitor's computer using set_test_cookie() and test_cookie_worked() method's so that I'm able to tell the

Re: Using Sessions to display the contents of a shopping cart

2007-07-19 Thread Lutz Steinborn
Hi Jeremy, On Thu, 19 Jul 2007 10:45:46 -0500 "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > > On 7/19/07, Greg <[EMAIL PROTECTED]> wrote: > > x = request.session ?? # I want to add s and c to my session? > > cart = request.session.get('cart', []) > cart.append({'style':s,'choice'c}) >

Re: Using Sessions to display the contents of a shopping cart

2007-07-19 Thread Jeremy Dunck
On 7/19/07, Greg <[EMAIL PROTECTED]> wrote: > x = request.session ?? # I want to add s and c to my session? cart = request.session.get('cart', []) cart.append({'style':s,'choice'c}) request.session['cart']=cart But, fundamentally, putting cart info in session is a bad idea; people

Using Sessions to display the contents of a shopping cart

2007-07-19 Thread Greg
}) // Everytime the user adds something to their shopping cart then this view will be accessed. I want the view to store the two parameters (s and c) into my request.session so that the data in the session can be showed when the website visitor checks out. However, I'm not sure how to add

Re: Shopping cart application for django

2007-05-16 Thread Chris Moffitt
The current url for the satchmo project is http://www.satchmoproject.com We have basic integration with paypal and are working on more as we speak. -Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Shopping cart application for django

2007-05-16 Thread Jeremy Dunck
On 5/16/07, Nathan Harmston <[EMAIL PROTECTED]> wrote: ... > So far I am thinking of storing the whole shopping cart as a > dictionary in session where it is simply > > { product_id:amount }, Assuming low site concurrrency, no. I don't know why you'd want to take that a

Re: Shopping cart application for django

2007-05-16 Thread yml
an e-commerce site and I was wondering if there > are any shopping cart apps out there for django that I can have a look > at and work through. I am trying to build one that can integrate with > paypal but any ideas would be cool. > > So far I am thinking of storing the whole shopping

Shopping cart application for django

2007-05-16 Thread Nathan Harmston
Hi, I m currently building an e-commerce site and I was wondering if there are any shopping cart apps out there for django that I can have a look at and work through. I am trying to build one that can integrate with paypal but any ideas would be cool. So far I am thinking of storing the whole

Re: graceful shopping cart questions

2006-12-05 Thread Noah
No one? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For

graceful shopping cart questions

2006-12-04 Thread Noah
I downloaded and looked at the django-cart code and noted the views go cart = request.session.get('cart', None) or Cart() how can thre session pickle the cart and be accurate if it's stored in the database or am I confuised? is Django smart enough to know how that should work and retrive the

Re: Shopping cart paradigm in Django?

2005-10-08 Thread Adrian Holovaty
On 10/8/05, Fried Egg <[EMAIL PROTECTED]> wrote: > Is there some documentation that describes creating an application with > more state than a simple poll? > > I think a shopping cart would be the typical application; we are > interested in assembling a statistical index b

Shopping cart paradigm in Django?

2005-10-08 Thread Fried Egg
Is there some documentation that describes creating an application with more state than a simple poll? I think a shopping cart would be the typical application; we are interested in assembling a statistical index based on a lot of data and user interaction before getting the final end result