PDA

View Full Version : osC few questions that don't come up on a search


Tiki Man
12-26-05, 07:20 AM
Greetings.

I had a busy lead up to Christmas with one of the oscommerce sites I created for a family member & now that the rush is over there are some features I would like to perfect/ fix on the site.
http://giftbaskets.net.au

When order confirmations are sent to customers + the extra one to the store owner, html formatting of & and " appear as & " which is putting off some clients. They are typing in a message to appear on the card for a giftbasket & don't understand that we know what they mean.
Can this be rectified so it's WYSIWYG?

In osCommerce the are 2 address fields, I have made on of them a recipient's phone number field in the english.php file.
Is there an easy way to move this field to the top of the list ie. up one more spot above address?
I am running PWA as well so I may need to alter tables & php file to reflect this change.

The other thing that has me baffled is when updating the order status in the admin CP from pending to processing, processing to delivered, the client receives a blank email, however the title is correct. I have checked all the files that I think are associated for "missing" lines or similar but all seems ok.
Is this a setting in the database out of whack ?


Gerry

stevel
12-26-05, 08:00 AM
I don't have time to provide full research for you, and I'll be out of town the next few days, but...

1. Can it be made nice-looking? Yes, I've done this for my site. Easily? No. The standard osC can send text mail only. With some tweaking you can get it to send HTML mail, but you then have to modify the code that creates the message to create text and HTML versions and send both parts. There's lots of threads on this over at the osCommerce forum.

2. In any of the pages where the user enters address fields, you can rearrange them to your heart's content. Each one is in a <tr><td> block. Just shuffle these around. Be aware that some parts of osC will try to format this field as an address.

3. Can't really help with that one other than you have to dig in and debug. Look at the code in orders.php that creates and sends the mail and add debugging code to show you what it is doing.