Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

CHECK OUT WITHOUT ACCOUNT


hostmedia

Recommended Posts

I want to give my customers the option of not registering to check out.

I have found and downloaded the contribution by Mike at:

http://www.oscommerce.com/community/contri...ions,355/page,7

 

The problem is that I don't know anything about PHP and I have placed

all the files in the places they are suppose to go based on the readme file.

 

Where I get confused is where he wanted changes made in some files.

like application_top.php and other files without being specific about the changes. Am I suppose to copy those codes and place them where??

on these files. Am I suppose to remove something or replace something

with those.

 

Here is the instruction I am having problem with:

 

----------------------------------------------------------------------------------

You need to open some files and add some lines also, follow the instructions below and you should be ready in no time.

 

****************************************************************

 

OPEN AND MAKE CHANGES IN THIS FILE: /catalog/includes/application_top.php

 

//Begin Checkout Without Account Modifications

define('FILENAME_CHECKOUT', 'Order_Info.php');

//End Checkout Without Account Modifications

 

***************************************************************

 

OPEN AND MAKE CHANGES IN THIS FILE: /catalog/includes/languages/english.php

 

/*Begin Checkout Without Account images*/

define('IMAGE_BUTTON_CREATE_ACCOUNT', 'Create Account');

/*End Checkout WIthout Account images*/

 

******************************************************************

 

OPEN AND MAKE CHANGES IN THIS FILE: /catalog/includes/languages/english/login.php

 

//Begin Checkout Without Account v0.55 changes

 

define('HEADING_CHECKOUT', '<font size="2">Proceed Directly to Checkout</font>');

define('TEXT_CHECKOUT_INTRODUCTION', 'Proceed to Checkout without creating an account. By choosing this option none of your user information will be kept in our records, and you will not be able to review your order status, nor keep track of your previous orders.');

 

define('PROCEED_TO_CHECKOUT', 'Proceed to Checkout without Registering');

 

//End Checkout Without Accuont v0.55 changes

 

******************************************************************

 

THAT'S IT!

 

Any help will be appreciated

Link to comment
Share on other sites

OPEN AND MAKE CHANGES IN THIS FILE: /catalog/includes/application_top.php  

 

//Begin Checkout Without Account Modifications  

define('FILENAME_CHECKOUT', 'Order_Info.php');  

//End Checkout Without Account Modifications  

What he's saying is to open each one of your existing files that is named (in the example above, /catalog/includes/application_top.php) and add the indicated lines to that file without overwriting anything.

 

//Begin Checkout Without Account Modifications

and

//End Checkout Without Account Modifications

are not actually code additions, they are just comments to help you identify where you've made a change. The "//" at the beginning of these lines prevents the php script from reading whatever follows it on that line.

So in this example, the only working code that is being added to your file is

define('FILENAME_CHECKOUT', 'Order_Info.php');

in other words, you're adding a definition for a new file named "Order_Info.php".

... if you want to REALLY see something that doesn't set up right out of the box without some tweaking,

try being a Foster Parent!

Link to comment
Share on other sites

Thanks Stuart.

 

I have added the info on the pages. I guess it doesn't matter

where on the pages I add the extra codes.

 

At first it looked good. I see the three choices

when I click on checkout - checkout, create account & sign in.

However when I clicked "checkout", it presents me with the

registration form instead. I was expecting to go straight

to checkout. What am I missing?

My site is at:

http://wholesalersnetwork.com/catalog/

 

Please Help.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...