Cancel that! I finally figured out how to get it working.
Ken
Cancel that! I finally figured out how to get it working.
And that solution was???
In article <c2kskt$tt1$1@support.shopsite.com>,
"Chris Moore" <cmoore@alliancedatacom.com> wrote:
Cancel that! I finally figured out how to get it working.
And that solution was???
Sorry.
In my custom page template I assigned variables to the page name and URL:
[-- VAR.local PAGE.FileName --]
[-- VAR.local2 PAGE.Name --]
And in the More Info section of the product template, I use those
variables with:
a href="[-- VAR.local --]"
Return to [--VAR.local2--]</a
By the way, ShopSite helpers, if I have the same product on more than
one page, this doesn't always work. PAGE.FileName and PAGE.Name do not
seem to be read from the current page but from the database record
associated with that product. And apparently it uses the page on which
the product was first placed.
Am I right about that? Or maybe something wrong with the way I am using
these variables?
Thanks,
Ken
You are correct. There is only one moreinfo page for a product. It
gets generated the first time that a product is assigned to a page and
that page is generated. In your case it may get generated differently
if another page, that the product is assigned to, has something changed
and that page and the product have to be regenerate. But it will only
get generated once per any store publish.
In article <c2lrd0$4mm$1@support.shopsite.com>,
Jim <jstavast@xmission.com> wrote:
You are correct. There is only one moreinfo page for a product. It
gets generated the first time that a product is assigned to a page and
that page is generated. In your case it may get generated differently
if another page, that the product is assigned to, has something changed
and that page and the product have to be regenerate. But it will only
get generated once per any store publish.
Thanks, Jim. So is there a better way to handle returning from a More
Info page than what I described in my previous message? Any way to work
around the single generation of a more info page?
I don't consider it a major problem if the shopper is "returned" to a
different page than she might have expected. Just curious to know if
there are better solutions than what I am using.
Ken
You might be able to use some javascript to go back to the page you came
Ken Lanxner wrote:
In article <c2lrd0$4mm$1@support.shopsite.com>,
Jim <jstavast@xmission.com> wrote:
You are correct. There is only one moreinfo page for a product. It
gets generated the first time that a product is assigned to a page and
that page is generated. In your case it may get generated differently
if another page, that the product is assigned to, has something changed
and that page and the product have to be regenerate. But it will only
get generated once per any store publish.
Thanks, Jim. So is there a better way to handle returning from a More
Info page than what I described in my previous message? Any way to work
around the single generation of a more info page?
I don't consider it a major problem if the shopper is "returned" to a
different page than she might have expected. Just curious to know if
there are better solutions than what I am using.
Ken
You might be able to use some javascript to go back to the page you came
from using the history like the browser back button uses.
Jim
Jim,
How can we tie the Jscript into the Continue Shopping button?
Chris
"Jim" <jstavast@xmission.com> wrote in message
news:c2m246$621$1@support.shopsite.com...
Ken Lanxner wrote:
In article <c2lrd0$4mm$1@support.shopsite.com>,
Jim <jstavast@xmission.com> wrote:
You are correct. There is only one moreinfo page for a product. It
gets generated the first time that a product is assigned to a page and
that page is generated. In your case it may get generated differently
if another page, that the product is assigned to, has something
changed
and that page and the product have to be regenerate. But it will only
get generated once per any store publish.
Thanks, Jim. So is there a better way to handle returning from a More
Info page than what I described in my previous message? Any way to
work
around the single generation of a more info page?
I don't consider it a major problem if the shopper is "returned" to a
different page than she might have expected. Just curious to know if
there are better solutions than what I am using.
Ken
You might be able to use some javascript to go back to the page you came
from using the history like the browser back button uses.
Jim
On I usually use
a href="javascript:history.go(-1)">Go Back</a
or a variation of that. But I cant find a way to tie this into the "Continue
Shopping" button on the Shopping Cart. Is there a way?
Chris
"Chris Moore" <cmoore@alliancedatacom.com> wrote in message
news:c2nb8n$iv8$1@support.shopsite.com...
Jim,
How can we tie the Jscript into the Continue Shopping button?
Chris
"Jim" <jstavast@xmission.com> wrote in message
news:c2m246$621$1@support.shopsite.com...
Ken Lanxner wrote:
In article <c2lrd0$4mm$1@support.shopsite.com>,
Jim <jstavast@xmission.com> wrote:
You are correct. There is only one moreinfo page for a product. It
gets generated the first time that a product is assigned to a page and
that page is generated. In your case it may get generated differently
if another page, that the product is assigned to, has something
changed
and that page and the product have to be regenerate. But it will only
get generated once per any store publish.
Thanks, Jim. So is there a better way to handle returning from a More
Info page than what I described in my previous message? Any way to
work
around the single generation of a more info page?
I don't consider it a major problem if the shopper is "returned" to a
different page than she might have expected. Just curious to know if
there are better solutions than what I am using.
Ken
You might be able to use some javascript to go back to the page you came
from using the history like the browser back button uses.
Jim
I was thinking of the MoreInfo page not the shopping cart (that's what I
get for thinking after working hours .
I don't think this will work in the shopping cart because there can be
cases where the shopping cart is redirected back to itself. Like
Recalculate or coming from the registration screen. In those cases
history -1 wouldn't be the page the shopper came from would it?
In article <c2ni6a$kd1$1@support.shopsite.com>,
Jim <jstavast@xmission.com> wrote:
I was thinking of the MoreInfo page not the shopping cart (that's what I
get for thinking after working hours .
I don't think this will work in the shopping cart because there can be
cases where the shopping cart is redirected back to itself. Like
Recalculate or coming from the registration screen. In those cases
history -1 wouldn't be the page the shopper came from would it?
I assumed you meant use JS on the MoreInfo page and was about to answer
Chris when I saw your message to him. The script would need to send the
user back three pages in history. The cart is back one page and the
MoreInfo page itself is back two.
Ken
I could send them back 3 pages, no problem. But how do I tie the jscript
into the "Continue Shopping" button?
In article <c2puuh$9eg$1@support.shopsite.com>,
"Chris Moore" <cmoore@alliancedatacom.com> wrote:
I could send them back 3 pages, no problem. But how do I tie the jscript
into the "Continue Shopping" button?
You will get a more authoritative answer from the ShopSite gurus. But I
would guess that you can't modify the action on the Continue Shopping
button. But if Continue Shopping takes the customer back to the MoreInfo
page, you can use js on that page to direct them elsewhere.
Ken
You can easily change the Continue Shopping button via a custom shopping
cart template in ShopSite v7 (and by being tricky in v6, i.e. use an
invisible gif for the regular Continue Shopping button and putting your
custom one in one of the Preferences -> Store Text -> Shopping Cart
fields that show up on the cart screen somewhere within the form tags).
However I do not believe this is really a good direction to go with this
to get the results you want, you cannot guarantee what page is one, two,
three, etc back in the browser history. The shopper may have gone to the
checkout screen and then hit the return to cart button. Two back in the
history from that point would likely just put you right back on the
shopping cart screen (which would probably confuse the heck out of a
shopper). Or they could have entered their zip code or changed a
quantity or selected a shipping option, and then hit the recalculate
button (and recalculated any number of times). Etc etc.
-Loren
Ken Lanxner wrote:
In article <c2puuh$9eg$1@support.shopsite.com>,
"Chris Moore" <cmoore@alliancedatacom.com> wrote:
I could send them back 3 pages, no problem. But how do I tie the jscript
into the "Continue Shopping" button?
You will get a more authoritative answer from the ShopSite gurus. But
I would guess that you can't modify the action on the Continue
Shopping button. But if Continue Shopping takes the customer back to
the MoreInfo page, you can use js on that page to direct them elsewhere.
Ken
Users browsing this forum: No registered users and 10 guests