Hello Gallery Forum,
I have an album which is populated with items that are able to be checked out.
When adding a single item it becomes a long task of having to go back through every other item and select the not visible option.
It has been sometime since I used the checkout modules but when I was using checkout 0.1.14 I'm sure that a single item entry "item name - price" in the local settings was all that was needed.
If this can't be done then is it possible to make all items added to the checkout as not visible(default) and then only needing to change the required visible item.
Or am I just doing something wrong in the way I'm adding items to checkout?
Thanks
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 4.4.8 cgi
Webserver = Apache 3 - nowhere
Database = mysqlt 4.1.22-standard-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Gd, Thumbnail
Acceleration = none, none
Operating system = Linux thor.instanthosting.com.au 2.6.9-67.0.7.ELsmp #1 SMP Wed Feb 27 04:48:20 EST 2008 i686
Default theme = matrix
gettext = disabled
Locale = en_US
Posts: 4338
Checkout 0.1.14 didn't have the visible/not visible option - all products were visible for all items.
The visible/not-visible setting is overridden on an "items take precedence over sub-albums that contain them, and sub-albums over their containing albums" basis.
So you can set it, per product, at (only) the album level for all items both directly in, and in sub albums in, that album. If you want to override that for individual items you can set the required setting for those items only.
The global default for any product is the setting in the checkout configuration page - make that "visible" and in the absence of any other settings for visibility, that product is visible for every item (and can be overridden to be invisible on an album, sub-album, or item basis as described.) Make the global setting "invisible" and the product will appear only where that "invisible" setting has been overridden to "visible", either at album, sub-album, or item level.
Overrides from the global setting can themselves be overridden to the opposite setting at a lower level in the album/sub-album/item hierarchy.
It doesn't make any difference whether you add items before or after products (excepting that obviously a per-item override can only be set after the item exists in the album structure).
If you want to remove a visibility setting at either album, sub-album or item level, tick the "remove local settings" box. You'll have to reapply other local settings.
And just for the sake of completeness, the "global" settings in the checkout configuration page are actually the same as the "local" settings on the root album. Which is why (if I remember right) there's no "remove local settings" on that page.
It does strike me that this is harder to describe than it ought to be...
Posts: 32
Hello Alec,
Its been a long road in regards to setting up Gallery2 and I can finally say that the checkout problem with adding items has happly disappeared after changing hosts.
It is as hard for me to explain what I'm trying to do here as it is for you to describe. From the post you made I think that what I'm doing is all that can be done.
"So you can set it, per product, at (only) the album level for all items both directly in, and in sub albums in, that album
The global default for any product is the setting in the checkout configuration page - make that "visible" and in the absence of any other settings for visibility, that product is visible for every item (and can be overridden to be invisible on an album, sub-album, or item basis as described.) Make the global setting "invisible" and the product will appear only where that "invisible" setting has been overridden to "visible", either at album, sub-album, or item level."
I've provided a link that has a couple of screen shots showing how I have configured global and local checkout settings. I have only one album from which products can be checked out and at this point it has about 36 items listed. You can see here how the items are listed in both the global and local settings and if I have listed them correctly.
Thanks
Posts: 4338
Ok, I think I see general source of your confusion.
Firstly nomenclature: in checkout-land, an Item is something that you upload to a gallery, typically a photograph. a Product is something that goes in the products table, like "8x10 print".
In your case, you're using checkout (and possibly Gallery too) in a way for which it's not designed. I see your products are not "Products" in the checkout sense but instead individual items each. Checkout was designed for "products" to be sizes of photograph, typically, with every item (photograph) in a gallery able to be purchased in each of those sizes. Checkout works by having the customer choose product-item combinations - that is, a particular photograph, in a particular size. The visible/invisible setting is so that the admin can choose that certain combinations are not available ("this photograph isn't available in 8x10 size") or alternatively that only certain combinaitions are available ("this photograph is only available in 8x10 size")
For photos, this works well: I have 20k photographs on my site, all of which are available in 5 sizes. A regular ecommerce site would probably require me to list each size for each photo - I'd therefore have a total of 100k different entries. With checkout I have only to upload the photographs (20k items) and provide a list of the 5 sizes (5 entries).
Checkout doesn't handle very well the more general eCommerce scenario of each item being a product in its own right (and why should it? it's designed to sell prints of photos, not computer parts, after all). You might be able to make use of the "accessories" feature, or otherwise look at a different ecommerce package. It's not that you can't use checkout/Gallery2 for what you want, but it's going to be awkward or difficult to set up and use, and won't feel right to your customers either - which will cost you sales and therefore $$$$.
Looking at your example also: if your global setting for a product is visible, there's no need to override it locally - make sure *both* radio buttons are empty. Only set a local setting if you want something other than what you set globally.
The only way to clear *both* radio buttons is to use the "remove local settings" box. I'm afraid there's no standard way to implement a Yes/No/Unset triple in a form which is what is needed; you can have yes/no (radio buttons) or on/off (checkbox), and I plumped for the former.
Posts: 32
Cheers Alec,
That has now help to clarify how the checkout module works.
My aim at this point is to only list items that are available through my wholesalers and not to provide a shop front as such. The few item I listed in the checkout are products that I have on my shelf at home and will not amount to much more than I have listed. I treat this as a casual after hours business and don't have the time to run a full on store. I think that for the few products I have the checkout module should work for me reasonably well. I have tried other software such as zencart but it is far to complex for what I need to do.
Thanks again for all your help.