Page 1 of 1

Passing variables from external web page

PostPosted: Thu Mar 25, 2004 9:43 am
by Brad Barden
I have set up a page outside of ShopSite which
performs a MySQL search of VIN numbers. The
customer enters the VIN and a link comes up with
for the appropriate page in ShopSite.

I want to be able to pass that VIN on to the ShopSite
pages and display the VIN on the first page, and ALL
of the product pages for that particular model.

I can do it for the first page using javascript either by
placing the javasript in the template or by placing it
in Page.Field1 and calling it with

[--var.VIN Page.Field1--]
[--var.VIN--]

but on subsequent pages, the value of [--var.VIN--] is
lost, and it just returns the javascript.

Any ideas on passing variable from an outside page?

Thanks in advance for your help.

Brad

Re: Passing variables from external web page

PostPosted: Fri Mar 26, 2004 10:15 pm
by Jim
ShopSite generated pages are static not dynamic. The tags like
[--var.VIN Page.Field1--]
[--var.VIN--]
are only evaluated when the page is generated so they probably would be
of little if any value in trying to pass a variable after the page is
generated.

Jim

Brad Barden wrote:

I have set up a page outside of ShopSite which
performs a MySQL search of VIN numbers. The
customer enters the VIN and a link comes up with
for the appropriate page in ShopSite.

I want to be able to pass that VIN on to the ShopSite
pages and display the VIN on the first page, and ALL
of the product pages for that particular model.

I can do it for the first page using javascript either by
placing the javasript in the template or by placing it
in Page.Field1 and calling it with

[--var.VIN Page.Field1--]
[--var.VIN--]

but on subsequent pages, the value of [--var.VIN--] is
lost, and it just returns the javascript.

Any ideas on passing variable from an outside page?

Thanks in advance for your help.

Brad