Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Products URL link problems


Guest

Recommended Posts

Posted

Hello,

 

I just installed an osCommerce and I create my store. The soft works fine, but i have a little problem with the Products URL links.

An example:

The product address is :

www.otherstore.com/products.asp?expand=8012AFDD-471A-4A86-8A61-D8834F4753DF&showContent=9731

 

if I linked this address for the product in osCommerce admin, then the products link in catalog changed on this:

www.otherstore.com/products.asp?expand=8012AFDD-471A-4A86-8A61-D8834F4753DF&showContent=9731?osCAdminID=70f3a484db36468d2a0b0b9994d43a05

 

and unfortunately for this reason many link don`t work...

It`s normal?

 

regards

Posted

I'm not quite sure I understand the problem or what you're attempting to do... you shouldn't need to put the link in manually, it should be created dynamically for you by OSC.

 

The only thing I can think is that you mean the "Products URL: (without http://)" section when you add/edit products, but that shouldn't link back to the product itself, it's meant to link to, for instance, the manufacturer's website or a support site for the product (or you can leave it blank).

Posted
... it should be created dynamically for you by OSC.

 

Yes i know.

But the OSC add that following code to all link suffix : ?osCAdminID=70f3a484db36468d2a0b0b9994d43a05

 

I hope understandable...

Thanks for reply, and sorry my poor english...

Posted

Ah, I understand... so it looks like the session ID is mixed up somewhere, it's using the admin session id for the main store.

 

Try going to one of the products that's not working and replace the osCAdminID in the url with osCsid (keep all the rest the same, just change that bit). Does it work now?

 

If it does, check that you have lines in store\includes\application_top.php that say:

 

define('PHP_SESSION_NAME', 'osCsid');
tep_session_name('osCsid');

 

If it doesn't then possibly something is broke in the configuration files and it's actually using the admin session for the catalog. If that's the case I'd advise looking in the configuration files, the part dealing with setting up the store addresses, etc.

Archived

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

×
×
  • Create New...