Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How do I pass a variable(from an extra field) to a frame?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-28-2004, 05:18 PM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default How do I pass a variable(from an extra field) to a frame?

Hello Everyone,

I would like to do this but I have no clue how to go about it.
What I want to do is have an extra field and create a link in the product detail page and when you click on it, it will open a new page (frame) as the following:

------------------
head.htm
------------------
content.php
------------------

content.php would be showing a page depending on the variable.
Like http://www.domain.com/preview/VARIABLE/index.php


Any ideas how I can pull this off??

Thank you in advance for any help

Emerson
_____________________
x-cart Pro 3.5.5
Apache 1.3.29
PHP 4.3.3
Reply With Quote
  #2  
Old 03-29-2004, 01:45 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

edit product.tpl and add your link as follows.

__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 04-02-2004, 11:31 AM
 
Emerson Emerson is offline
 

X-Man
  
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2,209
 

Default

Thank You Shan

I went a lot deeper then just the link, such as passing product name, type, price, etc to the frame.

Thanks for your help

Emerson
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:39 AM.

   

 
X-Cart forums © 2001-2020