Currently I use the following code in
addtocart.phtml To get animal pricing data:
$allTiers = $_product->getTierPrice(); $checktiers = array_values($allTiers); $tierPrices = json_encode($checktiers);
This only works for simple products and not for configurable products that contain simple products. The output on the configurable products is always returned
How can I retrieve pricing data from a configurable product that contains several simple products?
Thank you in advance…!!!