Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

please tell me where URL is generated


Guest

Recommended Posts

Posted

hi, I'm trying to get a variable to carry throughout the whole cart system. Such as ?ID=random and have that append on to each URL generated. I tried the search but found nothing.

 

Can someone at least point me in the right direction? Thanks.

Posted

I don't believe that there is one place where the URL is generated.

 

I believe that some of the places you will need to alter the URL generation are

 

index.php

advanced_search.php

allprods.php

whats_new.php

featured_products.php

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Posted

You could also look how other variables are being set that need to carry constantly from page to page and not show in the URL ... example:

 

$customer_id

 

Look in login.php and see how it is set. Then determin where it should be initialized and start from there.

Archived

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

×
×
  • Create New...