Checkout cart view screen mod

sooz123

Joined: 2006-02-16
Posts: 3
Posted: Fri, 2006-02-24 14:42

I need to add a static blurb at the top of the cart screen on Checkout. I presumed there'd be a php file somewhere that would address this screen but I can't find it if there is. Is there a file I can easily modify to add text to this page (and where would it be located?) or is this more major that it sounds?

Of course, if someone could just tell me if there's an easy way to make shipping optional without having to put it as a product option (which prompts this explaination at the top of how to set each order's shipping/in-store pick up) then I wouldn't have to do that ;)

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Fri, 2006-02-24 18:29

For the moment, you will need to edit modules/checkout/templates/selectproducts.tpl - there is no way to make shipping optional. It is on the feature list for the future, but I don't think it's going to be any time too soon. Sorry!

BTW - once you have edited the template, you may need to flusah your template cache - go to Site Admin -> Maintenance to do that.

 
sooz123

Joined: 2006-02-16
Posts: 3
Posted: Fri, 2006-02-24 21:26

Thanks a bunch... worked like a charm. I've never encountered TPL files so I didn't even think to try opening it in notepad. DOH! Thanks again!

(Although I'm ashamed to admit I wondered for a second what "Flusah" meant before the explaInation came to me in a flash ;-). We're a couple of fine typers, aernt' wE?) Double DOH!

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Fri, 2006-02-24 21:42

Oops - hadn't noticed the finger troubles!!! Glad it worked...

 
turnbulm

Joined: 2004-10-03
Posts: 431
Posted: Fri, 2006-02-24 21:44

Also if you create a folder called 'local' inside the templates folder, and put your modified .tpl files in there then they won't be overwritten when the next version of the module is released. Any templates in 'local' are always used in preference to the packaged ones - so bear in mind this also means you may need to merge in changes from the updates in any new version.