checkout 0.0.17/18
Kampf Katze
![]()
Joined: 2006-01-18
Posts: 35 |
![]() |
Have you installed "Checkout over Mail" or "Checkout over Paypal"? |
|
Agent360
Joined: 2008-01-20
Posts: 3 |
![]() |
Thanks for your response. Yes I have done those things. The documentation is very sparse so I have been struggling with setting the gallery and all the plugins up. I have spent about 6 hours to day figuring things out by trial and error. Gallery is a wonderful product, badly needed to utilize my stock photo library and to show proofs to clients. I think Gallery is only one of it's kind because all others pale in comparison. However, the documentation is the worse I have ever seen for such a polished application. For future reference here is the answer to my question. Question: How do you add "add photo to cart" buttons and "view cart" after you have properly installed, configured and activated the plugin "checkout 0.0.17/18" Note: Gallery comes with a core "Cart". Both will show in the list. I have simply deactivated the core "cart" under "plugins". If you leave this activated you will see "Show Cart Info" twice as described below in the steps. This is fine, however make sure to choose the second "Show cart info" from the list, to use this plugin. You can use both if you choose but you will have two "view cart" buttons and two "add photo to cart" under each photo or album. This will confuse your users so I recommend you use only one. 1. Install, configure, and activate the plugin Note: When Gallery is first installed the "add photo to cart" feature is activated and shows under Albums or on the left navagation. However, there is no "view cart" button. This was very confusing. I only figured it out after installing this plugin. It was only then I realized I had to manually add the "Show cart info" under themes as described above to make a "view cart" button show up for the default core "cart" plugin. Regards Agent360 |
|
SimonTuffGuy
Joined: 2006-04-11
Posts: 9 |
![]() |
I'm running the Siriux theme on my Gallery... For some reason, the "Add Album to Cart" and "Add Photo to Cart" do not display either under the album or photo... is this something I can code directly into the theme itself? |
|
paulcobb
Joined: 2006-05-04
Posts: 122 |
![]() |
I am trialling the latest versions before going live with my duplicate site. 6" x 4" print £2.00 1 Colour Gloss print - Borderless £2.00 I'm not sure where the character before the pound sign is coming from? any ideas please ? Paul Gallery version = 2.2.4 core 1.2.0.6 |
|
alecmyers
Joined: 2006-08-01
Posts: 4342 |
![]() |
Quote:
I'm running the Siriux theme on my Gallery... For some reason, the "Add Album to Cart" and "Add Photo to Cart" do not display either under the album or photo... I run Siriux, and they should (do) show up under the album/photo respectively, no theme editing required. Check that the relevant user has the "add item to cart" permission (or whatever exactly it's called.) |
|
paulcobb
Joined: 2006-05-04
Posts: 122 |
![]() |
Quote:
notice when I submit an order via email that I am getting this on the client & the confirmation email back to myself. Does anyone have any suggestions regarding this issue - I'm stuck at the moment! Paul |
|
jayhen
Joined: 2007-02-12
Posts: 159 |
![]() |
Paul - have you tried deleting your pound sign from the admin page and typing it again? Can't think how, but perhaps a special character has slipped in there somehow. |
|
paulcobb
Joined: 2006-05-04
Posts: 122 |
![]() |
Jay, Then deleted checkout, reinstalled and re-configured. Same result! Paul |
|
alecmyers
Joined: 2006-08-01
Posts: 4342 |
![]() |
This is because of a mismatch in the character encoding between the database and the email. Your sql database in which the currency symbol is stored is likely UTF-8, in which the encoding for £ is 0xC2A3. The email is notated in the template as being encoded charset="iso-8859-1", and in iso-8859-1 0xC2A3 is two characters, 0xC2 which is  and 0xA3 which is £, hence the extra character. I'm not sure what the correct or best resolution is - but at least you know the cause. Edit: not that it really helps, but if you're using a mail client that allows you to change the encoding type for emails being displayed (like Outlook Express does) then changing to UTF-8 makes the extra character disappear. |
|
paulcobb
Joined: 2006-05-04
Posts: 122 |
![]() |
Thanks for that! |
|
alecmyers
Joined: 2006-08-01
Posts: 4342 |
![]() |
I'll stick my neck out and suggest that it's a slightly deeper problem, in that special characters in photo titles and item names will also be displayed wrongly. Maybe it's not been flagged up because it didn't bother anyone enough ... certainly I've never really fussed about it, although it's interesting. With a little (two minutes) digging, I found some correspondence that suggests that gallery demands UTF-8 internally throughout, so if the email is explicitly written as iso-8859-1 (and it is, as things stand) then I think it might be appropriate to call If anyone knows different, please jump in and say so. |
|
paulcobb
Joined: 2006-05-04
Posts: 122 |
![]() |
The thing that I found confusing was that the email on my current production gallery works perfectly Gallery version = 2.1.1 core 1.1.0.1 whereas the latest version has the problem Paul |
|
SpainAlex
Joined: 2008-02-09
Posts: 14 |
![]() |
Paul, Alec...I have the same problem. Very Very annoying for Spanish buyers. And it is not minor bug because buyer doesn't trust with unreadable bills. I cannot use this plugin |
|
alecmyers
Joined: 2006-08-01
Posts: 4342 |
![]() |
If you insert this at line 79 of the file /modules/checkoutemail/email.inc: $csymbol = utf8_decode($csymbol); //convert symbol to iso8859 that seems to fix the problem. I don't think this is "the" solution as diacrits in other places like photo and product titles are still likely to be wrong, but it's a quick-fix for now. Paul: As to why it doesn't appear in earlier versions: I don't know, and I don't have an installation on which I can check. It may be down to differences in the database setup rather than something in the Gallery code that's changed. The symbol is stored in the MySQL database in a row of the g_parameterValue column of the g2_PluginParameterMap table, which in my installation has a collation type of "utf8_general_ci" - and that would be the first place I would start looking for differences between the two. |
|
SpainAlex
Joined: 2008-02-09
Posts: 14 |
![]() |
Think, the best solution in "checkoutemail" is to change: /templates/message.tpl line 2 The problem is "checkoutpaypal"....??? I do not know patch it... |
|
alecmyers
Joined: 2006-08-01
Posts: 4342 |
![]() |
I guess that would do it. I was (maybe over-generously) assuming that whoever chose iso8859-1 had done so for a good reason... What's the problem with Checkoutpaypal? |
|
SpainAlex
Joined: 2008-02-09
Posts: 14 |
![]() |
In "Checkoutpaypal", characters of photo titles and item names also are displayed wrongly in Paypal. Example: Otoño, í ¿? ¡! (Otoño 2007) to Otoño, à á ¿? ¡! (Otoño 2007) |
|
SpainAlex
Joined: 2008-02-09
Posts: 14 |
![]() |
Is very strange!!!....because final form prepared to send to Paypal is correct!!!!!! <input type="hidden" name="item_name_1" value="Otoño, í á ¿? ¡! (Otoño 2007)" /> What is happening?? AAAh!!!!! Saturday and in front of PC!!! :S 4 hours!!!! |
|
SpainAlex
Joined: 2008-02-09
Posts: 14 |
![]() |
Paypal not accept UTF8!!!!! :O..... |
|
SpainAlex
Joined: 2008-02-09
Posts: 14 |
![]() |
OK Ok...Paypal accept UTF8...go to profile, Language Encoding...more options....select UTF8..... NOooo!!! my characters are again...Otoño, à á ¿? ¡! (Otoño 2007)!!! Why?? |
|
jayhen
Joined: 2007-02-12
Posts: 159 |
![]() |
Quote:
Think, the best solution in "checkoutemail" is to change: The character set should not be iso-8859-1, but utf-8 as stated. It got in there due to problems with AOL not working properly with utf8, but should not have got into the official release, apologies. Jay |
|
alecmyers
Joined: 2006-08-01
Posts: 4342 |
![]() |
I have started a new thread regarding some forthcoming updates to Checkout - please find it at: |
|
CandlelightWeb
Joined: 2008-04-21
Posts: 4 |
![]() |
Hi, I have a really dumb question. I have been at this for days and I am so very close. New install of the new 2.2.4 full and the checkout stuff from the downloader so it is I am so close. |
|
scuffedshoes
![]()
Joined: 2006-02-07
Posts: 9 |
![]() |
You'll find "Edit Permissions" wherever you've got your "Edit Item" or "Edit Album" set to show: sidebar, dropdown menus, etc. Permissions are not set in the Site Admin pages. The closer you are to the code, the happier you are. |
|
CandlelightWeb
Joined: 2008-04-21
Posts: 4 |
![]() |
Yeah, thanks I found it about a half hour ago, added "Guest" as a group, added all nessicary permissions for them to be able to add to cart, make purchases through the checkout, add comments, add ratings... No change. Still unable to do anything but view the image. I am going nuts tryinmg to figure this thing out. PayPal is easy, Gallery is easy, I don't understand why it seems so difficult to get the 2 to work together. www.zsuzsannaluciano.com/gallery2 UPDATE: I got it... had to give "Everybody" the permissions to purchase items. Wasn't good enough to allow them to "Add to Cart" - Add to Cart did not show up until I added the Purchase Item. Figured I would add this tidbit for the next guy with the same problem. I could not find it here that is for sure. Now I can let the hair I ripped out grow back. |
|
alecmyers
Joined: 2006-08-01
Posts: 4342 |
![]() |
Just for the next person who has this problem: Checkout *DOESN'T* have (or need) an 'add to cart' permission - there is a '[cart] Add to Cart' permission, but as it says, it's for the cart module, which you should uninstall if you're using checkout. Checkout has/requires the '[checkout] Purchase Item' permission instead, give it to the Everybody group if that's your intention. There's no need to create a Guest group, there's already a Guest user which is everyone who isn't logged in as a registered user. |
|
holeepassion
Joined: 2008-12-03
Posts: 9 |
![]() |
i have issues downloading community repository for checkout from GET MORE PLUGIN menu .. using gallery 2.2.5 I think. Is there a way around this ??? thanks |
|
alecmyers
Joined: 2006-08-01
Posts: 4342 |
![]() |
Quote:
i have issues downloading community repository for checkout from GET MORE PLUGIN menu Please start a *new* thread and describe your problem in detail, and someone may be able to help. Thanks. |
|
R.kuenen
Joined: 2009-07-17
Posts: 1 |
![]() |
I have installed Gallery 2.3 Kind regards, René Kuenen |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
alecmyers
Joined: 2006-08-01
Posts: 4342 |
![]() |
Quote:
It seems that the checkout module is not supported with this version. As the current module author/maintainer, I'm happy to confirm that all the checkout- series of modules in the repository at present are 100% compatible with Gallery 2.3. By the way this thread is long-dead - if you're having current problems with checkout, please open a new thread, give the requested information and someone (me or someone else) will try to help. |
|
hwilliam
Joined: 2008-04-05
Posts: 21 |
![]() |
Why am I getting this error message when I try to put info in the checkout module? Error Detail - * in modules/core/classes/helpers/GalleryUserHelper_medium.class at line 202 (gallerycoreapi::error) |
|
alecmyers
Joined: 2006-08-01
Posts: 4342 |
![]() |
Quote:
Why am I getting this error message when I try to put info in the checkout module? Please refer to this comment in the previous post to yours: Quote:
By the way this thread is long-dead - if you're having current problems with checkout, please open a new thread, give the requested information and someone (me or someone else) will try to help. Thanks! |
|