Hello,
I'm currently building a solution for one of our customers. Im running into the following issue:
When displaying prices for a product (or any for that matter) I am seeing different results in the price that are present in the template tags. What I've found out so far is that the difference occurs when I'm logged into the DW backend.
Heres an example:
Both examples below are from the same product.
When printing @product.TemplateTags() whilst being logged in to the webshop as (any) user:
Ecom:Product.ActualPrice |
System.String |
€ 96.20 |
Ecom:Product.ActualPriceWithoutVAT |
System.String |
€ 96.20 |
Ecom:Product.ActualPriceWithoutVATWithTaxes |
System.String |
€ 96.20 |
Ecom:Product.ActualPriceWithVAT |
System.String |
€ 96.20 |
Ecom:Product.ActualPriceWithVATWithTaxes |
System.String |
€ 96.20 |
Ecom:Product.Price |
System.String |
€ 96.20 |
Whilst being logged into the webshop as (any) user AND being logged into the DW backend as administrator.
Ecom:Product.ActualPrice |
System.String |
€ 57.72 |
Ecom:Product.ActualPriceWithoutVAT |
System.String |
€ 57.72 |
Ecom:Product.ActualPriceWithoutVATWithTaxes |
System.String |
€ 57.72 |
Ecom:Product.ActualPriceWithVAT |
System.String |
€ 57.72 |
Ecom:Product.ActualPriceWithVATWithTaxes |
System.String |
€ 57.72 |
Ecom:Product.Price |
System.String |
€ 57.72 |
I've done some testing and found out that all users that log in to the webshop see the wrong prices (i.e. € 96.20). Any user that logs into the DW backend using the administrator account and his/her own login credentials for the webshop see the proper prices (i.e. € 57.72).
The prices are stored in the product -> prices section (see attachment)
I've tried this on core 8.8.1.16 and 8.9.0.2 and both produce the same result.
Thanks
Maarten.