Developer forum

Forum » Ecommerce - Standard features » Zero in prices inside product loop ??

Zero in prices inside product loop ??

Nicolai Iversen
Reply

After an upgrade from 8.4.0.18 to 8.4.1. all my product prices inside my product list is zero ?? But on my product detail the prices are OK ?

But .... why... and how to fix ??

 

I'm using this tag in the loop and on the detail...

@GetValue("Ecom:Product.Price.PriceWithoutVATFormatted")

@i.GetValue("Ecom:Product.Price.PriceWithoutVATFormatted")

 

I have tryed the @TemplateTags() and gets..

On my detail page:

Ecom:Product.Price

kr. 80.00

Ecom:Product.Price.Price

80.00

Ecom:Product.Price.PricePIP

8000

Ecom:Product.Price.PriceFormatted

kr. 80.00

Ecom:Product.Price.PriceWithVAT

80.00

Ecom:Product.Price.PriceWithVATFormatted

kr. 80.00

Ecom:Product.Price.PriceWithoutVAT

64.00

Ecom:Product.Price.PriceWithoutVATFormatted

kr. 64.00

Ecom:Product.Price.VAT

16.00

Ecom:Product.Price.VATFormatted

kr. 16.00

Ecom:Product.Price.VATPercent

25

Ecom:Product.Price.VATPercentFormatted

25%

Ecom:Product.Price.IsZero

 

 

Inside my loop:

Ecom:Product.Price

kr. 0.00

Ecom:Product.Price.Price

0.00

Ecom:Product.Price.PricePIP

0

Ecom:Product.Price.PriceFormatted

kr. 0.00

Ecom:Product.Price.PriceWithVAT

0.00

Ecom:Product.Price.PriceWithVATFormatted

kr. 0.00

Ecom:Product.Price.PriceWithoutVAT

0.00

Ecom:Product.Price.PriceWithoutVATFormatted

kr. 0.00

Ecom:Product.Price.VAT

0.00

Ecom:Product.Price.VATFormatted

kr. 0.00

Ecom:Product.Price.VATPercent

25

Ecom:Product.Price.VATPercentFormatted

25%

Ecom:Product.Price.IsZero

true

 


Replies

 
Nicolai Iversen
Reply

I'm using the price Maxtrix in a combination of currency and User groups, 4 prices pr. product, the default price on the product is left as zero.

This model worked fine in 8.4.0.18, but if I in version 8.4.1.19 changes the default price to a known number, I can se that the product list uses the default product price and not the price matrix... But the product detail uses the Price Matrix just fine as expected ??

 
Nicolai Iversen
Reply

I'm creating the price matrix by an import, but to eliminate this import as an problem, I have created some prices by hand, and the problem still persists...

 
Nicolai Iversen
Reply
This post has been marked as an answer

Got it.. with a little help... in the new version PriceUserCustomerNumber needs to be default with <empty string> ....

Votes for this answer: 1
 
Nicolai Høeg Pedersen
Reply

Hi Nicolai

Glad you found the error.

What did you put in the PriceUserCustomerNumber field before?

If we have a change of behavior, it is a bug that needs to be fixed.

BR Nicolai

 
Nicolai Iversen
Reply

Hi Nicolai,

It is a new field in the Ecom provider, compared to the version 8.4.0.18 I used before the upgrade.

But simply upgrading the Site, and editing my Import dit not reviel the field, since the Import makes a map of the fields in the Ecom provider at create time, and keeps this copy even during an upgrade.

So I had to remake my import ( a simple one), in order to get to the new field.

By doing a dbstat=true, i came about the field, but the funny thing is, it is only part of the where clause in the product list, not the sql for the product detail.

I still have the ole Import package and the new in my site if you like to see for yourself.

 

 

You must be logged in to post in the forum