osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

How do you retain Session/Product ID in Standard HTML site

This is a discussion on How do you retain Session/Product ID in Standard HTML site within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Does anybody know how I would attach the Session ID to a new link that I have created? I have ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 11-20-2004, 01:13 PM
New Member
 
Join Date: Nov 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Ttownsend
Default How do you retain Session/Product ID in Standard HTML site

Does anybody know how I would attach the Session ID to a new link that I have created? I have built a site outside of oscommerce's site and I want this site to be able to reference the same Session ID that the OScommerce would reference. I should be able to link it, but have not been able to find out how to add it to a link as the original design uses several different modules and php files to accomplish this, and I am trying to accomplish this on one php page.


Is this possibble?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 11-20-2004, 03:04 PM
New Member
 
Join Date: Nov 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Ttownsend
Default Almost

After lots of searching I came up with this so far and it works.

<a href="<?php echo tep_href_link(FILENAME_INTRO, '', 'SSL'); ?>" ><?php echo ENTER; ?>

I had to define the new link's target page intro.php) in the filename.php file for some of you who didn't know you had to do that.

So now here's the problem. It allows me to have a new link on a pagewhich adds the session id to the links url. Now that I am here, how do I make this link use an image instead of using ENTER as the link..

Anybody...Anybody...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-20-2004, 03:29 PM
New Member
 
Join Date: Nov 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Ttownsend
Default

Wow, trial and error really sucks. I must have tried 20+ different ways until I got it to work. Hopefully I can get it to work on all of my pages properly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-20-2004, 06:36 PM
New Member
 
Join Date: Jul 2004
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jschoaf
Default

feel free to share...
thats how we all learn till someone makes a post
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-20-2004, 08:05 PM
New Member
 
Join Date: Nov 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Ttownsend
Default

Here is the code I used. It worked perfectly. Not that hard, but I'm new to the OSCommerce & PHP. Since I'm now, I really can't explain it in terms that are understandable yet. Ill leave that for the more experienced.

<a href="<?php echo tep_href_link(FILENAME_PRODUCT_MEN, '', 'SSL'); ?>" ><?php echo tep_image_button('product_men_off.gif'); ?></a>

Based on this code, PRODUCT_MEN has to be defined in your INCLUDES/filename.php file

The image file product_men_off.gif is uploaded in the INCLUDES/LANGUAGES/ENGLISH/IMAGES/BUTTONS folder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 11-20-2004, 08:32 PM
New Member
 
Join Date: Nov 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Ttownsend
Default

Now I've ran into another problem. Is it possible to put a product ID on a product statically instead of dynamically. I have to put the product ID from the OSCommerce site on all my product pages in my standard html site. If anyone has dealt with adding a product ID's to a custom web pages project, please post up. Just to be clear on what I am doing, I have built a custom website from the ground up. Now they want a shopping cart added, but the OSCommerce is not the type of look I am interested in. I want it to look loke an ordinary site, but have the functionality of the OSCommerce built in.

Take a look if you need more info on what I am trying to accomplish.

www.hugahater.com/catalog/intro.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 11-21-2004, 12:51 PM
New Member
 
Join Date: Nov 2004
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Ttownsend
Default

Solved it again. 8 hours later. Guess I had to just sleep on it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 07-19-2005, 01:48 AM
Member
 
Join Date: May 2005
Location: Berkshire, UK
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
beahawk
Default s id and links

this helped me:

http://forums.oscommerce.com/index.p...135060&hl=
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
HTML editor above product description field disapeared winkscustoms osCMax v1.7 Discussion 5 06-17-2005 07:36 PM
Question about Product Details and Fonts/html mnpolock osCMax v1.7 Discussion 1 02-16-2005 07:30 AM
I need to use html code when writing product description!! Robzz osCommerce 2.2 Installation Help 1 02-07-2005 03:14 AM
Can you add html tags for font to the product description mnpolock osCMax v1.7 Discussion 4 01-31-2005 03:09 PM
SSL Errors, Session Cookie, Session Cache, NOVICE Problems? hanool osCommerce 2.2 Modification Help 1 09-07-2003 11:49 AM


All times are GMT -8. The time now is 06:51 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax