Want to retrieve a product’s Magento 2 tier prices as an array and store them in a JavaScript variable for later use? Follow these steps:

You can now access the values from JavaScript, for example using a function that returns the tier price for a given quantity:

Fertig!

Storing and reading tier prices in a JavaScript variable
Need help implementing this solution, or still looking for a fix to your Magento problem? Get in touch and I will be happy to help with your project.
Tags: