[SOLVED] [Checkout] Everything works except discounts

g.oliver

Joined: 2010-01-22
Posts: 6
Posted: Fri, 2010-01-22 22:28

Gallery version = 2.2.2 core 1.2.0.4
PHP version = 5.2.0-8+etch13 apache2handler
Webserver = Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8
Database = mysql 5.0.32-Debian_7etch6-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, LinkItemToolkit, Thumbnail, Gd
Acceleration = none, none
Operating system = Linux auckland.everycity.co.uk 2.6.20.4 #1 SMP Mon Apr 9 18:49:05 BST 2007 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1
Rows in GalleryAccessMap table = 23
Rows in GalleryAccessSubscriberMap table = 744
Rows in GalleryUser table = 2
Rows in GalleryItem table = 741
Rows in GalleryAlbumItem table = 15
Rows in GalleryCacheMap table = 0

Checkout version 0.4.3

My system is working well, including Checkout by Paypal. But I cannot get discounts to work. I have tried various settings and none of them result in discounts being applied.
Has anyone else had this problem?

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Fri, 2010-01-22 23:36

Discounts work fine. What are you putting in the discount settings? Post a screen shot.

 
g.oliver

Joined: 2010-01-22
Posts: 6
Posted: Sat, 2010-01-23 17:12

Attached is a screenshot. I have tried other settings too. Your advice will be most welcome.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sat, 2010-01-23 17:23

OK - leave those exact same settings, and sent me the url to your site; I'll see if I can earn that discount!

 
g.oliver

Joined: 2010-01-22
Posts: 6
Posted: Sun, 2010-01-24 13:08
 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sun, 2010-01-24 20:34

...and the problem is ....?!

 
g.oliver

Joined: 2010-01-22
Posts: 6
Posted: Sun, 2010-01-24 22:13

Thanks for showing it DOES work!

I had been testing it whilst logged in (as admin) and it doesn't apply the discount then.
Also I have just created a new user account and it doesn't seem to work if logged in.

Please try logging in as 'testuser' password 'secret' and see what does/doesn't happen.

This is no problem in my case because customers are not required to log in so the discounts will be applied as you have demonstrated.

Thanks very much for your help.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Sun, 2010-01-24 22:24
Quote:
Please try logging in as 'testuser'

That user doesn't appear to have permissions to view any images (nor does the guest user, any more) - however, after logging in and before clearing the cart I was able to activate the same discount. I'd post another screen shot but it wouldn't differ in any way from the previous.

There's nothing else I can think in Checkout that's user- or login- specific, unless you're using the checkoutgroups module. The only reason why some discount might not be available to users logged in would be something in the Criteria:Group column other than "Everybody".

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2010-01-25 01:44

OK, logged in, put some stuff in the basket, got the discount. Here's the screenshot (with the logout option, in case you don't believe me!)

 
g.oliver

Joined: 2010-01-22
Posts: 6
Posted: Mon, 2010-01-25 07:02

Oh yes!
A silly mistake on my part!
I had misunderstood the 'Min Images' column - this evidently means number of different products, not number of prints.
I should have put my 3 in the 'Min Products' column - which I have now done.

Incidentally, what does the 'Comp Postage' column do? Are there some guidance notes somewhere?

Many thanks for your excellent support, and excellent software.

 
alecmyers

Joined: 2006-08-01
Posts: 4342
Posted: Mon, 2010-01-25 11:25
Quote:
Incidentally, what does the 'Comp Postage' column do?

Complimentary (free) delivery.

Quote:
Are there some guidance notes somewhere?

There will be, as soon as you've written them. Create an account on the wiki and contribute to http://codex.gallery2.org/Gallery2:Modules:checkout.

 
g.oliver

Joined: 2010-01-22
Posts: 6
Posted: Mon, 2010-01-25 22:24

OK I will try and help.