<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 13, 2018 at 5:14 AM, René <span dir="ltr"><<a href="mailto:interchange@hertell.com" target="_blank">interchange@hertell.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I stumbled now into a new problem.. :-( Is there a way to get eg the current<br>
sku from the flypage into a template-component?<br>
</blockquote>
<br>
Using scratch?<br>
<br>
<a href="http://www.icdevgroup.org/xmldocs/glossary/scratch.html" rel="noreferrer" target="_blank">http://www.icdevgroup.org/xmld<wbr>ocs/glossary/scratch.html</a><br>
</blockquote>
<br></span>
I tried that:<br>
<br>
Adding this on flypage.html<br>
[set foocode][item-code][/set]<br>
[scratch foocode]<br>
<br>
This shows the item-code on every page correctly<br>
<br>
Adding [scratch foocode] to a component like product_tree and setting the foocode-scratch on flypage.htm displays the item-code with one page delay, so if i load items in this order<br>
<br>
page            Scratch-value in product_tree<br>
site.tld/item1  [empty]<br>
site.tld/item2  item1<br>
site.tld/item3  item2<br>
<br>
I remember there was some trick to get this done, but i can't remember it anymore :-(<span class="HOEnZb"><font color="#888888"></font></span></blockquote><div><br></div><div>You can find stuff like that in the source. If you are in global code, i.e. your tag, you can use this to set a $Tmp value:<br><br></div><div>          $Vend::Interpolate::Tmp->{flypart} = $Vend::FlyPart; <br></div></div></div></div>