Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Keep cart contents from link on htm root page


lindsayanng

Recommended Posts

Posted

Basically, this is my site

Portfolio

Print Shop

 

I need to be able to link to the portfolio, from the shop, and back again without loosing cart contents. I KNOW that the tep_href_link () function is to be used, but i have NO IDEA how to define a page that is in the root directory. I tried to do it with the index.html page from the catalog/index.php page

 

I added a link in the PORTFOLIO section on the top in the banner, used the tep_href_links (FILENAME_HOME) and then went into the filenames.php and added

define('FILENAME_HOME' , index.htm);

 

That didnt work, i got a 404 not found. I am entirely sure it is because for some reason, when you define the filename, it starts to look for it in catalog

 

So HOW do i get the filename to reference a file that is in the root??

 

I need to do the same from the root pages (the ones in the portfolio) to the print shop (oscommerce catalog) and i am pretty sure if i just make the html pages into .php pages, i will be just fine because i can add the tep_href_link to the filename that is already defined for the index page.

 

SO, what do i do???

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Archived

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

×
×
  • Create New...