www.uburst.com www.uburst.com

"order_template.html v. order_template_aa.html"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Programmer Tips
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"order_template.html v. order_template_aa.html"
Posted by lawrence on Oct-03-00 at 11:18 PM (EST)
We had to rename the order_template.html to order_template_aa.html. I went into the Control Panel and made the change there and also pressed Apply. :)

The system works, the order_template_aa.html file is filled in with the appropriate information, until you click on the Continue button. Then this error message comes up: Unable to open ./aadata/order_template.html

Notice, that it is saying the OLD named file cannot be found. Of course it can't. :)

Something is still hanging onto the old name.

This can be viewed at:

http://www.adventistsaffirm.org/store/html/

Thanks for your assistance in where that may be would be appreciated. Also, if you have covered this somewhere on the site, I am more than happy to read the information. I have looked, but to no availe.

Lawrence

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: order_template.html v. order_te..., Bill Weiner, Oct-04-00, (1)
RE: order_template.html v. order_te..., Lawrence Kellie, Oct-04-00, (2)
order_template.html v. order_templa..., Lawrence Kellie, Oct-04-00, (3)
RE: order_template.html , Bradley Edwards, Oct-05-00, (4)
RE: order_template.html, Bill Weiner, Oct-06-00, (5)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: order_template.html v. order_template_aa.html"
Posted by Bill Weiner on Oct-04-00 at 07:18 AM (EST)
Hmmm... that is interesting.

In uShop 3.0, we originally were going to make each template page of the order process configurable, but then decided that there would be no reason to have a different "Order Form" page and "Review Order" page... (plus it would double the storeowner's efforts if he/she was to customize the template).

So what it sounds like is happening, is that the "order_template.html" file is still being initialized in both places in the "ushop-settings.txt" file....however, when changing the "order_template.html" file name...only the first value in the "ushop-settings.txt" file is being changed.... The file name being used for the "Review Order" page is not being changed.

We will look into it, but in the meantime, here are some steps to manually make the change to the "ushop-settings.txt" file yourself:

STEP 1: Use your FTP program to download the "ushop-settings.txt" file from the "data" directory on your server. (Be sure use ASCII or TEXT transfer mode when downloading the file.)

STEP 2: Use any text editor - such as WordPad to open the "ushop-settings.txt" file.

STEP 3: In that file, you should see line 27 properly set to your new order template name "order_template_aa.html" ... however, line 30 will probably still be named "order_template.html".

STEP 4: Change line 30 to your new "order_template_aa.html" name.

STEP 5: You may also have to make the change on lines 62 and 64 too. (But line 74 should be OK since that template is controlled by the Miscellaneous Settings Form on the Control Panel).

STEP 6: Save the file (as TEXT if your editor asks).

STEP 7: Use your FTP program to transfer the "ushop-settings.txt" file back to the data directory on your server. (Again, be sure to transfer the file in ASCII or TEXT transfer mode).

.... And try it out!

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
2 . "RE: order_template.html v. order_template_aa.html"
Posted by Lawrence Kellie on Oct-04-00 at 07:46 AM (EST)
Thanks for the quick response.

I have forwarded the information on to the webmaster of the secure site, asking him to make the changes. There was also another file we had to change the name (credit_template_aa.html) and I asked him to keep an eye out for it, too.

BTW, I really do enjoy the work you folks have put in version 3. It is a significant improvement over version 2. :)

Lawrence

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
3 . "order_template.html v. order_template_aa.html"
Posted by Lawrence Kellie on Oct-04-00 at 10:34 PM (EST)
That worked!

I did, just because the template file must be emailed and then uploaded by the host, make the changes to line 74 also.

It works very nicely. I really enjoy the new control panel!

Lawrence

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
4 . "RE: order_template.html "
Posted by Bradley Edwards on Oct-05-00 at 01:17 PM (EST)
Hello Folks,

I found this feature (bug?) to be very usefull!

When the the order_template.html page is presented for completion, in the area for the Tax selection it states, something like:

"For orders sent to {state}, please select the tax rate for that area:"

Well it says the same thing when displaying the info. on the confirmation page.

I made a copy of the order_template.html, I called it _order_template.html. for the order form, I set the template to this new copy(_order_template.html).

Then, to the original file I made the following change to the Tax section:

"The tax rate applied to this order is:"

This way, on confirmation it's telling them what was applied, because they cannot choose anything at this point. They would have to go back and change it if needed.

Most people would probably not be bothered by this but I know there a other perfectionists out there that WOULD.

I like the ability to have 2 different forms even if I only change one line of text. So I would say, make this a standard feature.

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents
 
5 . "RE: order_template.html"
Posted by Bill Weiner on Oct-06-00 at 05:39 AM (EST)
What we'll probably do is just add the additional configuration fields to the uShop Control panel for specifying templates for each of the fields in the order process.
Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.