[Checkout Module] having issues with [PG Theme]

umayr

Joined: 2006-03-03
Posts: 9
Posted: Sat, 2006-03-11 20:09

Greetings all,

I have installed PG theme 1.0.RC7 and the rest of the stuff you can see down below.

My problem
The current problem is for guests Checkout Module is not showing

I have deactivated the CART module, and have done god knows what to get this to work, it works under the admin module but i want it to be working for the generic users /guests.

you can check out my gallery at

www.zenvertigo.com/photography

please help


Gallery version = 2.0.3 core 1.0.0.3
PHP version = 4.4.1 cgi
Webserver = Apache/1.3.34 (Unix) mod_fastcgi/2.4.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a PHP-CGI/0.1b
Database = mysql 4.1.14-standard-log
Toolkits = Exif, SquareThumb, Thumbnail, ImageMagick
Operating system = Linux box5.bluehost.com 2.6.9-22.ELsmp #1 SMP Sat Oct 8 19:11:43 CDT 2005 i686
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7

 
kerryman
kerryman's picture

Joined: 2005-10-14
Posts: 130
Posted: Sun, 2006-03-12 23:56

umayr,
you need to simply replace word "cart" with "checkout" in couple of places in pgtheme tpl files. situation is different if you want to use both - cart AND checkout modules at the same installation.

for further instructions, go trough: http://gallery.menalto.com/node/33603

and make sure you have right permissions set.

kind regards, Chris

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Tue, 2006-03-14 09:55

Did this change actually work for you? If it did, would you be prepared to submit diffs (or copies) of the PGTheme files you changed so I can post them for other users? I'd quite like to get the change incorporated in the main release of PGTheme itself, so if I can package up the diffs nicely and make it easy for the author that would help things along...

 
kerryman
kerryman's picture

Joined: 2005-10-14
Posts: 130
Posted: Tue, 2006-03-14 10:41

Hi, turnbulm - I managed to fit theme tpl's to work with checkout, but in a quite noobie way. first, I replaced expression cart with checkout in couple of places but then comes the tricky part - I dont want to have standard cart operational at the same time - so I deactivated cart module. but the loop in tpl is checking if cart module is installed. I didn't managed to get rid of that checking properly - errors over and over again. So temporarily I changed loop IF checking cart being active or not. As long as cart is inactive, everything is working fine.
I understand, at some stage you are going to put both - cart and checkout working together in some way, so my "sollution" wouldn't work then.

but if you'd like to take a look at different tpls I can send them on priv.

kind regards, Chris

 
umayr

Joined: 2006-03-03
Posts: 9
Posted: Tue, 2006-03-14 11:39

well ive changed the theme.css file to have the .gbLink_checkout-AddtoCart and .gbLink_checkout-ViewCart . Then i turned on the cart module as well .. and voila it works :P lol beat this with anything more noobish