Prestashop: Prices with VAT not calculated/displayed properly when not logged in

Created on 4 Jul 2019  路  14Comments  路  Source: PrestaShop/PrestaShop

All prices are displayed without VAT for users that aren't logged in.

The shop is set up wilth multi store:

  • The first shop has no problem with prices
  • The second shop is showing prices without VAT if not logged in.

I've already checked the groups settings and they are the same for both stores.

Additionnal information
PrestaShop version: 1.7.5.2
PHP version: 7.2

1.7.5.2 Bug Customer groups Duplicate FO Multistore Taxes and Prices

All 14 comments

Hi @nielsverhoeven84,

I did not manage to reproduce the issue with PS1.7.5.2 & PS1.7.6.0rc1.
I attached a screen record.
https://drive.google.com/file/d/1hBHO8aeyReNqkVdKbwwC4oBtHvT1PRZ7/view
Thanks to check & feedback.

Hello @khouloudbelguith,

For every customer group (for my store group and each individual store) it shows inclusief belasting, the value of that option is 0.

@nielsverhoeven84, for the customer group, the Price display method is "Tax included" as described in this screenshot
image
What is the exact option which has 0 as a value?

Thanks!

@khouloudbelguith

The HTML is:

<select name="price_display_method" class=" fixed-width-xl" id="price_display_method">
    <option value="1">Exclusief belasting</option>
    <option value="0" selected="selected">Inclusief belasting</option>
</select>

0 is including taxes, but that is only working on the first store

@nielsverhoeven84, yes, about the HTML, it is normal =>

  • Value 1 => for the Tax excluded
  • Value 0 => for the Tax included

image
About your issue, We need to retrieve the PHP error log and the debug mode report in order to find out what's wrong.

Thanks!

I've solved this issue.

It seemed that customer groups weren't enabled for the second store.

@nielsverhoeven84, thanks for your feedback.
Feel free to open a new one when needed.

Thanks!

I was wrong, after checking more thorough, I saw VAT was still calculated wrong.

Schermafbeelding 2019-07-04 om 15 44 41
Schermafbeelding 2019-07-04 om 15 44 00

@nielsverhoeven84, have you the same issue reported in this ticket: https://github.com/PrestaShop/PrestaShop/issues/14446?

Thanks!

Yes, but it shows differently for logged in / not logged in users.

@nielsverhoeven84, yes, the first issue, in the Fo => Ok
The second issue => in the Bo > product page => similar to #14446, is it?
Thanks!

Yes, it shows all prices without VAT in BO, although VAT of 21% is selected.

@nielsverhoeven84, we are aware of this issue, it is added to our debug roadmap.
Your ticket is a duplicate of #14446
So, I close it.
Thanks !

Duplicate of #14446

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PrestaShark picture PrestaShark  路  3Comments

vincent-dp picture vincent-dp  路  3Comments

wikao2 picture wikao2  路  3Comments

hiousi picture hiousi  路  3Comments

matks picture matks  路  3Comments