Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Default.php missing?


Lalla

Recommended Posts

Hi all,

I'm using the ISBN Mod to put new fields into my db. The instructions show 5 files to edit. One being :

 

catalog/includes/languages/english/default.php

 

I installed the ISBN mod before and don't remember what I did about this file, but the file is no longer there yet the ISBN mod worked ! I had to restore the site because of something else and have to re-install the mod all over again. One set of instructions calls it :

 

catalog/default.php

 

 

Did I do something to rename this file when working with another setting or mod? I also don't show it in my dir of the whole site that I have on my hd. If my mind wasn't so bogged down with a million and one mods I'd remember what I did .. :blink: But I can't even remember what I had for dinner yesterday let alone what I did to a file over a week ago!! :D

 

 

What did I do now???

 

Thanks!

Lalla

P.S. And YES, the ISBN mod DID Work ! My first attempt at installing a contribution all alone and it worked :D

Link to comment
Share on other sites

THis is probably because that module was written before the current version of OSC (MS2) came out. They changed the "default.php" file to "index.php". That said, you'll want to make sure that that module works with MS2 before you install. Remember to always backup before youinstall new modules.

Link to comment
Share on other sites

They changed the "default.php" file to "index.php".

 

Should I change the areas in the index file then? I got it to work to some extent. I have the new fields to fill in when I enter a new product, but ... I can't see my single item page. That would be the individual books page at all....completely blank.

I'm probaby being really stupid about it and trying to add 6 fields the same way that you add 1 ISBN field. I just don't know :

 

1.) What went wrong that made the individual page disappear.

 

2.) How to make the info and fields show up on the page for the customer to see.

 

3.) How to add the newly added fields to the sample file that came with Easy Populate that I use to make my databse files with to the upload into my store.

 

Anybody????

 

Thanks,

Lalla

Link to comment
Share on other sites

Thought maybe I should add :

 

 

if you access my site ~

www.nothingbutromance.com/shop/catalog

 

then look on the left and click on Vampires .... it will show one book

Please don't let the photo scare you...its of my puppy Katie when the flash went off in her face :rolleyes:

 

If you click on the title, then keep going further "in" you will get a blank page where the desciption page should be, I think.

 

I ALSO need to know how to only have the photos on that page...the individual book page and not in any of the other directories leading to it. If you have a list of 40 books, that's alot of pics to load on that page when you can really go by the titles and THEN click on one to see the photo. Make sense???

 

Thanks!

Lalla

Link to comment
Share on other sites

Figured it out !

 

Forgot to copy the

 

} else {

$products_name = $product_info['products_name'];

}

 

to go along with all my IF statements :-)

 

Gosh, I think I might be getting the hang of this!... not great yet, but atleast I'm understanding alot more then when I first came here ! B)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...