I need to make somehow that product would have few prices depending on the amount of products.
What i though is to insert prices with name(definition,title) as amount and price as price into priser module.
Code example i have tried :
"
try
{
Dynamicweb.eCommerce.Prices.Price pr10 = new Dynamicweb.eCommerce.Prices.Price();
pr10.Quantity = Base.ChkDouble(productInterval10);
pr10.Amount = Base.ChkDouble(productPrice10);
pr10.AmountString = Base.ChkString(productPrice10);
pr10.ID = p.ID + "quantity" + pr10.Quantity + "price" + pr10.Amount;
pr10.Save(pr10.ID, p.ID, "DKK");
p.Prices.Add(pr10);
}
catch (Exception e)
{
ScriptStuff.AppendLine(e.Message);
}
And i did not got any exception, but the prices was not added too.
How to make it ?
How to use bulk prices ?
Thank you.



