PrestaShop/PrestaShop
Multistore - product listing doesn't show the correct price if using different taxes
オープン
#36,539 opened on 2024/07/12
9.0.xBOBugGood first issueMajorMultistoreProducts PageReadyTax rulesVerified
Repository metrics
- Stars
- (7,621 個のスター)
- PR merge metrics
- (平均マージ 26d 17h) (30d で 116 merged PRs)
説明
Prerequisites
- I understand and accept the project's code of conduct.
- I have already searched in existing issues and found no previous report of this bug.
Describe the bug and add attachments
Backend showing wrong tax on multistore when in listing. Based on 20% tax and 21% tax for second store.
Path to file src/Core/Grid/Query/ProductQueryBuilder.php
public function getSearchQueryBuilder
WRONG!
->addSelect('p.id_tax_rules_group')
GOOD
->addSelect('ps.id_tax_rules_group')
Expected behavior
No response
Steps to reproduce
- setup 2 multistore
- setup 2 taxes
- setup taxes per stores
- update product in one store
- go to second and price in listing showing wrong (detail good)
PrestaShop version(s) where the bug happened
8.1.0
PHP version(s) where the bug happened
8.1.0
If your bug is related to a module, specify its name and its version
No response
Your company or customer's name goes here (if applicable).
No response