[ic] Display Quantity Discount in Flypage

Steve Graham interchange-users@interchange.redhat.com
Thu Feb 28 01:04:00 2002


Hello,
Basically, that is what I am doing for price updates, but all I am after 
here is to show quantity breaks in the flypage.html for items that have 
them.

-Steve


>From: cfm@maine.com
>Reply-To: interchange-users@interchange.redhat.com
>To: interchange-users@interchange.redhat.com
>Subject: Re: [ic] Display Quantity Discount in Flypage
>Date: Wed, 27 Feb 2002 19:22:03 -0500
>
>On Wed, Feb 27, 2002 at 11:29:49PM +0000, Steve Graham wrote:
> > Thanks for the tip Jim.
> >
> > Currently I already have another database called group discount which 
>holds
> > the discounts at specific quantity breaks for the various items we have.
> > The break prices are usually at box qty, say 6, and case qty say 36. But
> > with all the differenct mfg's we deal with they are all different. Some
> > have a box qty at 4, and a case at 24, bx at 12, and case at 48. So I 
>have
> > a huge list of qty breaks for each item that has a sku in the pricing 
>file.
> > I have written an external program to apply the discounts in my
> > groupdiscount file to the pricing file - whenever manufacturers have a
> > price increase.
>
>
>Have you considered not handling this in IC at all, but writing an
>external program - a "price server" - of some sort and tying it in
>to IC by overriding the item price routine?  For a handful of manufacturers
>that might not be worth it, it depends on count of "all the different
>mfgs's" and how often pricing changes.  You might well find that the
>rules for one mfg break the rules for another.
>
>Debugging the unintended consequences of one price change could
>make it all worthwhile.
>
> >
> > -Steve
> >
> >
> >
> > >From: Jim Balcom <jim@idk-enterprises.com>
> > >Reply-To: interchange-users@interchange.redhat.com
> > >To: <interchange-users@interchange.redhat.com>
> > >Subject: Re: [ic] Display Quantity Discount in Flypage
> > >Date: Wed, 27 Feb 2002 17:16:37 -0500 (EST)
> > >
> > >MH>>Quoting Steve Graham (dtlgc@hotmail.com):
> > >MH>>> Hello,
> > >MH>>>
> > >MH>>> I would like to display all the different quantity breaks each 
>item
> > >has, and
> > >MH>>> if it doesn't have any don't display, in each items flypage. I 
>have
> > >IC 4.8.3
> > >MH>>> calculating the prices correctly with commonadjust, now I want to
> > >show the
> > >MH>>> potential buyers the qty breaks.
> > >MH>>>
> > >MH>>> I see that [item-price q1], [item-price q5] etc... will show the
> > >breaks, but
> > >MH>>> I have discounts of 1,2,3,5,6,10,12,15,20,25....various up to to 
>250
> > >opr
> > >MH>>> more.
> > >MH>>> If an item has only breaks at say 1,6,12 then I don't want to
> > >display all
> > >MH>>> the redundant breaks in-between.
> > >
> > >My pricing is, for the most part, for single items. If they buy a bag, 
>they
> > >get a better price. If they buy a case, the price is even better.
> > >
> > >I set up CommonAdjust and pricing.txt to deal with all of the various 
>price
> > >break possibilities in the store.
> > >
> > >Then, in products.txt I added 2 fields - one for bag and one for case. 
>I
> > >populated those with the quantity in a bag and the quantity in a case.
> > >
> > >With the help of Tech Support at Red Hat, code was put into the fly 
>page to
> > >read the bag and price fields in products.txt. If they were not empty 
>then
> > >the appropriate fields are read in pricing.txt. The flypage now tells 
>them
> > >how many are in a bag and what the price of a bag is and there is a 
>'buy
> > >now' button for them. Same thing with a case.
> > >
> > >Perhaps this will help you a little?
> > >
> > >-= Jim =-
> > >
> > >----------------------------------------------------------------
> > >Jim's Linux-Operated Underground Bomb Shelter
> > >
> > >Tagline for Wednesday, February 27, 2002 at 17:10 PM:
> > >Useless Invention: Waterproof toilet paper.
> > >
> > >----------------------------------------------------------------
> > >This Linux System has been up 1388 hours
> > >
> > >My web page: http://www.idk-enterprises.com
> > >----------------------------------------------------------------
> > >
> > >_______________________________________________
> > >interchange-users mailing list
> > >interchange-users@interchange.redhat.com
> > >http://interchange.redhat.com/mailman/listinfo/interchange-users
> >
> >
> > _________________________________________________________________
> > Send and receive Hotmail on your mobile device: http://mobile.msn.com
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>--
>
>Christopher F. Miller, Publisher                               
>cfm@maine.com
>MaineStreet Communications, Inc           208 Portland Road, Gray, ME  
>04039
>1.207.657.5078                                         
>http://www.maine.com/
>Content/site management, online commerce, internet integration, Debian 
>linux
>_______________________________________________
>interchange-users mailing list
>interchange-users@interchange.redhat.com
>http://interchange.redhat.com/mailman/listinfo/interchange-users




_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx