This tutorial will put items into a page based off of what the keyword you would like to use off of what field. It runs off of the same template as the “Sale-Items” does but with a couple of changes!
You also must know how to edit RTML for this tutorial.
This is only for the Yahoo! Store Editor V3.
So… If your looking to list all of your sale items into a page please use this tutorial here A Yahoo! Store Showing All Sale Items Automatically!
Also, this tutorial is using one of the other custom tutorial that I have showcased here. Please use this tutorial before continuing with this one. If your not exactly sure on what your doing with the RTML and how it works! [alert_yellow]A Yahoo! Store Custom Item Field![/alert_yellow]
The first thing that we are going to want to do to get this tutorial started is to make the template that calls up the items you would like!
Please remember that for this tutorial I used the phrase “In Stock”.
Store Editor >> Templates >> New Template
For the ID of the template you are going to use what you would like. I used “Instock-items” for mine without the quotes of course! If you are using something other then that, I will show you what you will need to change in the RTML code below.
Now that we started our new “sale-items” (or whatever you called it) template we are going to want it to look like the following below! If you notice that words “In Stock” below the @status, that is what you will need to change if your using something other then In Stock like I am for this tutorial.

After we have completed the “sale-items” template we need to add the call up to display the sale items into the page template. Please remember to change your RTML as needed.
Templates >> page
To get this RTML to show up in the right location in the “page” template just click on the first WITH “WITH= variable displayimg” on the second line and paste the following RTML code after it!

** In the RTML above where the WHEN EQUALS there are the two values. The “id” is set for the page id. The value2 is what the page is called where you would like the items to automatically listed. (Nothing is need to be done, this is just FYI.)
Now that we have the RTML in place we need to go and make a section to display the sale items into or what your are calling your!
Store Editor >> Section
For the page name call in “Sale Items” without the quotes and click update. Now if you see your items there that you have on sale then we would be done!
** Please remember that you may call your sale items page anything you wish, but if you use something other then “Sale Items” you will have change “page” template RTML code to reflect that. Change the Value2 to what ever your call your section.
In order to get your pages id. Upon creating the section push the update button and then click on the edit button to go back into the section’s editor. At the very top is the page “ID”. Copy and Paste that into the value2 field with “:” in front of it, but without the quotes of course.
Now go back to your page template.
Store Editor >> Templates >> Page
Find the RTML that you just added at the bottom and click on the “EQUALS” and edit that and paste your section ID in there to look like the following. The gray box is what you should be changing.

I hope you have successfully added this feature to your Yahoo! store. If you have any question please feel free to ask I am here to help!
...
View all articles by Adam