Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with new products please


cabachona

Recommended Posts

Hi there, I am finally on my way, having got my store actually running, though not "live" as yet, thanks to you wonderful people out there. Now I am adding stock items with pics which is quite a breeze however when I go to put "look" at the store from a "guest" I see that there are new products and categories, when I click on them, the page comes back with "product not found!". What am I doing wrong here? I have tried to search back in the knowledge base and have not had any success as yet. Please if anyone has any information about this, it would be greatly appreciated. :blink: I am quite bewildered.

Unconditional Love Makes The World Turn.

When we stop and smell the flowers, we can all live instead of merely existing. We spend too much time infront of computers daily and not enough time in wonderment and awe at what we can achieve in life. creating these beasts is both a blessing and a curse!

Believe in yourself as though no one else will and you will find that The World will begin to believe in You Too!

Link to comment
Share on other sites

the page comes back with "product not found

 

The text "product not found" is being shown to you on page catalog/product_info.php

Line: 17 is the query, it returns a count of products which match the product id of any products that you have clicked on if product id matches, language id matches and status is 1.

 

A good place to start is go back to Admin and check the status of your product . Click on a new product then click on edit, on the page that opens, at the top are two radio style checkboxes.

In Stock and Out of Stock. These set the status, make sure In Stock is checked. Go down to Quantity and make sure the number inserted is greater than 0.

Another item to be aware of is under configuration/stock the first three items by default are set to true. Make sure item 3 'Allow Checkout' is set to true.

 

If all this fails then check the GET Variable in your address bar for the product id and go to your database products table and look for it.

 

Bottom line is the query above searches for three values. If it cannot find any one of them than no product is returned and the text "product not found" is..

Lloyd

Link to comment
Share on other sites

The text "product not found" is being shown to you on page catalog/product_info.php

Line: 17 is the query, it returns a count of products which match the product id of any products that you have clicked on if product id matches, language id matches and status is 1.

 

A good place to start is go back to Admin and check the status of your product . Click on a new product then click on edit, on the page that opens, at the top are two radio style checkboxes.I have checked this and all products are in stock. I have put quantities of 1 or 2 in. So I should not have any problems.

In Stock and Out of Stock. These set the status, make sure In Stock is checked. Go down to Quantity and make sure the number inserted is greater than 0.

Another item to be aware of is under configuration/stock the first three items by default are set to true. Make sure item 3 'Allow Checkout' is set to true.I don't really want to use this option, however I have checked this to be true also, to follow your instructions.

 

If all this fails then check the GET Variable in your address bar for the product id and go to your database products table and look for it.

I don't understand this one here though. When I look for the products in the catalog - I see "...Shop/index.php/cPath/26" or "22", or whatever the case may be for the product. I have only created five categories and one product within each category. Before I put the products in, I could not even get to the categories showing no products yet?

Bottom line is the query above searches for three values. If it cannot find any one of them than no product is returned and the text "product not found" is.. Should I delete all products and start again?

Unconditional Love Makes The World Turn.

When we stop and smell the flowers, we can all live instead of merely existing. We spend too much time infront of computers daily and not enough time in wonderment and awe at what we can achieve in life. creating these beasts is both a blessing and a curse!

Believe in yourself as though no one else will and you will find that The World will begin to believe in You Too!

Link to comment
Share on other sites

Can we have a link to your site?

Here is my site http://www.gemsnjewels.com.au/Shop/

Unconditional Love Makes The World Turn.

When we stop and smell the flowers, we can all live instead of merely existing. We spend too much time infront of computers daily and not enough time in wonderment and awe at what we can achieve in life. creating these beasts is both a blessing and a curse!

Believe in yourself as though no one else will and you will find that The World will begin to believe in You Too!

Link to comment
Share on other sites

Please delete the duplicate posts!...Thanks

How???

Unconditional Love Makes The World Turn.

When we stop and smell the flowers, we can all live instead of merely existing. We spend too much time infront of computers daily and not enough time in wonderment and awe at what we can achieve in life. creating these beasts is both a blessing and a curse!

Believe in yourself as though no one else will and you will find that The World will begin to believe in You Too!

Link to comment
Share on other sites

Seems like you have som mod related to URL installed on your site?

Can you please explain the "mod"?

I have already my main site which is http://www.gemsnjewels.com.au then I have installed the osCommerce in another section so that I can link to it from this site and call it - Let's go shopping with..."which is where this osCommerce comes in. Is that what you mean?

Unconditional Love Makes The World Turn.

When we stop and smell the flowers, we can all live instead of merely existing. We spend too much time infront of computers daily and not enough time in wonderment and awe at what we can achieve in life. creating these beasts is both a blessing and a curse!

Believe in yourself as though no one else will and you will find that The World will begin to believe in You Too!

Link to comment
Share on other sites

Can you please explain the "mod"?

I have already my main site which is http://www.gemsnjewels.com.au then I have installed the osCommerce in another section so that I can link to it from this site and call it - Let's go shopping with..."which is where this osCommerce comes in. Is that what you mean?

Your shop is similar to mine, but mine is catalog and yours is shop.

Maybe check your settings in shop\includes\configure.php

Link to comment
Share on other sites

Your shop is similar to mine, but mine is catalog and yours is shop.

Maybe check your settings in shop\includes\configure.php

Hi there, I'm a little confused now. my time is the same I think - Sydney anyway. I don't understand what I should be looking for. I know how to get into the files, just not what to look for. This is very confusing to me. It took my days and days to get it up and running to where I have it now and my eyes feel like they don't belong to me for I was only inches away from the screen at all times. What a way to spend some time away from the shop!!! I am very very grateful to anyone who is willing to walk me through this. I think going this way is a frontier style and we all pay the price for not buying an off the shelf product we can yell and scream at someone's ear for not doing it the right way! So nothing comes cheap or for nothing at all...

Still, I am not unhappy with my choice. I will look at the configure.php and see what I can come up with, in the mean time, if you can be a little more specific with what I should be looking for it would be a great big help thanks.

:rolleyes: :thumbsup: then I would be :D like a cheschire cat!

Unconditional Love Makes The World Turn.

When we stop and smell the flowers, we can all live instead of merely existing. We spend too much time infront of computers daily and not enough time in wonderment and awe at what we can achieve in life. creating these beasts is both a blessing and a curse!

Believe in yourself as though no one else will and you will find that The World will begin to believe in You Too!

Link to comment
Share on other sites

Your shop is similar to mine, but mine is catalog and yours is shop.

Maybe check your settings in shop\includes\configure.php

Can I see your shop / catalog please? Only to get an idea of what a good shop should look like. Do you think that I am doing something wrong? I deleted the products I had and put one category on. However it just comes up with a new page. I thought I should have to log in before I start, however that didn't work either! it is very frustrating. :(

Unconditional Love Makes The World Turn.

When we stop and smell the flowers, we can all live instead of merely existing. We spend too much time infront of computers daily and not enough time in wonderment and awe at what we can achieve in life. creating these beasts is both a blessing and a curse!

Believe in yourself as though no one else will and you will find that The World will begin to believe in You Too!

Link to comment
Share on other sites

Can I see your shop / catalog please? Only to get an idea of what a good shop should look like. Do you think that I am doing something wrong? I deleted the products I had and put one category on. However it just comes up with a new page. I thought I should have to log in before I start, however that didn't work either! it is very frustrating. :(

My test shop

http://www.coopco.com.au/catalog/

My shop

http://www.police.coopco.com.au/catalog/

 

My configure.php

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

 

Installed

 

osCCustomize_1 and Enable SSL

Contact Us Fix 1.2

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://coopco.com.au'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://coopco.com.au'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '.coopco.com.au');

define('HTTPS_COOKIE_DOMAIN', '.coopco.com.au');

define('HTTP_MAIL_DOMAIN', '.coopco.com.au');

define('HTTPS_MAIL_DOMAIN', '.coopco.com.au');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'osCommerce');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Link to comment
Share on other sites

I like the look of your shop except for the all blue - does nothing for me sorry. However everything works which is great! I looked at my config.php and it looks the same as yours with the appropriate names in the right places of course. so I don't understand why mine does not work like yours does! I didn't think of having a test shop. I will try that and see what happens. thanks for your help though. I hope I haven't missed anything under the lines though I have tried to check it out as much as I can. I can't quite get my head around the permissions. I am struggling through trial and error. If this doesn't work, that will sort of thing. I suppose it is how we all learn and the best of us go out and hang a shingle on the door to offer other poor muggins an easier path. Just voicing my frustration at the moment. Have only been struggling a few weeks, when I read about other people's plight and see a few months, I shudder!

 

My test shop

http://www.coopco.com.au/catalog/

My shop

http://www.police.coopco.com.au/catalog/

 

My configure.php

 

<?php

/*

$Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

 

Installed

 

osCCustomize_1 and Enable SSL

Contact Us Fix 1.2

*/

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://coopco.com.au'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://coopco.com.au'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', '.coopco.com.au');

define('HTTPS_COOKIE_DOMAIN', '.coopco.com.au');

define('HTTP_MAIL_DOMAIN', '.coopco.com.au');

define('HTTPS_MAIL_DOMAIN', '.coopco.com.au');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

define('DIR_WS_HTTPS_CATALOG', '/catalog/');

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']));

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

// define our database connection

define('DB_SERVER', ''); // eg, localhost - should not be empty for productive servers

define('DB_SERVER_USERNAME', '');

define('DB_SERVER_PASSWORD', '');

define('DB_DATABASE', 'osCommerce');

define('USE_PCONNECT', 'false'); // use persistent connections?

define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'

?>

Unconditional Love Makes The World Turn.

When we stop and smell the flowers, we can all live instead of merely existing. We spend too much time infront of computers daily and not enough time in wonderment and awe at what we can achieve in life. creating these beasts is both a blessing and a curse!

Believe in yourself as though no one else will and you will find that The World will begin to believe in You Too!

Link to comment
Share on other sites

I like the look of your shop except for the all blue - does nothing for me sorry. However everything works which is great! I looked at my config.php and it looks the same as yours with the appropriate names in the right places of course. so I don't understand why mine does not work like yours does! I didn't think of having a test shop. I will try that and see what happens. thanks for your help though. I hope I haven't missed anything under the lines though I have tried to check it out as much as I can. I can't quite get my head around the permissions. I am struggling through trial and error. If this doesn't work, that will sort of thing. I suppose it is how we all learn and the best of us go out and hang a shingle on the door to offer other poor muggins an easier path. Just voicing my frustration at the moment. Have only been struggling a few weeks, when I read about other people's plight and see a few months, I shudder!

I just find blue eaier on the eyes.

I can't access your shop now.

Link to comment
Share on other sites

I just find blue eaier on the eyes.

I can't access your shop now.

Hi there Coopco, No wonder you can't access my shop now, I can't either. Silly me! I tried to create another shop so that I can do what you appear to do - have a test one and make all the mistakes or trials on that one and when it works I can use the right way to put my "good" one correctly. Alas, when I put my new shop in, it seems likely that the new one kind of over wrote the old one. No I wasn't stupid enough to put it in the same directory - different directory however I think that the www...directory and the public_html directory were both over written with the new shop! I even gave it another name, so I don't know what happened. All the files appear to be still there however, so I don't know if I can rescue my old shop or do I have to start all over again with deleting the old one and re-installing a new one? I was in shock for about an hour before I calmed down and meditated on the whole process. It took me the four days over Easter to get it to where I had it after having deleted and re-installing for the fifth time! I think I remember what to do and I was smart enough to make copies of the text additions I put in from the index page (I think...) and the other pages. Is it possible to have two issues of osCommerce on the same site, or as I was thinking about this morning, can I merely create two data bases? Being totally new at all this, I am really flying in the dark. I would appreciate your feed back muchly. oddly enough though, I am feeling more positive about all of this now and not nearly as :'( I was.

Thanks so much :rolleyes:

Unconditional Love Makes The World Turn.

When we stop and smell the flowers, we can all live instead of merely existing. We spend too much time infront of computers daily and not enough time in wonderment and awe at what we can achieve in life. creating these beasts is both a blessing and a curse!

Believe in yourself as though no one else will and you will find that The World will begin to believe in You Too!

Link to comment
Share on other sites

Hi there Coopco, No wonder you can't access my shop now, I can't either. Silly me! I tried to create another shop so that I can do what you appear to do - have a test one and make all the mistakes or trials on that one and when it works I can use the right way to put my "good" one correctly. Alas, when I put my new shop in, it seems likely that the new one kind of over wrote the old one. No I wasn't stupid enough to put it in the same directory - different directory however I think that the www...directory and the public_html directory were both over written with the new shop! I even gave it another name, so I don't know what happened. All the files appear to be still there however, so I don't know if I can rescue my old shop or do I have to start all over again with deleting the old one and re-installing a new one? I was in shock for about an hour before I calmed down and meditated on the whole process. It took me the four days over Easter to get it to where I had it after having deleted and re-installing for the fifth time! I think I remember what to do and I was smart enough to make copies of the text additions I put in from the index page (I think...) and the other pages. Is it possible to have two issues of osCommerce on the same site, or as I was thinking about this morning, can I merely create two data bases? Being totally new at all this, I am really flying in the dark. I would appreciate your feed back muchly. oddly enough though, I am feeling more positive about all of this now and not nearly as :'( I was.

Thanks so much :rolleyes:

 

Each one needs a dedicated root directory and dedicated database.

 

My main domain has 4 shops (2 OSC, 2 others). My sub domain has my shop. Your web host my permit free subdomains.

 

I backup my entire web site to a hard drive.

 

Each installation gets easier (provided that you concentrate).

Link to comment
Share on other sites

  • 1 month later...
Each one needs a dedicated root directory and dedicated database.

 

My main domain has 4 shops (2 OSC, 2 others). My sub domain has my shop. Your web host my permit free subdomains.

 

I backup my entire web site to a hard drive.

 

Each installation gets easier (provided that you concentrate).

Wow! It is hard to imagine it is over a month since I wrote you and you replied so quickly. Thanks for the reply. It is possible to have more than one database. I have checked with my site, yes it is okay to have more than one. Yet I don't know how to install it. Is it possible to back up my existing data base to hard drive and then upload it to server in a different name? If not how do I do this without having to create a whole new data base. I want to change the way it looks and feels without making changes to my "live" site until I know it works for me. Either that or is it possible to create all of what I have done on my hard drive? I have looked at it, only it doesn't show up quite the same on windows XP.

Any help would be appreciated. Thanks so much.

Unconditional Love Makes The World Turn.

When we stop and smell the flowers, we can all live instead of merely existing. We spend too much time infront of computers daily and not enough time in wonderment and awe at what we can achieve in life. creating these beasts is both a blessing and a curse!

Believe in yourself as though no one else will and you will find that The World will begin to believe in You Too!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...