[checkout] add to cart in double,only one works!

nocomp

Joined: 2006-02-17
Posts: 13
Posted: Fri, 2006-02-17 16:40

Hello everybody,
first of all, big up to the ppl that have dev this gallery,i ve tried quite a lot of them and i ll recomend that one,and gonna use just this one by now, cause it s just brilliant!!!Thx a lot fr the job that has been done!!.
I have a little bug,the install went ok,even the paypal checkout module.
I ve found how to allow guest user to check out in the permission settings,so i ve add a permision for allow checkout.
The probleme is, as u can see on http://beta.wooloomooloo-gallery.com/gal/
One photo has a drop menu called "item action" with "Add Photo To Cart" that doesn t work and also "add photo to cart" that actually does work.
Other pics have a nice icone "add photo to cart" that doesn t allow ppl to checkout in the "cart action" drop menu.
What did i do wrong? How can i fix it?
thx a lot
best regards

 
ckdake
ckdake's picture

Joined: 2004-02-18
Posts: 2258
Posted: Sat, 2006-02-18 04:42

Try upgrading to the latest nightly and the newest version of the paypal module.

 
nocomp

Joined: 2006-02-17
Posts: 13
Posted: Sat, 2006-02-18 08:48

hi ckdake,
this is the versions of the one i ve installed, didn t find links for newer version, but if you know ny, feel free to gimme a link.
thx a lot
checkoutpaypal_v0.1.8.zip
checkout_v0.1.12
and the gallery : gallery-2.0.2-full.zip

thx a lot for help, this is quite urgent.
best regards

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sat, 2006-02-18 09:52

nocomp - it sounds like you have the built-in cart module still installed and active. You should uninstall (or at least deactivate) this through Site Admin -> Modules. The Checkout module replaces the cart module.

Also, don't update to the latest nightly just yet as there isn't a version of the Checkout module that supports the current development version of Gallery...

 
nocomp

Joined: 2006-02-17
Posts: 13
Posted: Sat, 2006-02-18 12:41

And the winner is........ turnbulm :)
thx a lot for your smart advices, i would not find it by myself,i though that the built in car module was necessary for have a cart systeme , didn t knew i ll get into a dbl use with the new module i ve installed
thx a lot.

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Sat, 2006-02-18 12:56

No problem - glad it worked.

If you want to update to 2.1 when it's available, I'd recommend you subscribe to the Checkout announcements list here, as I will be posting an announcement as soon as the Checkount modules support the new APIs.

 
nocomp

Joined: 2006-02-17
Posts: 13
Posted: Sat, 2006-02-18 14:42

thx for the tip, that was the first thing i did this morning when i woke up with my tea ;)

 
richardvahrman

Joined: 2006-02-07
Posts: 1
Posted: Wed, 2006-03-01 19:19

Small problemet - want to change the word "photo" to "print" in "add photo to cart" (see here http://www.grahamdean.com/mambo/index.php?option=com_gallery2&Itemid=87&g2_view=core.ShowItem&g2_itemId=389 ) - any advice appreciated.

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Wed, 2006-03-01 22:02

I'm afraid this really isn't so easy - the word that's used is defined by Gallery and not by the Checkout module. You will see (in module.inc for Checkout) that we use the phrase "add %s to cart". It is down to Gallery itself to add the appropriate word in place of %s. This means that in the future, when Checkout supports items other than photos, the working will all be correct.

In the meantime, if your site only supports prints, then you could change "%s" to "print" in module.inc.