[ic] Tracking previous prices of items on promotion?

Ron Phipps rphipps@reliant-solutions.com
Mon, 12 Feb 2001 23:29:48 -0800

Here's a quick solution.  Have a old_price field in the products table.
Then modify where the special is displayed to pull 'Was [item field
old_price], now [item-price]'  This only requires the need to change the
products table (don't forget to update the products file in the dbconf
directory for your db platform) and the specials template.  Good luck.

P.S. Any solution should not re-code IC, it is very extensible :)


----- Original Message -----
From: "Paul Du Bois" <paul@dotz.co.za>
To: <interchange-users@lists.akopia.com>
Sent: Monday, February 12, 2001 11:14 PM
Subject: [ic] Tracking previous prices of items on promotion?

> Hi list
> OK so I'm a Perl dude, whos been playing with Interchange for the last few
> months, and here's a problem for you all:
> I've got a client who wants his storefront to display the specials in a
> of "Was $xx, now $yy" format.  That means that I've got to track the old
> price somehow.  The only way I see clear is by getting clever with the
> current item fields, and pasting the old price into say long description
> (making sure long desc. contains only the price), changing the actual
> field to the new price, and then using some MML to get it to display
> Before I go ahead with this detour, anyone got a shortcut that does not
> involve me having to recode half of IC?
> Thanks
> _______________________________________________
> Interchange-users mailing list
> Interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users