1

Currently, I am using the following code in view.phtml to retrieve tier price data:

var Tier_Prices = <?php echo json_encode($_product->getTierPrice()) ?>;

This only works for simple products and not configurable products that contain simple products. The output on the configurable products shows as:

var Tier_Prices = [];

My question is how do I retrieve or preload tier price data from a configurable product that contains multiple simple products?

closed as too broad by Sander Mangel, philwinkle, Keyul Shah, Amit Bera, Mufaddal Nov 8 '14 at 5:00

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.