passing parameters to ShopSite

This is an archive of old posting to the User Forum

passing parameters to ShopSite

Postby Marianne Cooley » Fri Jul 26, 2002 11:10 am

Hi,

A few questions at the moment.

1. I currently have the submit button on my form link to ShopSite with a url
which includes the itemnum. Is it possible to use a post command on the
form to do the same thing?

2. And, is it possible to pass additional parameters when we do this (such
as first name, last name, etc) which have already been collected so that
certain billing information in ShopSite comes up already populated?

3. Is there a list of these parameters somewhere? I haven't found them
clearly spelled out in the documentation.

Thanks,
Marianne
Marianne Cooley
 

Re: passing parameters to ShopSite

Postby loren_d_c » Fri Jul 26, 2002 11:21 am

1. Yes, if you are using ShopSite v5 or greater. To see an example in v5 you
will need to make a test page and test product (assign the product to the page)
and in the Product Layout check the checkboxes to display a Quantity box and the
pull-down menu ordering options. When the page is generate you can look at the
source to see the FORM for the individual product. In v6 if you want to see
this, just check those checboxes in a product, then go to Merchandising ->
OrderAnywhere, select that prodiuct and hit the Display HTML to see the complete
FORM for that product.

2. No. You are passing the item to order.cgi. The billing information is in
collecting in billing.cgi. The only way you could prepopulate any of that stuff
is by setting the cookie that ShopSite sets for the same purpose when someone
orders.

3. Since it can't be done, there is no list. The only things that can be passed
to order.cgi via a post are the storeid, Quantity, ordering options, and the
itemnum. In v6.1 you can add products via the same FORM, so you can do things
like radio buttons or checkboxes to determine which items get added to the cart
when the submit button is pressed.

-Loren


Marianne Cooley wrote:

Hi,

A few questions at the moment.

1. I currently have the submit button on my form link to ShopSite with a url
which includes the itemnum. Is it possible to use a post command on the
form to do the same thing?

2. And, is it possible to pass additional parameters when we do this (such
as first name, last name, etc) which have already been collected so that
certain billing information in ShopSite comes up already populated?

3. Is there a list of these parameters somewhere? I haven't found them
clearly spelled out in the documentation.

Thanks,
Marianne
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: passing parameters to ShopSite

Postby Marianne Cooley » Mon Jul 29, 2002 7:52 am

Loren,


Is there information about setting the cookie that shopsite does? If we can
do that, then we can make happen what we would like for when billing.cgi
comes up. We are running ShopSite 6.1.

Thanks,
Marianne

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3D419336.C52BD987@yahoo.com...
1. Yes, if you are using ShopSite v5 or greater. To see an example in v5
you
will need to make a test page and test product (assign the product to the
page)
and in the Product Layout check the checkboxes to display a Quantity box
and the
pull-down menu ordering options. When the page is generate you can look at
the
source to see the FORM for the individual product. In v6 if you want to
see
this, just check those checboxes in a product, then go to Merchandising -
OrderAnywhere, select that prodiuct and hit the Display HTML to see the
complete
FORM for that product.

2. No. You are passing the item to order.cgi. The billing information is
in
collecting in billing.cgi. The only way you could prepopulate any of that
stuff
is by setting the cookie that ShopSite sets for the same purpose when
someone
orders.

3. Since it can't be done, there is no list. The only things that can be
passed
to order.cgi via a post are the storeid, Quantity, ordering options, and
the
itemnum. In v6.1 you can add products via the same FORM, so you can do
things
like radio buttons or checkboxes to determine which items get added to the
cart
when the submit button is pressed.

-Loren


Marianne Cooley wrote:

Hi,

A few questions at the moment.

1. I currently have the submit button on my form link to ShopSite with a
url
which includes the itemnum. Is it possible to use a post command on the
form to do the same thing?

2. And, is it possible to pass additional parameters when we do this
(such
as first name, last name, etc) which have already been collected so that
certain billing information in ShopSite comes up already populated?

3. Is there a list of these parameters somewhere? I haven't found them
clearly spelled out in the documentation.

Thanks,
Marianne
Marianne Cooley
 

Re: passing parameters to ShopSite

Postby loren_d_c » Mon Jul 29, 2002 7:52 am

Place a test order and then look at the cookie that is placed when you
complete the order. There is no documentation on the format of the
cookie, but it is pretty simple.

-Loren



Marianne Cooley wrote:
Loren,

Is there information about setting the cookie that shopsite does? If we can
do that, then we can make happen what we would like for when billing.cgi
comes up. We are running ShopSite 6.1.

Thanks,
Marianne

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3D419336.C52BD987@yahoo.com...
1. Yes, if you are using ShopSite v5 or greater. To see an example in v5
you
will need to make a test page and test product (assign the product to the
page)
and in the Product Layout check the checkboxes to display a Quantity box
and the
pull-down menu ordering options. When the page is generate you can look at
the
source to see the FORM for the individual product. In v6 if you want to
see
this, just check those checboxes in a product, then go to Merchandising -
OrderAnywhere, select that prodiuct and hit the Display HTML to see the
complete
FORM for that product.

2. No. You are passing the item to order.cgi. The billing information is
in
collecting in billing.cgi. The only way you could prepopulate any of that
stuff
is by setting the cookie that ShopSite sets for the same purpose when
someone
orders.

3. Since it can't be done, there is no list. The only things that can be
passed
to order.cgi via a post are the storeid, Quantity, ordering options, and
the
itemnum. In v6.1 you can add products via the same FORM, so you can do
things
like radio buttons or checkboxes to determine which items get added to the
cart
when the submit button is pressed.

-Loren


Marianne Cooley wrote:

Hi,

A few questions at the moment.

1. I currently have the submit button on my form link to ShopSite with a
url
which includes the itemnum. Is it possible to use a post command on the
form to do the same thing?

2. And, is it possible to pass additional parameters when we do this
(such
as first name, last name, etc) which have already been collected so that
certain billing information in ShopSite comes up already populated?

3. Is there a list of these parameters somewhere? I haven't found them
clearly spelled out in the documentation.

Thanks,
Marianne
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: passing parameters to ShopSite

Postby Marianne Cooley » Tue Jul 30, 2002 11:19 am

I found a cookie default@sb[6].txt and it includes

some numbers after the url in the cookie. These numbers are in common with
other /previous shopsite cookies on my drive. Where do those go/come from?
These are in a cookie where the first line of the file is: SSMBSuperCookie

There is another cookie placed 2 minutes earlier in the process (it does not
include address, etc --saved from a previous visit) and it looks like this:

sbid
SSMSB1027538857.14623

....

1536
438280192
29578898
2512724192
29505523
*

(The numbers above are in common in the two cookies.)

If we want to write the address from the prior form to a shopsite cookie, we
must write it to the SSMB cookie? Just checking.

Thanks!

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3D4556BC.5E488BBF@yahoo.com...
Place a test order and then look at the cookie that is placed when you
complete the order. There is no documentation on the format of the
cookie, but it is pretty simple.

-Loren



Marianne Cooley wrote:

Loren,

Is there information about setting the cookie that shopsite does? If we
can
do that, then we can make happen what we would like for when billing.cgi
comes up. We are running ShopSite 6.1.

Thanks,
Marianne

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3D419336.C52BD987@yahoo.com...
1. Yes, if you are using ShopSite v5 or greater. To see an example in
v5
you
will need to make a test page and test product (assign the product to
the
page)
and in the Product Layout check the checkboxes to display a Quantity
box
and the
pull-down menu ordering options. When the page is generate you can
look at
the
source to see the FORM for the individual product. In v6 if you want
to
see
this, just check those checboxes in a product, then go to
Merchandising -
OrderAnywhere, select that prodiuct and hit the Display HTML to see
the
complete
FORM for that product.

2. No. You are passing the item to order.cgi. The billing information
is
in
collecting in billing.cgi. The only way you could prepopulate any of
that
stuff
is by setting the cookie that ShopSite sets for the same purpose when
someone
orders.

3. Since it can't be done, there is no list. The only things that can
be
passed
to order.cgi via a post are the storeid, Quantity, ordering options,
and
the
itemnum. In v6.1 you can add products via the same FORM, so you can
do
things
like radio buttons or checkboxes to determine which items get added to
the
cart
when the submit button is pressed.

-Loren


Marianne Cooley wrote:

Hi,

A few questions at the moment.

1. I currently have the submit button on my form link to ShopSite
with a
url
which includes the itemnum. Is it possible to use a post command on
the
form to do the same thing?

2. And, is it possible to pass additional parameters when we do this
(such
as first name, last name, etc) which have already been collected so
that
certain billing information in ShopSite comes up already populated?

3. Is there a list of these parameters somewhere? I haven't found
them
clearly spelled out in the documentation.

Thanks,
Marianne
Marianne Cooley
 

Re: passing parameters to ShopSite

Postby loren_d_c » Tue Jul 30, 2002 11:25 am

The sbid cookie is what associates the shopper with the particular items they
have placed in their cart. You don't want to mess with this.

The SSMBSuperCookie is the name of the cookie that contains the address
information, I believe it is the one you are interested in. This cookie is
normally placed by thankyou.cgi when the shopper completes their first order,
and is read by billing.cgi the next time they return to the store to prepopulate
the address fields when they Checkout again.

-Loren


Marianne Cooley wrote:

I found a cookie default@sb[6].txt and it includes

some numbers after the url in the cookie. These numbers are in common with
other /previous shopsite cookies on my drive. Where do those go/come from?
These are in a cookie where the first line of the file is: SSMBSuperCookie

There is another cookie placed 2 minutes earlier in the process (it does not
include address, etc --saved from a previous visit) and it looks like this:

sbid
SSMSB1027538857.14623

...

1536
438280192
29578898
2512724192
29505523
*

(The numbers above are in common in the two cookies.)

If we want to write the address from the prior form to a shopsite cookie, we
must write it to the SSMB cookie? Just checking.

Thanks!

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3D4556BC.5E488BBF@yahoo.com...
Place a test order and then look at the cookie that is placed when you
complete the order. There is no documentation on the format of the
cookie, but it is pretty simple.

-Loren



Marianne Cooley wrote:

Loren,

Is there information about setting the cookie that shopsite does? If we
can
do that, then we can make happen what we would like for when billing.cgi
comes up. We are running ShopSite 6.1.

Thanks,
Marianne

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3D419336.C52BD987@yahoo.com...
1. Yes, if you are using ShopSite v5 or greater. To see an example in
v5
you
will need to make a test page and test product (assign the product to
the
page)
and in the Product Layout check the checkboxes to display a Quantity
box
and the
pull-down menu ordering options. When the page is generate you can
look at
the
source to see the FORM for the individual product. In v6 if you want
to
see
this, just check those checboxes in a product, then go to
Merchandising -
OrderAnywhere, select that prodiuct and hit the Display HTML to see
the
complete
FORM for that product.

2. No. You are passing the item to order.cgi. The billing information
is
in
collecting in billing.cgi. The only way you could prepopulate any of
that
stuff
is by setting the cookie that ShopSite sets for the same purpose when
someone
orders.

3. Since it can't be done, there is no list. The only things that can
be
passed
to order.cgi via a post are the storeid, Quantity, ordering options,
and
the
itemnum. In v6.1 you can add products via the same FORM, so you can
do
things
like radio buttons or checkboxes to determine which items get added to
the
cart
when the submit button is pressed.

-Loren


Marianne Cooley wrote:

Hi,

A few questions at the moment.

1. I currently have the submit button on my form link to ShopSite
with a
url
which includes the itemnum. Is it possible to use a post command on
the
form to do the same thing?

2. And, is it possible to pass additional parameters when we do this
(such
as first name, last name, etc) which have already been collected so
that
certain billing information in ShopSite comes up already populated?

3. Is there a list of these parameters somewhere? I haven't found
them
clearly spelled out in the documentation.

Thanks,
Marianne
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: passing parameters to ShopSite

Postby Marianne Cooley » Wed Jul 31, 2002 10:49 am

Sorry to be going on and on here:

If it is someone's first order, I understand easily what to write to the
cookie for the contact info that we want to populate on the billing screen
and the line in the cookie for the server name. However, I don't know
where/how the lines of numbers which follow that are created. Will we need
to populate those in the cookie -- or can we just not go there and figure
that shopsite will update it when it gets through the thankyou.cgi?

Again, the format of those numbers in my file looks like:
1536
438280192
29578898
3604124192
29505523
*
"Loren" <loren_d_c@yahoo.com> wrote in message
news:3D46DA26.36964850@yahoo.com...
The sbid cookie is what associates the shopper with the particular items
they
have placed in their cart. You don't want to mess with this.

The SSMBSuperCookie is the name of the cookie that contains the address
information, I believe it is the one you are interested in. This cookie is
normally placed by thankyou.cgi when the shopper completes their first
order,
and is read by billing.cgi the next time they return to the store to
prepopulate
the address fields when they Checkout again.

-Loren


Marianne Cooley wrote:

I found a cookie default@sb[6].txt and it includes

some numbers after the url in the cookie. These numbers are in common
with
other /previous shopsite cookies on my drive. Where do those go/come
from?
These are in a cookie where the first line of the file is:
SSMBSuperCookie

There is another cookie placed 2 minutes earlier in the process (it does
not
include address, etc --saved from a previous visit) and it looks like
this:

sbid
SSMSB1027538857.14623

...

1536
438280192
29578898
2512724192
29505523
*

(The numbers above are in common in the two cookies.)

If we want to write the address from the prior form to a shopsite
cookie, we
must write it to the SSMB cookie? Just checking.

Thanks!

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3D4556BC.5E488BBF@yahoo.com...
Place a test order and then look at the cookie that is placed when you
complete the order. There is no documentation on the format of the
cookie, but it is pretty simple.

-Loren



Marianne Cooley wrote:

Loren,

Is there information about setting the cookie that shopsite does?
If we
can
do that, then we can make happen what we would like for when
billing.cgi
comes up. We are running ShopSite 6.1.

Thanks,
Marianne

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3D419336.C52BD987@yahoo.com...
1. Yes, if you are using ShopSite v5 or greater. To see an example
in
v5
you
will need to make a test page and test product (assign the product
to
the
page)
and in the Product Layout check the checkboxes to display a
Quantity
box
and the
pull-down menu ordering options. When the page is generate you can
look at
the
source to see the FORM for the individual product. In v6 if you
want
to
see
this, just check those checboxes in a product, then go to
Merchandising -
OrderAnywhere, select that prodiuct and hit the Display HTML to
see
the
complete
FORM for that product.

2. No. You are passing the item to order.cgi. The billing
information
is
in
collecting in billing.cgi. The only way you could prepopulate any
of
that
stuff
is by setting the cookie that ShopSite sets for the same purpose
when
someone
orders.

3. Since it can't be done, there is no list. The only things that
can
be
passed
to order.cgi via a post are the storeid, Quantity, ordering
options,
and
the
itemnum. In v6.1 you can add products via the same FORM, so you
can
do
things
like radio buttons or checkboxes to determine which items get
added to
the
cart
when the submit button is pressed.

-Loren


Marianne Cooley wrote:

Hi,

A few questions at the moment.

1. I currently have the submit button on my form link to
ShopSite
with a
url
which includes the itemnum. Is it possible to use a post
command on
the
form to do the same thing?

2. And, is it possible to pass additional parameters when we do
this
(such
as first name, last name, etc) which have already been collected
so
that
certain billing information in ShopSite comes up already
populated?

3. Is there a list of these parameters somewhere? I haven't
found
them
clearly spelled out in the documentation.

Thanks,
Marianne

Marianne Cooley
 

Re: passing parameters to ShopSite

Postby loren_d_c » Wed Jul 31, 2002 11:14 am

I don't know that those are anything you have to worry about, I think those
numbers are placed there by the IE browser, and only mean something to it
internally. ShopSite does not write them, either.

-Loren


Marianne Cooley wrote:

Sorry to be going on and on here:

If it is someone's first order, I understand easily what to write to the
cookie for the contact info that we want to populate on the billing screen
and the line in the cookie for the server name. However, I don't know
where/how the lines of numbers which follow that are created. Will we need
to populate those in the cookie -- or can we just not go there and figure
that shopsite will update it when it gets through the thankyou.cgi?

Again, the format of those numbers in my file looks like:
1536
438280192
29578898
3604124192
29505523
*
"Loren" <loren_d_c@yahoo.com> wrote in message
news:3D46DA26.36964850@yahoo.com...
The sbid cookie is what associates the shopper with the particular items
they
have placed in their cart. You don't want to mess with this.

The SSMBSuperCookie is the name of the cookie that contains the address
information, I believe it is the one you are interested in. This cookie is
normally placed by thankyou.cgi when the shopper completes their first
order,
and is read by billing.cgi the next time they return to the store to
prepopulate
the address fields when they Checkout again.

-Loren


Marianne Cooley wrote:

I found a cookie default@sb[6].txt and it includes

some numbers after the url in the cookie. These numbers are in common
with
other /previous shopsite cookies on my drive. Where do those go/come
from?
These are in a cookie where the first line of the file is:
SSMBSuperCookie

There is another cookie placed 2 minutes earlier in the process (it does
not
include address, etc --saved from a previous visit) and it looks like
this:

sbid
SSMSB1027538857.14623

...

1536
438280192
29578898
2512724192
29505523
*

(The numbers above are in common in the two cookies.)

If we want to write the address from the prior form to a shopsite
cookie, we
must write it to the SSMB cookie? Just checking.

Thanks!

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3D4556BC.5E488BBF@yahoo.com...
Place a test order and then look at the cookie that is placed when you
complete the order. There is no documentation on the format of the
cookie, but it is pretty simple.

-Loren



Marianne Cooley wrote:

Loren,

Is there information about setting the cookie that shopsite does?
If we
can
do that, then we can make happen what we would like for when
billing.cgi
comes up. We are running ShopSite 6.1.

Thanks,
Marianne

"Loren" <loren_d_c@yahoo.com> wrote in message
news:3D419336.C52BD987@yahoo.com...
1. Yes, if you are using ShopSite v5 or greater. To see an example
in
v5
you
will need to make a test page and test product (assign the product
to
the
page)
and in the Product Layout check the checkboxes to display a
Quantity
box
and the
pull-down menu ordering options. When the page is generate you can
look at
the
source to see the FORM for the individual product. In v6 if you
want
to
see
this, just check those checboxes in a product, then go to
Merchandising -
OrderAnywhere, select that prodiuct and hit the Display HTML to
see
the
complete
FORM for that product.

2. No. You are passing the item to order.cgi. The billing
information
is
in
collecting in billing.cgi. The only way you could prepopulate any
of
that
stuff
is by setting the cookie that ShopSite sets for the same purpose
when
someone
orders.

3. Since it can't be done, there is no list. The only things that
can
be
passed
to order.cgi via a post are the storeid, Quantity, ordering
options,
and
the
itemnum. In v6.1 you can add products via the same FORM, so you
can
do
things
like radio buttons or checkboxes to determine which items get
added to
the
cart
when the submit button is pressed.

-Loren


Marianne Cooley wrote:

Hi,

A few questions at the moment.

1. I currently have the submit button on my form link to
ShopSite
with a
url
which includes the itemnum. Is it possible to use a post
command on
the
form to do the same thing?

2. And, is it possible to pass additional parameters when we do
this
(such
as first name, last name, etc) which have already been collected
so
that
certain billing information in ShopSite comes up already
populated?

3. Is there a list of these parameters somewhere? I haven't
found
them
clearly spelled out in the documentation.

Thanks,
Marianne

loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 66 guests

cron