HERE IS MY RTML:
Sale-price-no-price ()
HEAD
TITLE "Untitled"
BODY
FOR-EACH-OBJECT WHOLE-CONTENTS
WHEN AND
NOT @price
@sale-price
WITH-LINK TO id
TEXT id
TEXT " "
HERE IS THE ACTUAL RESULTING PAGE:
These items have a sale-price, but no price, which screws up my SAVINGS template.
Please fix by moving the sale-price amount into the price field. Easiest way to do this is to make a new page. Copy all the IDS into the CONTENTS field. Update. Hit EDIT ALL. Easy peasy. -- Rob
DOG-HOUSE DOEFECOSYWIW GUN-DOG-MAGAZINE-APRIL-MAY-2006 GUN-DOG-MAGAZINE-JUNE-JULY-06 PEWTERKEYRING POINTINGDOGJOURNALMARCHAPRIL2006 REDPLASDUMWI REFOLOLA RESIXLOLA RESIXRIGATO REPHAPJAC SMARTWORK-WATER-FORCE-SWIM TRITSPORHOL1 SPSEWOODUCAR STAINLESSSTEEL3QUARTBOWL DAVE-WALKER-MANUAL REJOVOVINU3M TRACMAXDUOWI TRANFOREDTAN G2-HOLSTER WILDFOWLAPRILMAY2006 WIDOREMAW WISIREMACAW WISIWHW
This utility took maybe 5 minutes to code in RTML and fix a 5000 item store. I actually hand code the Instructions into the RTML so I can remember why I wrote it in the first place. I love RTML. -- Rob
Comments