[checkout] Version 0.4.1 in repository now

alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2008-10-04 11:31

I've uploaded a new release of the checkout module to the repository. It has various bug-fixes, and one new feature: you can view and edit the contents of visitors' baskets/carts before they place an order. This mean you can be nosy and see what people are in the process of ordering, help customers for example by phone, by adding item/products to their cart, entering discount codes for them, etc. Access this feature from the 'checkout orders' page - use the 'Show current sessions' button at the bottom of the orders list.

Among the fixes I have arranged it so that purchase permissions are now checked before the products block is displayed. If a visitor doesn't have permission to purchase an item they won't see the product list.

Looking forward to problem reports as usual.

 
Dayo

Joined: 2005-11-04
Posts: 1642
Posted: Sat, 2008-10-04 11:37

Alec

Well done.

When do you think you will be in a position to release a Version 1? I have a contrib to the original checkout module I will like to update but think that until the main stabilises, fundamentals may be fluid and notice that you have reissued version of the payment modules due to changes in the main checkout module.

Also, Have you considered making the shipping modular? I have some ideas on this and will send you a PM later.

--
Gallery version = 2.2.6
Default theme = PGtheme 1.3.0
Web Site: dakanji.com

 
applepds

Joined: 2007-06-29
Posts: 2
Posted: Sat, 2008-10-04 11:53

I'm not sure if this is a bug or a feature or what but:

When customer has completed his order, he will get "Your order is confirmed. Thank you very much for placing this order. You can bookmark this page and return to it to track progress of the order, and we'll also send you an email when the order status changes."

Let's assume customer bookmarks this page. When admin has completed his order, he changes it's status to completed. After few days, he decides to delete it. Now if the customer tries to visit that page (that he still has in his bookmarks), he will get following:

Security Violation

The action you attempted is not permitted.

Back to the Gallery
Error Detail -
Error (ERROR_MISSING_OBJECT, ERROR_PERMISSION_DENIED) : Missing object for 80

* in C:\Program Files\wamp\www\gallery2\modules\core\classes\GalleryStorage\GalleryStorageExtras.class at line 2075 (GalleryCoreApi::error)
* in C:\Program Files\wamp\www\gallery2\modules\core\classes\GalleryStorage\GalleryStorageExtras.class at line 98 (GalleryStorageExtras::_identifyEntities)
* in C:\Program Files\wamp\www\gallery2\modules\core\classes\GalleryStorage.class at line 298 (GalleryStorageExtras::loadEntities)
* in C:\Program Files\wamp\www\gallery2\modules\core\classes\helpers\GalleryEntityHelper_simple.class at line 71 (GalleryStorage::loadEntities)
* in C:\Program Files\wamp\www\gallery2\modules\core\classes\GalleryCoreApi.class at line 2259 (GalleryEntityHelper_simple::loadEntitiesById)
* in C:\Program Files\wamp\www\gallery2\modules\checkout\OrderStatus.inc at line 85 (GalleryCoreApi::loadEntitiesById)
* in C:\Program Files\wamp\www\gallery2\modules\core\classes\GalleryView.class at line 300 (OrderStatusView::loadTemplate)
* in C:\Program Files\wamp\www\gallery2\main.php at line 445 (GalleryView::doLoadTemplate)
* in C:\Program Files\wamp\www\gallery2\main.php at line 94
* in C:\Program Files\wamp\www\gallery2\main.php at line 83

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2008-10-04 12:13

Dayo: thanks for the kind words. I don't see the need for a 'version 1' - I don't interpret the 0.x as any kind of quality indication or 'pre-release' notation. I've been using checkout (and earning money through it) for about 18 months, all the way from 0.1.12, and every release that isn't specifically labelled as 'alpha' or 'beta' is considered stable (or intended to be, anyway!)

I'm always going to be integrating new features as and when I think of them (or as and when other people suggest them) always supposing they're feasible, likely to be useful to a sufficiently large group of people, and suficiently interesting. Sometimes that means updating the various interfaces for the plugins, although most changes are pretty minor. (There were some necessary changes for 0.4.0, as you noticed.) There won't be a point at which I can guarantee that these interfaces will be set in stone, so if anyone writes a module that's compatible with checkout (and nobody's stepped forward to do that yet) they will always need to monitor and possibly update their code. This is the same as the Gallery API which changes with major and minor version numbers.

If you have any contributions to the code, please discuss them with me and maybe I can include them. I don't currently forsee any point in the future that will be more suitable than 'now' - whenever 'now' happens to be.

@applepds: You only see that message if you're an administrator; users without admin privileges get a much shorter error page, without the stack trace. It's not intended that admins would want to delete orders for some months after the order is completed, in order to allow customers time to 'finish' any potential uses of the order status page. In other words you can think of deleting an order as saying "I'm now happy for anyone who tries to access any data relating to this order to receive an error message", and in fact, with the data relating to the order removed from the database, how could it be otherwise?

It's also important (somewhat) that hostile users can't probe for valid order numbers by testing that page, so it's a security requirement that the same error page is generated for order numbers which have never existed, which have been deleted, which refer to galleryEntities other than checkoutTransactions as well as orders that do exist but for which the two security fields are incorrectly set.

Can I respectfully request that this thread *not* be used for general checkout issues, but specifically for problems in 0.4.1 relating to new features, or which you are otherwise satisfied are not present in 0.4.0 and earlier releases? I'm very happy to discuss general checkout issues in new threads.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2008-10-04 12:56

I just had a very odd and unexpected result on upgrading a website from checkout 0.4.0 to 0.4.1. After the upgrade, on using the 'continue to checkout' button there was an error generated (missing object) each time. Deactivating and reactivating the checkout module has cleared the error. I'd appreciate some feedback from anyone upgrading as to whether this occurs for them, or if it was just a glitch in my site alone.

Thanks

 
winkypicker
winkypicker's picture

Joined: 2003-01-21
Posts: 117
Posted: Sun, 2008-10-05 10:13

I just upgraded from version 0.4.0 to 0.4.1 and now it appears to be broken - I get the following error page after I have added items to the cart and clicked Continue to Checkout.

Security Violation

The action you attempted is not permitted.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER)

* in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 39 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 2361 (GalleryEntityHelper_simple::loadEntitiesById)
* in modules/checkoutpaypal/classes/CheckoutPaypalHelper.class at line 51 (GalleryCoreApi::loadEntitiesById)
* in modules/checkoutpaypal/classes/CheckoutPaypalPaymentPlugin.class at line 101 (CheckoutPaypalHelper::getPaypalItems)
* in modules/checkout/classes/CheckoutInterfaceHelper.class at line 72 (CheckoutPaypalPaymentPlugin::getVariables)
* in modules/checkout/Confirm.inc at line 381 (CheckoutInterfaceHelper::getPaymentPlugins)
* in modules/core/classes/GalleryView.class at line 293 (ConfirmView::loadTemplate)
* in main.php at line 465 (GalleryView::doLoadTemplate)
* in main.php at line 104
* in main.php at line 88

System Information
Gallery version 2.3-rc-2
PHP version 5.2.4 apache2handler
Webserver Apache/2.0.61 (Unix) mod_ssl/2.0.61 OpenSSL/0.9.8b FrontPage/5.0.2.2635 mod_bwlimited/1.4 mod_auth_passthrough/2.1 PHP/5.2.4
Database mysqlt 4.1.22-standard
Toolkits SquareThumb, ImageMagick, NetPBM, Gd
Operating system Linux 2.6.18-92.1.13.el5 #1 SMP Thu Sep 4 03:51:01 EDT 2008 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3

 
winkypicker
winkypicker's picture

Joined: 2003-01-21
Posts: 117
Posted: Sun, 2008-10-05 10:15

Also, am I just being dumb, or is there no "view shopping cart" button/option? If not, then can we see this as an urgent requirement for what has developed into a great plugin?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sun, 2008-10-05 22:21
Quote:
Also, am I just being dumb, or is there no "view shopping cart" button/option? If not, then can we see this as an urgent requirement for what has developed into a great plugin?

No, you're not being dumb - there just never has been a bare "view shopping cart" option, which I guess is a bit odd, when you look at it. Mostly I think people use the 'cart contents' block, or whatever it's called, that has a 'view cart' link.

It's on the list for consideration. EDIT: I think it might be sensible to move the "Order Admin" link out of the admin pages, too, so there would be two new systemLinks: 'view cart' for everyone, and 'Admin Orders' for admins only.

@winkypicker: thanks - can you i) make sure you're at the latest version of checkoutpaypal from the repository and then ii) upload the attached file into your checkoutpaypal/classes/ directory, and let me know if that clears the error?

 
mbrown

Joined: 2008-04-23
Posts: 20
Posted: Mon, 2008-10-06 11:53

Hi Alec,

1. I would like to upgrade, but will I lose all of my orders as I did last upgrade? If so, I will have to wait for a while for things to slow down before doing that.

2. Also did you have a think about the "reports" or output to csv that we can import into our accounting software.

Ideally it would show the following:

- All Customer Details (name, address, phone, email etc)

- All Products ordered with prices and Qty's

- Freight (postage)

- Any Comments made on the order.

3. Also has anybody else noticed that no Paypal orders ever have a phone number on them? I haven't investigated yet if the clients are entering it, and it's getting lost on the way back, or it just isn't in Paypal to start with.

4. Wish list items:
- A few custom fields that we can have in the checkout area for extra information.
- Clickable Product Configuration options (i.e frame type, matt colour, add plaque etc) <<That's a big one I know, but hey it is a Wish List :-)

Cheers
Mike Brown
Photoworx

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-10-06 12:27

Hi Mike,

Quote:
Hi Alec,

1. I would like to upgrade, but will I lose all of my orders as I did last upgrade? If so, I will have to wait for a while for things to slow down before doing that.

As with all checkout upgrades since version 0.1.0 there's no deliberate reason why you should lose your orders. Did you have to uninstall the module and reinstall it last time? I've upgraded fine, myself, on my live site.

Quote:
2. Also did you have a think about the "reports" or output to csv that we can import into our accounting software.

Ideally it would show the following:

- All Customer Details (name, address, phone, email etc)

- All Products ordered with prices and Qty's

- Freight (postage)

- Any Comments made on the order.

I did think about it. It would be easily done as an add-on module - would you like to write it? I myself have a custom module that looks up the relevant data from the db and exports it via xml which is queried via some vbscript in excel. It's not hard. Or you can cheat and write a custom mySQL query and get the data from the db via ODBC drivers, if your hosting provider permits external access to your MySQL. (In fact, you can put the entire checkouttransaction table up in access, or excel, if you want. Best to do it read only, for safety, though.)

Quote:
3. Also has anybody else noticed that no Paypal orders ever have a phone number on them? I haven't investigated yet if the clients are entering it, and it's getting lost on the way back, or it just isn't in Paypal to start with.

I get phone numbers included with paypal orders. You have to enable the 'ask for phone number' options in your paypal settings.

Quote:
4. Wish list items:
- A few custom fields that we can have in the checkout area for extra information.
- Clickable Product Configuration options (i.e frame type, matt colour, add plaque etc) <<That's a big one I know, but hey it is a Wish List

Cheers
Mike Brown
Photoworx

Suggestions always welcome. With your clickable product configurations, have a think about how it gets configured - if you can mock up an admin page for selecting all these options then that would help. Can you start a new thread, if possible, too?

 
helaku

Joined: 2007-04-29
Posts: 51
Posted: Tue, 2008-10-07 04:38

Hi Alec, I've just upgraded checkout from 0.4.0 to 0.4.1 which went smoothly, except I had the same Continue to Checkout error as winkypicker (see attached).

I checked whether I had the latest Checkout by Paypal installed which appears to be the case: 0.4.0 (build 1631).

I then installed the file from CheckoutPaypalHelper.zip you provided above which successfully resolved the problem.

As always, a big thank you for continuously improving Checkout!

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-10-07 06:36

helaku:

Thanks.

I've updated the repository with the fix for checkoutpaypal, but (for some reason I don't understand, possibly nothing to do with checkout etc) it hasn't updated the downloadable yet. Should be looking for r1653 of checkoutpaypal, when the GMC system gets working again.

 
mbrown

Joined: 2008-04-23
Posts: 20
Posted: Wed, 2008-10-08 02:48

Hi Alec,

I will start a new thread for suggestions, as far as me writing the code for the report thing, you have experienced my coding skills first hand :-P. I will have a play with some of the ideas you have though.

I had a look at your site it's pretty cool. Maybe you should design an out of the box solution for Photographers to sell event photos, and market it....I'd buy it.

Mike

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Wed, 2008-10-08 06:18
Quote:
I had a look at your site it's pretty cool.

Thanks - but remember, it's 'just' Gallery!

 
winkypicker
winkypicker's picture

Joined: 2003-01-21
Posts: 117
Posted: Fri, 2008-10-10 06:52

Hi,

I've been away for a few days. Thanks for uploading the zip, but I installed the repository upgrade instead and this seems to have done the trick. Thanks ever so much.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-10-10 08:27
Quote:
Thanks for uploading the zip, but I installed the repository upgrade instead and this seems to have done the trick.

That'll be because I put the same change on the repository ;-)

Glad it works, and sorry for the inconvenience.

 
thisisglen

Joined: 2008-02-12
Posts: 25
Posted: Mon, 2008-10-20 11:19

Hi Alec,

Great work on the latest version of the plugin. I have one small problem - for some reason, once I add postage to an order the preview gets a [render error] line beside the images that are in the cart when you resume shopping / continue to browse through the gallery.. It looks like this:

[img]http://www.nsphoto.com.au/proofs/Render%20Error.JPG[/img]

Any ideas? Maybe I broke something? But I don't think I've changed anything to do with that! Thanks once again.

 
thisisglen

Joined: 2008-02-12
Posts: 25
Posted: Mon, 2008-10-20 11:25

Turns out that I broke it. Great Job Alec as usual.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-10-20 11:25

Glen,

I'm going to guess that you're using a local/ modification of the modules/checkout/templates/blocks/ShowCart.tpl template which you'll need to update from its original, which was modified in 0.4.1.

 
thisisglen

Joined: 2008-02-12
Posts: 25
Posted: Mon, 2008-10-20 12:22

You were right on, I had a local folder there causing the problem.

One more question. I have searched all through the code but I can't find where to change the order of the payment plugins that appear on 'confirm' page. I changed it on the older version so PayPal could be the first option, then checkout by email. But I can't seem to find where to change it now.

Thanks in advance.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-10-20 12:32

There isn't actually a simple way of changing it, I think it depends on what order they were installed - but even then it's not guaranteed.

I'll add that to the wish-list for the next version (along with a show cart systemLink)

 
thisisglen

Joined: 2008-02-12
Posts: 25
Posted: Mon, 2008-10-20 12:35

Sweet. I just de-activated and re-activated checkout by email and it went down to the bottom. Thanks.

 
thisisglen

Joined: 2008-02-12
Posts: 25
Posted: Mon, 2008-10-20 21:44

I'm getting an error when I return from a paypal transaction by clicking the 'return' button following completion of the payment. It give me this:

Security Violation
The action you attempted is not permitted.

Back to the Gallery

Error Detail -
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/GalleryController.class at line 158 (GalleryCoreApi::error)
in main.php at line 189 (GalleryController::loadController)
in main.php at line 94
in main.php at line 83
System Information
Gallery version 2.2.4
PHP version 5.2.4 cgi
Webserver Apache/1.3.41 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_perl/1.30 mod_ssl/2.8.31 OpenSSL/0.9.7a
Database mysqli 5.0.51a-community
Toolkits SquareThumb, ImageMagick
Operating system Linux fox.us.hosting-server.com.au 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 26 14:30:58 EDT 2007 i686
Browser Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506)

Not sure if it's a recent thing (with the update) or not. I have added some extra information to my Order Status template and would really like it if my paypal clients got returned to that page. Is that what's supposed to happen?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-10-20 22:02

what's the url it's trying to load, that gives the error?

 
thisisglen

Joined: 2008-02-12
Posts: 25
Posted: Mon, 2008-10-20 22:30
 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-10-20 22:41

The controller is now actually called Complete, not OrderComplete, so I suspect you've got an old template, with the wrong url structure to pass through to paypal. In fact it must be checkoutpaypal/templates/Payment.tpl.

You need to upgrade the checkoutpaypal module at the same time, in other words. Or look for local/ versions of that, etc.

 
thisisglen

Joined: 2008-02-12
Posts: 25
Posted: Mon, 2008-10-20 23:13

Again, thanks alec. I should really clean up my mess before upgrading!

 
stevenhale

Joined: 2008-11-13
Posts: 8
Posted: Thu, 2008-11-13 14:57

I'm new to checkout and having some trouble getting it working.

I've got the latest gallery2 installed, and the only commerce plugins I have installed are Checkout and Checkout by Paypal. Cart is not installed.

I haven't setup the paypal section yet, I'm still working on the basic shopping cart. It appears to be working, but either something is not quite right or I don't understand how to use it. I can click on an album or a photo and select "Add to Cart". It then takes me to the cart. If I click "Continue Shopping", how do I get back to the cart without adding something else? There doesn't seem to be a "View Cart" or "Checkout" button?

If I turn off the feature to automatically go to the cart after adding something, then there doesn't seem to be any way to get to the cart or checkout at all??

When I do add something to the cart, how do I make the default quantity to be set to one? At the moment if I add twenty photos, I then have to manually enter a value for every single photo.

Any help would be appreciated.

My gallery is http://www.stevenhale.co.uk but I haven't yet added permission for guests to use the checkout.

Thanks!

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-11-13 15:05
Quote:
There doesn't seem to be a "View Cart" or "Checkout" button?

Add the 'cart contents' block to your theme settings. It has a link. Butyou're right - 0.4.1 doesn't have a view cart systemLink, but 0.4.2 does. Funny - the module's not had such a link for two years, now everyone seems to be asking for it. Anyway, in a couple of days you'll have a version of checkout that does.

@default quantity: use the default quantity column (in the product definition table in the Admin page) to set the initial quantity for which ever products you like.

 
stevenhale

Joined: 2008-11-13
Posts: 8
Posted: Thu, 2008-11-13 19:25

I'm sorry, I'm not that familiar with gallery. I've been reading all the help files but I cant quite see how to add a block to a theme. I'm using the standard matrix theme. Which file do I have to edit?

Found the initial quantity setting - thanks!

 
stevenhale

Joined: 2008-11-13
Posts: 8
Posted: Thu, 2008-11-13 20:12

Also, checkoutemail doesn't send any email? I can change the state of an order through the "Checkout Orders" tab, but when I click "Re-confirm order" or "Send Admin Notification" I don't receive anything.

The test email from the Gallery "General" tab works fine.

 
stevenhale

Joined: 2008-11-13
Posts: 8
Posted: Thu, 2008-11-13 20:33
stevenhale wrote:
Also, checkoutemail doesn't send any email? I can change the state of an order through the "Checkout Orders" tab, but when I click "Re-confirm order" or "Send Admin Notification" I don't receive anything.

The test email from the Gallery "General" tab works fine.

Ahh... I didn't have the email set up in the main checkout module. I assumed it used the standard Gallery settings.

I've changed the initial quantity for three print sizes, but now when I add a photo to the cart it adds one of EVERY print size! How do I get the user to choose the size they want first?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-11-13 23:39
Quote:
I assumed it used the standard Gallery settings.

It does; but Gallery standard settings aren't sufficient, given the different email options. Please - do work through the the full set of admin page options!

Quote:
I cant quite see how to add a block to a theme

Go to your admin->themes page and look at the different things you can add: see "Blocks to show on Album pages" and "Blocks to show on Photo pages" etc etc.

Quote:
I've changed the initial quantity for three print sizes, but now when I add a photo to the cart it adds one of EVERY print size! How do I get the user to choose the size they want first?

Well, the initial quantity, is, um, the initial quantity. If you set the initial quantity for *each* print size to be 1, then, yes, that's what get's added to the cart - 1 of each size. That's how it's supposed to work.

Quote:
How do I get the user to choose the size they want first?

I don't think I understand what you're after here. At least the only answer to this I can think of, is "leave the initial quantity for all products at zero - then the customer enters the quantity they want against the size or sizes they want in the traditional way"

If you're asking if it's possible to have a default quantity of, say 5, but still let the customer choose which product that quantity of 5 applies to - then, no, you can't do exactly that without some reprogramming. To be honest, I can't really see why that would be a useful thing to be able to do!

 
stevenhale

Joined: 2008-11-13
Posts: 8
Posted: Fri, 2008-11-14 11:51
alecmyers wrote:
It does; but Gallery standard settings aren't sufficient, given the different email options. Please - do work through the the full set of admin page options!

I am working through the admin page - but it's not exactly self explanatory in some parts!

It's taken me ages just to get it to send me an email when an order is placed. Is it right that I have to manually enter my own email address in the list or is something not working properly? I would have assumed that it would automatically send a copy of all messages to the default admin email address.

Quote:
Go to your admin->themes page and look at the different things you can add: see "Blocks to show on Album pages" and "Blocks to show on Photo pages" etc etc.

Okay I've found that now, thanks. I've added the Shopping Cart Info to the Side Bar and I now have a "Go to Checkout" button. Now that I've got that setup, you're right it doesn't need a View Cart system link.

Quote:
Well, the initial quantity, is, um, the initial quantity. If you set the initial quantity for *each* print size to be 1, then, yes, that's what get's added to the cart - 1 of each size. That's how it's supposed to work. I don't think I understand what you're after here. At least the only answer to this I can think of, is "leave the initial quantity for all products at zero - then the customer enters the quantity they want against the size or sizes they want in the traditional way". If you're asking if it's possible to have a default quantity of, say 5, but still let the customer choose which product that quantity of 5 applies to - then, no, you can't do exactly that without some reprogramming. To be honest, I can't really see why that would be a useful thing to be able to do!

The problem I have is this: I have it set so that when a user adds a whole album to the cart it treats it as seperate images. If I add an album containing 100 images to the cart, with no default quantity set, I have to manually enter a size and quantity for every one of the 100 images! Then I have to select the paper type for all of them as well. Is it possible for a user to add whatever images they want to the cart, and then just say I want one 7x5 gloss of each or whatever they want?

The system at the moment seems to be designed for just ordering one or two prints at a time, not bulk orders?

I suppose I could turn off the treat albums as seperate images option, and have a different set of products just for albums. But then I would need different products for every album based on the different number of images. Plus doing this wouldn't help if a user adds 20 images from different albums - they would still have to manually select a product for every one of them.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2008-11-14 11:58
Quote:
but it's not exactly self explanatory in some parts!

Tell me which bits - particularly, if, having understood something, you can word the text better to make it more obvious. (Your contributions will be appreciated!)

Quote:
Is it right that I have to manually enter my own email address

yes

Quote:
I would have assumed that it would automatically send a copy of all messages to the default admin email address.

The email address for the gallery administrator might not be the same address as the person who receives notifications about the orders. In my case, I have them sent to a separate address so my email client can sort them very easily. I'll look and see if the first two options in that table can be "send to customer's email address" and "send to site administrator's address". \

EDIT: I'm being dumb. The gallery administrator doesn't have an email address configured - there's a FROM address in the config page, but that's not necessarily a live email address that reaches the gallery administrator. It's just as likely to be a "noreply@not-my-real-domain.com".

Quote:
Now that I've got that setup, you're right it doesn't need a View Cart system link.

It's going to get one though, very soon - just to make things easier!

Quote:
Is it possible for a user to add whatever images they want to the cart, and then just say I want one 7x5 gloss of each or whatever they want?

Technically yes. The best place would be on the 'select' page - maybe there could be a "set quantity for all images" somewhere. It would help if you could consider how/where on that page it could be.

Quote:
The system at the moment seems to be designed for just ordering one or two prints at a time, not bulk orders?

That's correct.

 
stevenhale

Joined: 2008-11-13
Posts: 8
Posted: Tue, 2008-11-18 13:41
alecmyers wrote:
Tell me which bits - particularly, if, having understood something, you can word the text better to make it more obvious. (Your contributions will be appreciated!)

The main thing I think needs more explanation is the initial quantity thing. It's not initial quantity, it's default product. If I set an initial quantity for one product, then add something to the cart, it actually adds a default product with that quantity. To be honest I don't really see the point of initial quantity being anything other than one - in what situation can I ever reliably predict how many items and what type my customer wants to purchase?

I would like it so that when a customer chooses a product, it automatically puts a "1" in the quantity box. They're always going to want at least one, otherwise they wouldn't have selected the product. It's just as easy for them to increase the quantity, and saves the hassle of having to manually type a "1" into every box.

Quote:
Technically yes. The best place would be on the 'select' page - maybe there could be a "set quantity for all images" somewhere. It would help if you could consider how/where on that page it could be.

At the moment there are two ways of emptying the cart. You either click "Empty Cart" or click the tick box on every image then click save. The "Empty Cart" button is unnecessary and really should be a "Select All" button. Then instead of having a "Select Product" drop down for every item, you just have one drop down that is applied to all ticked items. So you can either tick one image at a time, or any number of images, and select a product.

I've been playing a little with the special offer fuction. Would it be possible to add a feature to limit a special offer code to a specific album? Also, I think it would be better if the offer code wasn't case-sensitive.

This really is a great plugin!

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-11-18 14:13
Quote:
To be honest I don't really see the point of initial quantity being anything other than one - in what situation can I ever reliably predict how many items and what type my customer wants to purchase?

You can increase your sales by, for instance, having an initial quantity of two - especially if (using one of the ancillary modules) you set a lower unit price for two. So - two for £12, one for £8. If the customer *really* only wants one then let them change it, but you'd be surprised the psychological effect of having a default of two.

Quote:
I would like it so that when a customer chooses a product, it automatically puts a "1" in the quantity box.

How else does a customer currently choose a product except by putting 1 in the box? I'm not understanding you.

Quote:
At the moment there are two ways of emptying the cart. You either click "Empty Cart" or click the tick box on every image then click save. The "Empty Cart" button is unnecessary and really should be a "Select All" button. Then instead of having a "Select Product" drop down for every item, you just have one drop down that is applied to all ticked items.

Mock-up a photoshop version of the page, and show me how you'd like it to look.

Quote:
Would it be possible to add a feature to limit a special offer code to a specific album?

Technically, yes. Describe in detail the administrator interface for this. There is plenty of scope in the code to add plugins that implement different/more complex discount code behaviour, so I'm reluctant to burden the majority of users with it; if someone wants to write such a module to match their own requirements I'm happy to help out where I can.

Quote:
Also, I think it would be better if the offer code wasn't case-sensitive.

Agreed. I'll change it in 4.2, which I'm hoping somebody (anybody?) will help me with by trying the upgrade - the beta version is here: http://gallery.menalto.com/node/83562

 
stevenhale

Joined: 2008-11-13
Posts: 8
Posted: Tue, 2008-11-18 15:02
alecmyers wrote:
You can increase your sales by, for instance, having an initial quantity of two - especially if (using one of the ancillary modules) you set a lower unit price for two. So - two for £12, one for £8. If the customer *really* only wants one then let them change it, but you'd be surprised the psychological effect of having a default of two.

Okay I can see that point. But I'd still like to be able to have an initial quantity without a default product. For example, at the moment I might set an initial quantity of 2 for a 7x5 print. So a customer adds an image, and two 7x5s get added to the cart automatically.

But what if my customer wants a 10x8? Now they have to remove the 7x5s, and add the 10x8.

Quote:
How else does a customer currently choose a product except by putting 1 in the box? I'm not understanding you.

First they have to add a product from the drop-down list. This adds the product with an empty quantity box. Presumably since the customer clicked that product they want at least one, so it would be nice if that quantity box already had a one in it - or whatever is set for the initial quantity for that product.

Quote:
Mock-up a photoshop version of the page, and show me how you'd like it to look.

Okay, I'll have a go at that.

Quote:
Describe in detail the administrator interface for this.

I think the best way for album-specific offers is just to have a special-offers section on the album-edit page, in the same way you have image-specific products on the image-edit page.

Quote:
Agreed. I'll change it in 4.2, which I'm hoping somebody (anybody?) will help me with by trying the upgrade - the beta version is here: http://gallery.menalto.com/node/83562

I haven't put the plugin into production yet so sure, I'll have a look at the beta version.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Tue, 2008-11-18 15:08
Quote:
But what if my customer wants a 10x8? Now they have to remove the 7x5s, and add the 10x8.

If you use the "cart contents" block it has an individual link for every product. The customer can use the 10x8 link, and add the 10x8 directly all in one step.

Again, it's psychology - the more clicks between you and the customers money, the less of that money you see. Since 90% of my sales are one item, that's the one I have as a default. If that doesn't suit you then set the initial quantity to zero ... really I'm not sure how much more flexible it could possibly be!

Quote:
First they have to add a product from the drop-down list. This adds the product with an empty quantity box.

No they don't ... put '1' in the quantity box adjacent to the drop-down, choose the product from the drop-down, and that's what's added to the cart. You don't need to do it in two stages.

Alternatively, don't use the drop down list, then they can set the quantities for multiple products all in one go.

Quote:
I'll have a look at the beta version.

Thanks - please comment in that thread.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Wed, 2008-11-19 18:49
Quote:
I would have assumed that it would automatically send a copy of all messages to the default admin email address.

Version 0.4.2 now automatically configures the email address of the person installing the module as the first listed email address to send to. That can be changed from the configuration page, but it's one fewer thing to set up when first you install checkout.

 
ultravista

Joined: 2006-10-08
Posts: 121
Posted: Thu, 2008-11-20 05:37

Alec, I would like to say thank you for your hard work and efforts creating a great module.

 
DragonMistress

Joined: 2008-11-28
Posts: 9
Posted: Fri, 2008-11-28 21:54

I'm getting the following error when "Continue to Checkout" is clicked:

Security Violation
The action you attempted is not permitted.

Back to the Gallery

Error Detail -
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 39 (GalleryCoreApi::error)
in modules/core/classes/GalleryCoreApi.class at line 2259 (GalleryEntityHelper_simple::loadEntitiesById)
in modules/checkoutpaypal/classes/CheckoutPaypalHelper.class at line 51 (GalleryCoreApi::loadEntitiesById)
in modules/checkoutpaypal/classes/CheckoutPaypalPaymentPlugin.class at line 101 (CheckoutPaypalHelper::getPaypalItems)
in modules/checkout/classes/CheckoutInterfaceHelper.class at line 72 (CheckoutPaypalPaymentPlugin::getVariables)
in modules/checkout/Confirm.inc at line 381 (CheckoutInterfaceHelper::getPaymentPlugins)
in modules/core/classes/GalleryView.class at line 300 (ConfirmView::loadTemplate)
in main.php at line 445 (GalleryView::doLoadTemplate)
in main.php at line 94
in main.php at line 83
System Information
Gallery version 2.2.6
PHP version 5.2.4 apache
Webserver Apache
Database mysqlt 5.0.51a-community
Toolkits ImageMagick, Thumbnail, NetPBM, Gd
Operating system Linux yoda.snhdns.com 2.6.18-92.1.6.el5 #1 SMP Wed Jun 25 13:49:24 EDT 2008 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

Can someone please help with this??? I'm totally stumped and need to get this fixed ASAP for a client.

 
Burnouts

Joined: 2007-01-31
Posts: 34
Posted: Mon, 2008-12-01 06:59

Bloody well done for this mod, It has saved me hours of time writing up emails for photo orders.. I only just found it!

Thanks!!!

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2008-12-01 14:27

Hi DragonMistress,

First please make sure you're up-to-date with all current versions of the various checkout modules by refreshing your get-more-plugins page and updating to the latest versions of the code.

Then describe your checkout installation and which modules you're using.

Quote:
Can someone please help with this??? I'm totally stumped and need to get this fixed ASAP for a client.

There's only one level of service available, "executive-deluxe", it's totally free, and provided equally to all who need it, whether for themselves, or for fee-paying clients.

 
SellingCR

Joined: 2008-05-23
Posts: 3
Posted: Thu, 2008-12-11 21:55

I am at a complete loss on how this is suppose to work because i have been trying and trying but I constantly get the same error over and over.

Security Violation
The action you attempted is not permitted.

So I have a few questions.

1.) With "Checkout" installed do I need "Cart" installed or are they performing the same job and redundant?
2.) What are the "permissions" suppose to be for the central gallery with all the sub galleries underneath it? (www.crwildlife.com)
3.) I only need the one option of buying using Paypal therefore the only modules I need to install are "Checkout 0.4.2" and "Checkout by Paypal 0.4.0" correct?

I ask that any members that might know if you could be so kind as to help out cause I have a deadline by Friday to have this up and running. Pura Vida y muchas gracias!

SellingCR - Costa Rica,Dominical,Uvita,Jaco,Quepos and other areas of the south pacific.
http://www.sellingcr.com

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-12-11 22:11

@SellingCR: all your questions are answered in the module instructions at http://codex.gallery2.org/Gallery2:Modules:checkout

 
SellingCR

Joined: 2008-05-23
Posts: 3
Posted: Thu, 2008-12-11 22:49

Thank you very much for pointing me in the right directions. Appreciate it.

PS: my only concern will be that error but I assume you would have told me if the directions the page you sent me to doesnt fix this error.

SellingCR - Costa Rica,Dominical,Uvita,Jaco,Quepos and other areas of the south pacific.
http://www.sellingcr.com

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Thu, 2008-12-11 23:30

You didn't say how you triggered the error, or give any of the details about your installation, or anything useful at all. So it's not possible for me to say anything intelligent about the error.

 
SellingCR

Joined: 2008-05-23
Posts: 3
Posted: Sat, 2008-12-13 16:54

Thanks again for the tips above they worked like a charm.

SellingCR - Costa Rica,Dominical,Uvita,Jaco,Quepos and other areas of the south pacific.
http://www.sellingcr.com

 
brujji

Joined: 2007-02-11
Posts: 47
Posted: Sat, 2008-12-13 18:40

Hey Alec, I'd love to have a look at your website too, it sounds like a good example to follow. Would you mind posting the url?

thanks
Ana

 
DragonMistress

Joined: 2008-11-28
Posts: 9
Posted: Mon, 2008-12-22 19:59

Hi Alec,
I'm using the most up to date versions of both checkout(4.1) and paypal checkout(4.0). I have granted the necessary permissions but am still recieving the following error when I click "checkout"

Security Violation
The action you attempted is not permitted.

Back to the Gallery

Error Detail -
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 39 (GalleryCoreApi::error)
in modules/core/classes/GalleryCoreApi.class at line 2259 (GalleryEntityHelper_simple::loadEntitiesById)
in modules/checkoutpaypal/classes/CheckoutPaypalHelper.class at line 51 (GalleryCoreApi::loadEntitiesById)
in modules/checkoutpaypal/classes/CheckoutPaypalPaymentPlugin.class at line 101 (CheckoutPaypalHelper::getPaypalItems)
in modules/checkout/classes/CheckoutInterfaceHelper.class at line 72 (CheckoutPaypalPaymentPlugin::getVariables)
in modules/checkout/Confirm.inc at line 381 (CheckoutInterfaceHelper::getPaymentPlugins)
in modules/core/classes/GalleryView.class at line 300 (ConfirmView::loadTemplate)
in main.php at line 445 (GalleryView::doLoadTemplate)
in main.php at line 94
in main.php at line 83
System Information
Gallery version 2.2.6
PHP version 5.2.8 apache
Webserver Apache/1.3.41 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.8b
Database mysqlt 5.0.51a-community
Toolkits ImageMagick, Thumbnail, NetPBM, Gd
Operating system Linux yoda.snhdns.com 2.6.18-92.1.18.el5 #1 SMP Wed Nov 12 09:30:27 EST 2008 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)