Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Hi.

 

I have installed this excellent contribution and have run into a couple of problems. First, I cannot get my store logo to display. I have made the required changes in the language files. My logo is in the catalog/images folder.

 

The other main problem is that when I change the invoice format in admin/email optiions, I can see no change in layout whatsoever!

 

I am very new to php, so any help would be much appreciated.

Posted

If your using IE...

 

You can sel;ect the option by going into: Tools > Internet Options > Advanced (tab)

 

Then... Just tick the box that says Print backgrounds and colors

 

Hope this helps

define('PROJECTS', 'Something that goes on forever!');

Posted
If your using IE...

 

You can sel;ect the option by going into: Tools > Internet Options > Advanced (tab)

 

Then... Just tick the box that says Print backgrounds and colors

 

Hope this helps

 

 

Thanks for that. Unfortunately(!) that option is already selected.

 

Thanks for your reply though.

 

Philip

Posted (edited)

OK, I know why then...

 

You need to have the logo in the admin directory:

yourshop.com/catalog/admin/images/your_logo.jpg

 

So just copy it over to the admin/images and you should have it displayed!

 

-KJ

Edited by Top_Speed

define('PROJECTS', 'Something that goes on forever!');

Posted
OK, I know why then...

 

You need to have the logo in the admin directory:

yourshop.com/catalog/admin/images/your_logo.jpg

 

So just copy it over to the admin/images and you should have it displayed!

 

-KJ

 

Thanks KJ< that did the trick!. I had uploaded the image into evey image folder I could think of, excepy that one!.

 

Can you shed any light on my other problem

 

Regards

 

Philip

Posted (edited)

DISPLAYING ORDER NUMBER FOR CUSTOMER UPON COMPLETION OF CHECKOUT

 

GOAL:

I wish to display the order number for the customer on the Order Confirmation Page (catalog/checkout_success.php). This would be placed after line 79:

 

<td valign="top" class="main"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?><div align="center" class="pageHeading"><?php echo HEADING_TITLE; ?></div><br><?php echo TEXT_SUCCESS; ?><br><br>

 

I added:

define('TEXT_YOUR_ORDER_NUMBER', 'Your order number is: ');

 

in catalog/includes/languages/english/checkout_success.php and propose to add the following line of code after line 79 in catalog/checkout_success.php:

 

<center><b><?php echo TEXT_YOUR_ORDER_NUMBER; ?><?php echo $oID; ?></b></center><br><br>

 

THE PROBLEM: While testing this code I found that I cannot display the order number using <?php echo $oID; ?>.

 

Here is what I get displayed: Your order number is:

 

I'm not sure how to retrieve the order number once the order is created after the customer clicks the "Confirm Order" button (located in catalog/checkout_confirm.php).

 

Any ideas?

Edited by aspenshops

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...