add to cart button is disabled

12 views
Skip to first unread message

dave....@gmail.com

unread,
Sep 25, 2009, 4:20:52 PM9/25/09
to Satchmo users
Anyone know what this is about? The "Add to Cart" button is disabled.
I believe it happened after I added flatpages to my site. Any
suggestions?

Satchmo .081

Lemme know.
Dave

Chris Moffitt

unread,
Sep 25, 2009, 4:35:39 PM9/25/09
to satchm...@googlegroups.com
Are you getting an error message?

Try running python manage.py satchmo_rebuild_pricing

It's doubtful that flatpgages in and of itself would cause this problem but sometimes I've seen this issue and rebuilding pricing will fix it.

-Chris

Dave Merwin

unread,
Sep 25, 2009, 4:49:03 PM9/25/09
to Satchmo users
Ran that and no errors reported, then rebooted instance, no errors
reported. Logged ou and then back in, no errors.

Button still disabled.

See here: http://beta.icarusplays.net/order/product/bang-bang-youre-dead-plus100/

Any help much appreciated.

On Sep 25, 1:35 pm, Chris Moffitt <ch...@moffitts.net> wrote:
> Are you getting an error message?
>
> Try running python manage.py satchmo_rebuild_pricing
>
> It's doubtful that flatpgages in and of itself would cause this problem but
> sometimes I've seen this issue and rebuilding pricing will fix it.
>
> -Chris
>
> On Fri, Sep 25, 2009 at 3:20 PM, dave.mer...@gmail.com <
Message has been deleted

Dave Merwin

unread,
Sep 25, 2009, 4:55:48 PM9/25/09
to Satchmo users
Ran that and no errors reported, then rebooted instance, no errors
reported. Logged ou and then back in, no errors.

Button still disabled.

See here: http://beta.icarusplays.net/order/product/bang-bang-youre-dead-plus100/

Any help much appreciated.

On Sep 25, 1:35 pm, Chris Moffitt <ch...@moffitts.net> wrote:
> Are you getting an error message?
>
> Try running python manage.py satchmo_rebuild_pricing
>
> It's doubtful that flatpgages in and of itself would cause this problem but
> sometimes I've seen this issue and rebuilding pricing will fix it.
>
> -Chris
>
> On Fri, Sep 25, 2009 at 3:20 PM, dave.mer...@gmail.com <

Chris Moffitt

unread,
Sep 25, 2009, 4:58:13 PM9/25/09
to satchm...@googlegroups.com
Do you have products in inventory? Do any products work?

-Chris

Dave Merwin

unread,
Sep 25, 2009, 5:03:21 PM9/25/09
to Satchmo users
The add to cart button is disabled on all products.

If I user FireBug to remove the attribute "disabled" than I can submit
to the cart and everything works fine from there.

Thanks.

On Sep 25, 1:58 pm, Chris Moffitt <ch...@moffitts.net> wrote:
> Do you have products in inventory? Do any products work?
>
> -Chris
>

Bob Waycott

unread,
Sep 25, 2009, 5:05:00 PM9/25/09
to satchm...@googlegroups.com
Do your products actually have inventory?

Bruce Kroeze

unread,
Sep 25, 2009, 7:40:56 PM9/25/09
to satchm...@googlegroups.com
On Fri, Sep 25, 2009 at 2:05 PM, Bob Waycott <bobwa...@gmail.com> wrote:
> Do your products actually have inventory?

Yes, this would normally be the reason why it is disabled. Easy way
to check, turn on the flag to sell without inventory in your store
config.

--
Bruce Kroeze
http://www.ecomsmith.com
It's time to hammer your site into shape.

Alessandro Ronchi

unread,
Sep 25, 2009, 8:02:30 PM9/25/09
to satchm...@googlegroups.com
On Sat, Sep 26, 2009 at 1:40 AM, Bruce Kroeze <bkr...@gmail.com> wrote:
>
> On Fri, Sep 25, 2009 at 2:05 PM, Bob Waycott <bobwa...@gmail.com> wrote:
> > Do your products actually have inventory?
>
> Yes, this would normally be the reason why it is disabled.  Easy way
> to check, turn on the flag to sell without inventory in your store
> config.

It writes:
Sorry, we don't have any of that combination available.

So it seems it's out of stock :)


--
Alessandro Ronchi

SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com

Dave Merwin

unread,
Sep 26, 2009, 12:31:40 AM9/26/09
to Satchmo users
Nope. That is not it either. The store is set to sell items without
inventory. I cycled it. Off and seve then on and save to see if
something was wrong. Still no change.

Any other suggestions?

Thanks for everyone's help.

Dave

On Sep 25, 5:02 pm, Alessandro Ronchi <alessandro.ron...@soasi.com>
wrote:
> On Sat, Sep 26, 2009 at 1:40 AM, Bruce Kroeze <bkro...@gmail.com> wrote:

Alex Robbins

unread,
Sep 26, 2009, 2:42:07 PM9/26/09
to satchm...@googlegroups.com
I noticed this same issue a couple days ago. It seems that ProductVariations don't obey the sell without inventory flag. Go into the ProductVariation and add some inventory to it. That fixed it for me.

The issue is that the satchmo.update_price function that lives in satchmo_product.js (L86) doesn't know about your setting. Maybe we should put it into the global satchmo object? satchmo.CHECKOUT_WITH_ZERO = true;
Then we could just check for it in the javascript.

Anyway, hope that helps.
Alex
Reply all
Reply to author
Forward
0 new messages