Skip to content

d90mhz/JsonPriceFix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JsonPriceFix

Overview

Magento CE 1.9.3 does not update prices on configurable or bundles products properly. The cloned price which is often used is themes is not updated.

<span class="regular-price" id="product-price-161_clone">

The cloned price is hidden on Magento's RWD theme but as it is hidden it, it has little impact.

The price is not updated due to a new file which was added in Magento 1.9.3: app/code/core/Mage/Catalog/Helper/Product/Type/Composite.php

This file removes the _clone value on the idSuffix key from the Product.OptionsPrice JSON object e.g."idSuffix":"_clone". This value is required on line 218 of js/varien/product_options.js to update the cloned price.

$(pair.value+this.duplicateIdSuffix).select('.price')[0].innerHTML = formattedPrice;

This Magento module fixes this issue by using the preferred method of class rewrites for updating this new Magento core file to add the _clone value back in.

Installation

  • Download latest version here.
  • Unzip to Magento root folder.
  • Clear cache.
  • The price should now update correctly.

About

Fixes issue on Magento 1.9.3 release that does not correctly updated pricing on bundles & configurable products.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • PHP 100.0%