Action after Adding Product to Cart

General ShopSite user discussion

Action after Adding Product to Cart

Postby Rick » Wed Mar 23, 2005 8:30 pm

Does anyone know of a way to define the page that is displayed after an item
is added to the cart? I want the shopper to be taken to a specific page,
other than the cart or the same product page. Is this possible?
--
Thank you and have a great day,

Wizard Empire Inc
Rick Steven

www.WizardEmpire.com
Rick
 

Re: Action after Adding Product to Cart

Postby Jim » Thu Mar 24, 2005 8:54 am

There is no method built into shopsite that will allow for a page
between clicking the add to cart button and the shopping cart.

The only way you might be able to do something like this would be to
create a cgi that replaces the shopsite order.cgi and does what you want
to do and then have that cgi call the shopsite cgi with the appropriate
parameters. The problem with doing this is that the order.cgi calls
itself several time while setting and checking shopping cart cookies so
the name of the shopsite order.cgi can not be changed. So this isn't
something that could be done easily.

Jim

Rick wrote:
Does anyone know of a way to define the page that is displayed after an item
is added to the cart? I want the shopper to be taken to a specific page,
other than the cart or the same product page. Is this possible?
Jim
 

Re: Action after Adding Product to Cart

Postby Chris » Thu Mar 24, 2005 9:11 am

What type of page are you trying to redirect a person to?

If it will work in a pop-up window, maybe you can add a javascript that will pop
up the window at the onClick or onSubmit event handler. This way the window you
want will be seen before the shopping cart page, even as the cart loads
underneath.

Just a thought....

Chris

mlcswoodworking.com

Jim wrote:

There is no method built into shopsite that will allow for a page
between clicking the add to cart button and the shopping cart.

The only way you might be able to do something like this would be to
create a cgi that replaces the shopsite order.cgi and does what you want
to do and then have that cgi call the shopsite cgi with the appropriate
parameters. The problem with doing this is that the order.cgi calls
itself several time while setting and checking shopping cart cookies so
the name of the shopsite order.cgi can not be changed. So this isn't
something that could be done easily.

Jim

Rick wrote:
Does anyone know of a way to define the page that is displayed after an item
is added to the cart? I want the shopper to be taken to a specific page,
other than the cart or the same product page. Is this possible?
Chris
 

Re: Action after Adding Product to Cart

Postby Rick » Thu Mar 24, 2005 9:16 am

Thanks for the help Jim,

I'll tell you exactly what I am trying to do, and maybe you can help with a
creative workaround:

We sell personalized wine and we sell gift baskets. We also give our
customers the opportunity to substitute the normal wines we would put in the
baskets with personalized wines. The problem is that if the customer
chooses to include personalized wines, we need a way to add the basket to
the cart and subsequently let them choose their label design, personalize
it, and add that to the cart as well.

The way we currently do this (
http://winegiftclub.com/wine-gift-baske ... -smpl.html )
is shown here. After they add the basket to the cart, they are taken to a
page showing the label templates, with nowhere to go except forward (or
back), and it works well.

I am rebuilding our site to use ShopSite, and this is one of my big
obstacles so far. Any ideas?

--
Thank you and have a great day,

Wizard Empire Inc
Rick Steven

www.WizardEmpire.com

"Jim" <jstavast@xmission.com> wrote in message
news:d1ukbi$dto$1@eval.shopsite.com...
There is no method built into shopsite that will allow for a page between
clicking the add to cart button and the shopping cart.

The only way you might be able to do something like this would be to
create a cgi that replaces the shopsite order.cgi and does what you want
to do and then have that cgi call the shopsite cgi with the appropriate
parameters. The problem with doing this is that the order.cgi calls
itself several time while setting and checking shopping cart cookies so
the name of the shopsite order.cgi can not be changed. So this isn't
something that could be done easily.

Jim

Rick wrote:
Does anyone know of a way to define the page that is displayed after an
item is added to the cart? I want the shopper to be taken to a specific
page, other than the cart or the same product page. Is this possible?
Rick
 

Re: Action after Adding Product to Cart

Postby Jim » Thu Mar 24, 2005 9:46 am

From what I see on the site you gave the link for, you don't need to do
an add to cart at the point where they choose to do the private label
option. You just need to direct to another page in your store that
allows them to select the label and customize it (and choose 1 or 2
bottles). When they have finished their customization they submit the
item to the cart. This would require a custom template but shouldn't be
too hard to do.

If you have ShopSite 7.1 this would be similar to the way the Gift
Certificates are ordered. A link is placed on a store page, clicking
that link takes you to a page where you specify the gift certificate
amount, who it is from, who it goes to, and a message. And when they
click Purchase the Gift certificate is put in the cart. Very similar to
what you want to do.

Jim


Rick wrote:
Thanks for the help Jim,

I'll tell you exactly what I am trying to do, and maybe you can help with a
creative workaround:

We sell personalized wine and we sell gift baskets. We also give our
customers the opportunity to substitute the normal wines we would put in the
baskets with personalized wines. The problem is that if the customer
chooses to include personalized wines, we need a way to add the basket to
the cart and subsequently let them choose their label design, personalize
it, and add that to the cart as well.

The way we currently do this (
http://winegiftclub.com/wine-gift-baske ... -smpl.html )
is shown here. After they add the basket to the cart, they are taken to a
page showing the label templates, with nowhere to go except forward (or
back), and it works well.

I am rebuilding our site to use ShopSite, and this is one of my big
obstacles so far. Any ideas?
Jim
 

Re: Action after Adding Product to Cart

Postby Rick » Thu Mar 24, 2005 10:00 am

Thanks Jim,

But where does the gift basket get added to the cart, specifying that they
chose to include the personalized wines instead of the normal wines?

--
Thank you and have a great day,

Wizard Empire Inc
Rick Steven

www.WizardEmpire.com
"Jim" <jstavast@xmission.com> wrote in message
news:d1und0$fkf$1@eval.shopsite.com...
From what I see on the site you gave the link for, you don't need to do an
add to cart at the point where they choose to do the private label option.
You just need to direct to another page in your store that allows them to
select the label and customize it (and choose 1 or 2 bottles). When they
have finished their customization they submit the item to the cart. This
would require a custom template but shouldn't be too hard to do.

If you have ShopSite 7.1 this would be similar to the way the Gift
Certificates are ordered. A link is placed on a store page, clicking that
link takes you to a page where you specify the gift certificate amount,
who it is from, who it goes to, and a message. And when they click
Purchase the Gift certificate is put in the cart. Very similar to what
you want to do.

Jim


Rick wrote:
Thanks for the help Jim,

I'll tell you exactly what I am trying to do, and maybe you can help with
a creative workaround:

We sell personalized wine and we sell gift baskets. We also give our
customers the opportunity to substitute the normal wines we would put in
the baskets with personalized wines. The problem is that if the customer
chooses to include personalized wines, we need a way to add the basket to
the cart and subsequently let them choose their label design, personalize
it, and add that to the cart as well.

The way we currently do this (
http://winegiftclub.com/wine-gift-baske ... -smpl.html )
is shown here. After they add the basket to the cart, they are taken to
a page showing the label templates, with nowhere to go except forward (or
back), and it works well.

I am rebuilding our site to use ShopSite, and this is one of my big
obstacles so far. Any ideas?
Rick
 


Return to User Forum

Who is online

Users browsing this forum: No registered users and 76 guests