Passing variables from external web page

This is an archive of old posting to the User Forum

Passing variables from external web page

Postby Brad Barden » Thu Mar 25, 2004 9:43 am

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
Brad Barden
 

Re: Passing variables from external web page

Postby Jim » Fri Mar 26, 2004 10:15 pm

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


Jim
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 30 guests