[ic] Setting values in tags

René interchange at hertell.com
Wed Jun 13 10:14:13 UTC 2018


>> I stumbled now into a new problem.. :-( Is there a way to get eg the current
>> sku from the flypage into a template-component?
> 
> Using scratch?
> 
> http://www.icdevgroup.org/xmldocs/glossary/scratch.html

I tried that:

Adding this on flypage.html
[set foocode][item-code][/set]
[scratch foocode]

This shows the item-code on every page correctly

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

page            Scratch-value in product_tree
site.tld/item1  [empty]
site.tld/item2  item1
site.tld/item3  item2

I remember there was some trick to get this done, but i can't remember 
it anymore :-(

René



More information about the interchange-users mailing list