[ic] Looking for suggestions

Mike Heins mikeh at perusion.com
Thu Oct 23 02:43:40 UTC 2014


Quoting DB (db at m-and-d.com):
> > On 10/23/2014 02:48 PM, DB wrote:
> >> CommonAdjust   :sale_price, ;:price, ;$, ==:options
> >> 
> >> to
> >> 
> >> CommonAdjust   sku_notes:added_charge, :sale_price, ...
> >> 
> >> changes the price of the sku in question as expected and I can live with
> >> that solution.
> >> 
> >> What I'd prefer however is a way to add the value of
> >> sku_notes.added_charge to the price instead of just replacing the price.
> >> If anyone has a thought on that I'd love to hear it!
> > 
> > Just put it on the end instead:
> > CommonAdjust   :sale_price, ;:price, ;$, ==:options, sku_notes:added_charge
> > 
> > 
> > Peter
> 
> 
> Cool - that works... thanks!  I read the doc page several times but
> failed to see where that particular trick is explained. Maybe I missed
> it in there. May I ask how you came up with that bit of magic?
> 

It's just knowing how it works. Each "atom" in CommonAdjust stands
alone, so that piece works as well in the last slot as in the first.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.765.253.4194  <mike at perusion.com>

Nothing is foolproof to a sufficiently equipped fool. -- unknown



More information about the interchange-users mailing list