URL: http://www.uburst.com/cgi-bin/dcforum/dcboard.cgi
Forum: ushop_place_order
Thread Number: 101
[ Go back to previous page ]

Original Message
"Continuing to nowhere"

Posted by TheSiliconKnight [perseus-7@home.com] on at 08:48 PM
I am using IE 5.5. My server is Unix and I am currently installing Ushop 3.3.

When I get to the order form, fill in the details and press continue nothing happens...

Any ideas?

-


Table of contents

Messages in this discussion
"RE: Continuing to nowhere"
Posted by Bill Weiner on at 06:15 AM
If you are getting all the way to the page where you fill out the order form... but then nothing happens when you press the "Continue" button on that page... then more than likely, the problem will be one of two things:

1) The URL that you configured for configuration question #4 ($secure_script_url) in the ushop.pl file is incorrect. (Make sure configuration question #4 is set to the full URL of your "ushop.pl" script... in fact, it should be the same URL that you are using for your uShopOrderButton applet's "script_url" parameter).

2) The < FORM > HTML tag on the "order_template.html" file accidentally got changed to lower-case. That is, take a look at your "order_template.html" file that is located in your cgi-bin's "data" directory and make sure that the FORM tag near the top of the template is:

< FORM >

and NOT:

< form >

(That particular HTML tag is case-sensative and should be UPPER-CASE).

So check those two things and if that doesn't resolve the problem, give me the URL and I will take a look at it.


"Continuing on...."
Posted by TheSiliconKnight [perseus-7@home.com] on at 04:53 PM
You were right about the form tag being re-inserted as lower case, and that gets me past that challenge.

The second challenge is I am receiving a 'Illegal Referrer Page' when I submit the order.

If you send me an email, I'll send the directory info.


"RE: Continuing on...."
Posted by Bill Weiner on at 05:56 AM
Are you getting the "Illegal Referrer Page" right after you press the "Continue" button on the first order form page? If so, the problem will usually be that the "script_url" parameter of your uShopOrderButton applet does not match configuration question #4 ($secure_script_url) in the ushop.pl script.

That is, make sure the URL that you are using as the "script_url" parameter of your uShopOrderButton applet MATCHES EXACTLY the URL that you configured for configuration question #4 in the ushop.pl script. (Ie. make sure they both start with "https", or make sure they both have "www" in the domain name, etc...)


"You've done this before."
Posted by TheSiliconKnight [perseus-7@home.com] on at 02:54 PM
I can see that you have come across these things before. Thank you for the help. My Ushop is now taking orders.

2 more things,

1 - How do I change the pale blue color that displays on the form tables into a red or something?

2 - The Catalog I've put together is for Exotic Animals and Pet food supply. The company I am designing for wants the sections to stay seperate, as they are processed and shipped seperately. Is it possible for ushop to wipe out the cart, if someone navigates to the beginning to go into the other section?

-Thank you, you guys are excellent.


"RE: You've done this before."
Posted by Bill Weiner on at 06:43 AM
Glad that worked for you ... and thanks for the nice compliment! :^)

In regard to your other questions:

1) The colors on the order form tables are configured via the "order_template.html" file (which is located in your "data" directory). So to change that default light blue color (#B3D9FF) on the order form, you would have to edit your "order_template.html" file - maybe do a search-and-replace on "#B3D9FF".

Note that editing the "order_template.html" file will allow you to change the colors (and other looks) of your order form.... with the exception of the colors/fonts of the HTML Shopping Cart that is also displayed during the order process. The colors/fonts of the HTML Shopping Cart can be controlled via the following parameters of the "uShopOrderButton" applet:

cart_font
cart_font_color
cart_background_color
cart_title_color
cart_title_font_color

See the uShop 3.0 Applet Reference for more information about the parameters of the uShopOrderButton applet.

2) The only way at this time to keep the shopping cart separate for different sections of your store is to use a different "classes" directory for each section of your store.... kind of like the same way we keep the uShop Applet References for the different languages of uShop separated in different directories:

http://www.uburst.com/uShop/applets.html

That is, you could setup the directory structure for your store like this:

- home
---- exotic_animals
------- classes
---- pet_food
------- classes

(So that each section of the store is using it's own "classes" directory)



"It works."
Posted by TheSiliconKnight [perseus-7@home.com] on at 05:10 PM
Thank you, it works great and I am taking orders.

Seeing as I have abused the tech service until now, I may as well ask about a modification I want to make.

Is it possible, that when pressing the Print button for fax or mail orders, that it could pop out of the frameset onto a fresh page??

Thanks, have a fantastic New Year


"RE: It works."
Posted by Bill Weiner on at 06:27 AM
Great! Now as for making sure that the "Print" button displays the print/fax page outside of any frameset, I believe that can be done by adding:

target="_top"

... to the < FORM > that is associated with the "Print" button.

Below are some instructions on how to modify the "ushop-lib.pl" file accordingly:

STEP 1: Make a backup of your current "ushop-lib.pl" file... just in case.

STEP 2: Open the file "ushop-lib.pl" with any text editor such as WordPad.

STEP 3: Do a search on the following line:

if ($settings[37] =~ /yes/i)

(There will be only one occurance of that line in the entire file.)

STEP 4: About 4 lines below that line, you will see the following line:

$ret_html .= "< FORM ACTION=\"" . $secure_script_url . "\" METHOD=\"POST\" >";

Add the target="_top" to the end of that line like this:

$ret_html .= "< FORM ACTION=\"" . $secure_script_url . "\" METHOD=\"POST\" TARGET=\"_top\" >";

STEP 5: Save the "ushop-lib.pl" file (as TEXT if your editor asks).... and try it out!


"I'm back"
Posted by TheSiliconKnight [theshadow-77@home.com] on at 07:14 PM
It's been awhile, but I finally decided to try this double catalog in one idea.

I'm getting the following error in the pet_food section,

"If you see this message, then there is probably a problem with your CODEBASE setting.
Error Code: U0003"

Interestingly enough, if I go to the exotic_animals section, tally up a few things and go back to the pet_food section, the leftside applet starts out fresh like we want. But after I have posted a few things and press the orderbutton applet, the items from the other side appear in the details. No error this time, but not doing what I want just the same.

I'm ready to jump out of my office window. (It's only 2 story's up though....)


"RE: I'm back"
Posted by Bill Weiner on at 06:41 AM
If the small shopping cart is starting out fresh each time... but the full shopping cart applet has items from your other catalog... then the problem probably has to do with your directory structure. That is, make sure that you have a separate shopping cart "details" page (i.e., a separate "View Cart" page) for each catalog.

An easy way to think of it is to imagine that you are setting up an entirely different store... but just in a different directory, such as:

- home
---- exotic_animals
------- html
------- classes
---- pet_food
------- html
------- classes

(Each directory has it's own "html" and "classes" directory.)

This will probably resolve your "codebase" error too. That is, make sure that the codebase on the "display_cart.html" page in your second catalog is set the same way as you set the codebase of your "display_cart.html" page in your first catalog.

If you need any assistance, give me the URL of each catalog and I will take a look at them.