Take in consideration the total product count.

This commit is contained in:
MobiusDevelopment 2021-03-03 23:28:49 +00:00
parent 91ee74fc20
commit 009fccfc2a
19 changed files with 19 additions and 19 deletions

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -173,7 +173,7 @@ public class MultisellData implements IXmlReader
continue; continue;
} }
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
products.add(product); products.add(product);

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else

View File

@ -167,7 +167,7 @@ public class MultisellData implements IXmlReader
final Item item = ItemTable.getInstance().getTemplate(id); final Item item = ItemTable.getInstance().getTemplate(id);
if (item != null) if (item != null)
{ {
totalPrice += item.getReferencePrice(); totalPrice += (item.getReferencePrice() * count);
} }
} }
else else