MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

quantity pricing, what am i doing wrong?



I am trying to get a quantity discount working. But I seem to be missing something. I have the following MML (Minivend Markup Language) in my HTML:

  [order [item-code]][item-price][/order]
  [order code="[item-code]" quantity=6][item-price 6][/order]

And I have the following in my pricing.asc:

  code    q6
  item1-100      6
  item1-10       6
  item1-1        6
  item2  8.33
  item3  6
  item4  6
  item5  6

And I have this in my Catalog.cfg:

  CommonAdjust   pricing:q6, ;products:price,

but when I look at it in the page it shows the item 6 quantity. If I take the previous line out of the catalog.cfg then they both show the quantity 1 price. how do I get the first to show quantity 1 pricing & the second to show quantity 6 pricing?

----
Brian Kohles
brian@mediabang.com
minivend@mediabang.com


Search for: Match: Format: Sort by: