[ic] new to interchange, sku reference

Ed LaFrance interchange-users@interchange.redhat.com
Tue Nov 27 15:10:01 2001


At 10:10 AM 11/27/2001 -0800, you wrote:
>I just started using interchange. I have learned alot the last few weeks but
>with my experience it is slow going. One problem I am currently having is
>with changing the SKU reference in a given SKU loop. What I have done is in
>products.txt I have created my items. Most of the items are for download
>after sale.
>
>For example item mm00003 is a high resolution image and respective fields.
>Now, there is also an item mm00003_web which is the same image as the
>previous but lower resolution and maybe smaller size. I felt I needed to
>create TWO seperate entrys like this for every occurance of a hi rez and low
>rez image because That is the only way I could get the respective file "hi
>rez or low rez" to become available after purchase. However Note: I have
>made only one of the entries "available" to the search results page, so I
>won't have redundant results.
>
>Now for the problem- In my search results it finds and displays the info for
>the mm00003. I have place a link, and size information to a flypage for that
>file also in the search results. I have also been able to add a link to the
>low rez mm00003_web fly page next to it by using:
>
><a href="[area [item-code]_web]">[item-code]_web</a>
>
>This works great. Now I want to display the size field for mm00003_web next
>to the link. The current reference would in this instance be mm00003. How
>can I change reference in the results of mm00003 to mm00003_web.
>
>I guess what I want to know is can I in [item-field size], add a suffix to
>"item-code". I know this is wrong but here are some examples of what I am
>going for, to better explain my goal-
>
>[[item-code]_web-field size]
>
>or maybe
>
>[[[item-code]_web]-field size]
>

I *think* I understand what you want... try this:

[loop arg="[item-code]_web"][loop-field size][/loop]

- Ed L.



===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================