I just upgraded to Magento, and all my configurable products are displaying $0 for pricing. The pricing displays correctly on the catalog page and even when you add-to-cart, just not working on the product page. Not sure how to get this back up and working as I am a rookie to Magento. Please advise. Thanks!

So after some troubleshooting, I've found out that our pricing is working on configurable products only if it doesn't have "in-stock" items. As soon as you add inventory on the simple product, everything goes to Zero on product page.

When I delete this custom file in our theme, pricing works. Anyone able to tell me what is invalid in this file for Would be amazing to get input.

$_product = $this->getProduct();
$_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes());
$_jsonConfig = $this->getJsonConfig();
$_renderers = $this->getChild('attr_renderers')->getSortedChildren();
<?php if ($_product->isSaleable() && count($_attributes)): ?>
        <?php foreach ($_attributes as $_attribute): ?>
            $_rendered = false;
            foreach ($_renderers as $_rendererName):
                $_renderer = $this->getChild('attr_renderers')->getChild($_rendererName);
                if (method_exists($_renderer, 'shouldRender') && $_renderer->shouldRender($_product, $_attribute, $_jsonConfig)):
                    echo $_renderer->toHtml();
                    $_rendered = true;

            if (!$_rendered):
                <label class="required"><em>*</em><?php echo $_attribute->getLabel() ?></label>
                <dd<?php if ($_attribute->decoratedIsLast)
            { ?> class="last"<?php } ?>>
                    <div class="input-box">
                        <select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?><?php echo $_product->getId() ?>" class="required-entry super-attribute-select_<?php echo $_product->getId() ?> no-display">
                            <option><?php echo $this->__('Choose an Option...') ?></option>
            <?php endif; ?>
    <?php endforeach; ?>
    <script type="text/javascript">
        var spConfig_<?php echo $_product->getId(); ?> = new Jennyyoo_Product.Config(<?php echo $_jsonConfig ?>);
    <?php echo $this->getChildHtml('after') ?>
<?php endif; ?>

Just try reindexing your catalog and flushing cache.

If it does not work and you have custom modules try selectivery to disable them by editing XML config files in app/etc/modules. Flush cache at every step to see results.

It could also be a template issue, see if it works by setting back the deafult theme.

| improve this answer | |
  • I've tried re-indexing and flushing cache, and nothing. However, when I refresh the page, you can see the correct pricing for 1 split second, then they all go to $0. How do i go about disabling the xml files? – Elva Sandoval Feb 19 '16 at 20:01
  • Just setting <active>false</active>, but it seems to me more a template issue, before deactivating custom odules try switching back to deafult theme. Are you using SimpleConfigurableProducts ? – Phoenix128_RiccardoT Feb 19 '16 at 20:24
  • Hi so I just found out that when I set simple product inventory to "Zero" the configurable product pricing and Made to Order pricing display just fine. But when the item has in-stock inventory for "Simple" product, it reverts all to $0. Yes we are using SimpleConfigurableProducts. This product works [jennyyoo.com/index.php/lucy.html] This one doesn't because it has Inventory [ jennyyoo.com/index.php/adelle.html] – Elva Sandoval Feb 19 '16 at 20:31
  • Make sure you have the last version of SimpleConfigurableProducts, you may have an aoutdated version. – Phoenix128_RiccardoT Feb 19 '16 at 20:34
  • 1
    No problem, you just need to upgrade your theme to be compliant – Phoenix128_RiccardoT Feb 19 '16 at 21:02

I had faced this type of issue recently.I have updated my Magento version to, After updated to new version, if i select the price of product, that cost is showing normally fine till here. The main problem is, if i select the any Custom option like color, size That product's price is showing ZERO.


First of all, we need to go to this path

app/design/your package/yourtheme/template/catalog/product/view/options.phtml

Search for this script

price += parseFloat(config[optionId][element.getValue()]);

Replace with

price += parseFloat(config[optionId][element.getValue()].price);
| improve this answer | |
  • I don't have this in my code? – Elva Sandoval Feb 20 '16 at 5:31
  • okay , dont worry. get the congigurable.phtml file from base folder – Teja Bhagavan Kollepara Feb 20 '16 at 5:34
  • I'm also getting this error ReferenceError: spConfig is not defined – Elva Sandoval Feb 20 '16 at 5:35
  • replace once, your configurable.phtml with base/default folder's configurable.phtml – Teja Bhagavan Kollepara Feb 20 '16 at 5:36
  • I did that, and it resolves the pricing issue, but then my product options go back to being "Drop Down" menus instead of images that customers can select. Here's what it's supposed to look like under "Ready to Ship" but you'll notice pricing is all $0.00 [ jennyyootest.com/index.php/willow-9806.html] – Elva Sandoval Feb 20 '16 at 5:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.