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
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
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
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:
>
>
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
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
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
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
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
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
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
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
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
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
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
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?
--
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
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
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
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'] =
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
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 =
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
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
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
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
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
&
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
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
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
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
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
>
>
> __
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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})
>
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
})
//
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
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
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
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
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
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
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
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
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
57 matches
Mail list logo