X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How do I pass a variable(from an extra field) to a frame? (https://forum.x-cart.com/showthread.php?t=6900)

Emerson 03-28-2004 05:18 PM

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

shan 03-29-2004 01:45 AM

edit product.tpl and add your link as follows.


Emerson 04-02-2004 11:31 AM

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


All times are GMT -8. The time now is 02:01 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.