Skip to content

Commit

Permalink
Merge pull request #3043 from DivanteLtd/bugfix/2940
Browse files Browse the repository at this point in the history
Bugfix/2940
  • Loading branch information
patzick committed Jun 12, 2019
2 parents 1c8a73a + 825d4fe commit b50704f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add support for api.url in the Task module - @basvanpoppel (#3011)

### Fixed
- Special price got zeroed - @pkarw (#2940)
- Microcart tax + discount totals fix - @pkarw (#2892)
- Microcart offline prices now forced down to original prices - @pkarw (#3012)
- Login/Register errorr message added in case of FetchError (no network connectivity) - @pkarw
Expand Down
2 changes: 0 additions & 2 deletions core/modules/catalog/helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,6 @@ export function syncProductPrice (product, backProduct) { // TODO: we probably n
if (product.priceInclTax >= product.originalPriceInclTax) {
product.specialPriceInclTax = 0
product.special_price = 0
} else {
product.special_price = 0 // the same price as original; it's not a promotion
}
Vue.prototype.$bus.$emit('product-after-priceupdate', product)
// Logger.log(product.sku, product, backProduct)()
Expand Down

0 comments on commit b50704f

Please sign in to comment.