Magento 1.9.3.1 option price not update total priceMagento1.9: Price changes to zero after selecting an optionUpdate product custom option price in observerMagento Color/Image Swatches for Multiple Select Custom Options (CE 1.7.x.x)Update price frontend based on custom optionTotal price changes to zero after selecting optionTotal price changes to zero after selecting an optionUpdate product custom option price on product price changeHow to scroll to first error in Magento 1.9 product page?Magento 1.9 custom option update priceOrders showing on account overview but not on historyMagento 2 : Custom Option Price + Finale Price = Show Total in custom options itself?

What is the hottest thing in the universe?

Short comic about alien explorers visiting an abandoned world with giant statues that turn out to be alive but move very slowly

Has the speed of light ever been measured in vacuum?

Is there a way, other than having a Diviner friend, for a player to avoid rolling Initiative at the start of a combat?

What exactly happened to the 18 crew members who were reported as "missing" in "Q Who"?

Minimum population for language survival

Are there liquid fueled rocket boosters having coaxial fuel/oxidizer tanks?

How does the Moon's gravity affect Earth's oceans despite Earth's stronger gravitational pull?

Upside down reversion for a Greek letter

Can anyone help me what's wrong here as i can prove 0 = 1?

How would armour (and combat) change if the fighter didn't need to actually wear it?

Fixing overlapping values

Do I need to start off my book by describing the character's "normal world"?

Is nullptr falsy?

Would molten tin solidify and coat an organic horn?

Attacking the Hydra

Does the Haste spell's hasted action allow you to make multiple unarmed strikes? Or none at all?

How to have a "kinda" unique column

Setting up a Mathematical Institute of Refereeing?

Ghost house where the house only appeared once a year for it was the ghost

What is the opposite of "hunger level"?

What are these panels underneath the wing root of a A380?

Typesetting "hollow slash"

Expressing a chain of boolean ORs using ILP



Magento 1.9.3.1 option price not update total price


Magento1.9: Price changes to zero after selecting an optionUpdate product custom option price in observerMagento Color/Image Swatches for Multiple Select Custom Options (CE 1.7.x.x)Update price frontend based on custom optionTotal price changes to zero after selecting optionTotal price changes to zero after selecting an optionUpdate product custom option price on product price changeHow to scroll to first error in Magento 1.9 product page?Magento 1.9 custom option update priceOrders showing on account overview but not on historyMagento 2 : Custom Option Price + Finale Price = Show Total in custom options itself?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have an issue on simple products with option. When selected the option the price not update.



I need help to solve it.



This is my options.phtml :



 <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category design
* @package base_default
* @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
/* @var $this Mage_Catalog_Block_Product_View_Options */
?>

<?php $_options = Mage::helper('core')->decorateArray($this->getOptions()) ?>
<?php if (count($_options)):?>
<script type="text/javascript">
//<![CDATA[
var optionFileUpload =
productForm : $('product_addtocart_form'),
formAction : '',
formElements : ,
upload : function(element)
this.formElements = this.productForm.select('input', 'select', 'textarea', 'button');
this.removeRequire(element.readAttribute('id').sub('option_', ''));

template = '<iframe id="upload_target" name="upload_target" style="width:0; height:0; border:0;"></iframe>';

Element.insert($('option_'+element.readAttribute('id').sub('option_', '')+'_uploaded_file'), after: template);

this.formAction = this.productForm.action;

var baseUrl = '<?php echo $this->getUrl('*/product/upload') ?>';
var urlExt = 'option_id/'+element.readAttribute('id').sub('option_', '');

this.productForm.action = parseSidUrl(baseUrl, urlExt);
this.productForm.target = 'upload_target';
this.productForm.submit();
this.productForm.target = '';
this.productForm.action = this.formAction;
,
removeRequire : function(skipElementId)
for(var i=0; i<this.formElements.length; i++)
if (this.formElements[i].readAttribute('id') != 'option_'+skipElementId+'_file' && this.formElements[i].type != 'button')
this.formElements[i].disabled='disabled';


,
addRequire : function(skipElementId)
for(var i=0; i<this.formElements.length; i++)
if (this.formElements[i].readAttribute('name') != 'options_'+skipElementId+'_file' && this.formElements[i].type != 'button')
this.formElements[i].disabled='';


,
uploadCallback : function(data)
this.addRequire(data.optionId);
$('upload_target').remove();

if (data.error)

else
$('option_'+data.optionId+'_uploaded_file').value = data.fileName;
$('option_'+data.optionId+'_file').value = '';
$('option_'+data.optionId+'_file').hide();
$('option_'+data.optionId+'').hide();
template = '<div id="option_'+data.optionId+'_file_box"><a href="#"><img src="var/options/'+data.fileName+'" alt=""></a><a href="#" onclick="optionFileUpload.removeFile('+data.optionId+')" title="Remove file" />Remove file</a>';

Element.insert($('option_'+data.optionId+'_uploaded_file'), after: template);

,
removeFile : function(optionId)

$('option_'+optionId+'_uploaded_file').value= '';
$('option_'+optionId+'_file').show();
$('option_'+optionId+'').show();

$('option_'+optionId+'_file_box').remove();


var optionTextCounter =
count : function(field,cntfield,maxlimit)
if (field.value.length > maxlimit)
field.value = field.value.substring(0, maxlimit);
else
cntfield.innerHTML = maxlimit - field.value.length;




Product.Options = Class.create();
Product.Options.prototype =
initialize : function(config)
this.config = config;
this.reloadPrice();
document.observe("dom:loaded", this.reloadPrice.bind(this));
,
reloadPrice : function()
var config = this.config;
var skipIds = [];
$$('body .product-custom-option').each(function(element)
var optionId = 0;
element.name.sub(/[0-9]+/, function(match)
optionId = parseInt(match[0], 10);
);
if (config[optionId])
);


function validateOptionsCallback(elmId, result)
var container = $(elmId).up('ul.options-list');
if (result == 'failed')
container.removeClassName('validation-passed');
container.addClassName('validation-failed');
else
container.removeClassName('validation-failed');
container.addClassName('validation-passed');


var opConfig = new Product.Options(<?php echo $this->getJsonConfig() ?>);
//]]>
</script>
<dl>
<?php foreach($_options as $_option): ?>
<?php echo $this->getOptionHtml($_option) ?>
<?php endforeach; ?>
</dl>
<?php endif; ?>


I tryed this solution: price changes to zero after selecting an option in updated version
but not work becouse in my options.phtml file there isn't this line:



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









share|improve this question


























  • did you find solution or you looking for solution?

    – Jigs Parmar
    Feb 21 '17 at 12:29











  • No, I haven't yet solution. I looking for solution.

    – Joso
    Feb 21 '17 at 17:56












  • its issue of product_options.js file not include in product view page. see my answer and add js using below code

    – Jigs Parmar
    Feb 22 '17 at 3:40

















0















I have an issue on simple products with option. When selected the option the price not update.



I need help to solve it.



This is my options.phtml :



 <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category design
* @package base_default
* @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
/* @var $this Mage_Catalog_Block_Product_View_Options */
?>

<?php $_options = Mage::helper('core')->decorateArray($this->getOptions()) ?>
<?php if (count($_options)):?>
<script type="text/javascript">
//<![CDATA[
var optionFileUpload =
productForm : $('product_addtocart_form'),
formAction : '',
formElements : ,
upload : function(element)
this.formElements = this.productForm.select('input', 'select', 'textarea', 'button');
this.removeRequire(element.readAttribute('id').sub('option_', ''));

template = '<iframe id="upload_target" name="upload_target" style="width:0; height:0; border:0;"></iframe>';

Element.insert($('option_'+element.readAttribute('id').sub('option_', '')+'_uploaded_file'), after: template);

this.formAction = this.productForm.action;

var baseUrl = '<?php echo $this->getUrl('*/product/upload') ?>';
var urlExt = 'option_id/'+element.readAttribute('id').sub('option_', '');

this.productForm.action = parseSidUrl(baseUrl, urlExt);
this.productForm.target = 'upload_target';
this.productForm.submit();
this.productForm.target = '';
this.productForm.action = this.formAction;
,
removeRequire : function(skipElementId)
for(var i=0; i<this.formElements.length; i++)
if (this.formElements[i].readAttribute('id') != 'option_'+skipElementId+'_file' && this.formElements[i].type != 'button')
this.formElements[i].disabled='disabled';


,
addRequire : function(skipElementId)
for(var i=0; i<this.formElements.length; i++)
if (this.formElements[i].readAttribute('name') != 'options_'+skipElementId+'_file' && this.formElements[i].type != 'button')
this.formElements[i].disabled='';


,
uploadCallback : function(data)
this.addRequire(data.optionId);
$('upload_target').remove();

if (data.error)

else
$('option_'+data.optionId+'_uploaded_file').value = data.fileName;
$('option_'+data.optionId+'_file').value = '';
$('option_'+data.optionId+'_file').hide();
$('option_'+data.optionId+'').hide();
template = '<div id="option_'+data.optionId+'_file_box"><a href="#"><img src="var/options/'+data.fileName+'" alt=""></a><a href="#" onclick="optionFileUpload.removeFile('+data.optionId+')" title="Remove file" />Remove file</a>';

Element.insert($('option_'+data.optionId+'_uploaded_file'), after: template);

,
removeFile : function(optionId)

$('option_'+optionId+'_uploaded_file').value= '';
$('option_'+optionId+'_file').show();
$('option_'+optionId+'').show();

$('option_'+optionId+'_file_box').remove();


var optionTextCounter =
count : function(field,cntfield,maxlimit)
if (field.value.length > maxlimit)
field.value = field.value.substring(0, maxlimit);
else
cntfield.innerHTML = maxlimit - field.value.length;




Product.Options = Class.create();
Product.Options.prototype =
initialize : function(config)
this.config = config;
this.reloadPrice();
document.observe("dom:loaded", this.reloadPrice.bind(this));
,
reloadPrice : function()
var config = this.config;
var skipIds = [];
$$('body .product-custom-option').each(function(element)
var optionId = 0;
element.name.sub(/[0-9]+/, function(match)
optionId = parseInt(match[0], 10);
);
if (config[optionId])
);


function validateOptionsCallback(elmId, result)
var container = $(elmId).up('ul.options-list');
if (result == 'failed')
container.removeClassName('validation-passed');
container.addClassName('validation-failed');
else
container.removeClassName('validation-failed');
container.addClassName('validation-passed');


var opConfig = new Product.Options(<?php echo $this->getJsonConfig() ?>);
//]]>
</script>
<dl>
<?php foreach($_options as $_option): ?>
<?php echo $this->getOptionHtml($_option) ?>
<?php endforeach; ?>
</dl>
<?php endif; ?>


I tryed this solution: price changes to zero after selecting an option in updated version
but not work becouse in my options.phtml file there isn't this line:



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









share|improve this question


























  • did you find solution or you looking for solution?

    – Jigs Parmar
    Feb 21 '17 at 12:29











  • No, I haven't yet solution. I looking for solution.

    – Joso
    Feb 21 '17 at 17:56












  • its issue of product_options.js file not include in product view page. see my answer and add js using below code

    – Jigs Parmar
    Feb 22 '17 at 3:40













0












0








0


1






I have an issue on simple products with option. When selected the option the price not update.



I need help to solve it.



This is my options.phtml :



 <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category design
* @package base_default
* @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
/* @var $this Mage_Catalog_Block_Product_View_Options */
?>

<?php $_options = Mage::helper('core')->decorateArray($this->getOptions()) ?>
<?php if (count($_options)):?>
<script type="text/javascript">
//<![CDATA[
var optionFileUpload =
productForm : $('product_addtocart_form'),
formAction : '',
formElements : ,
upload : function(element)
this.formElements = this.productForm.select('input', 'select', 'textarea', 'button');
this.removeRequire(element.readAttribute('id').sub('option_', ''));

template = '<iframe id="upload_target" name="upload_target" style="width:0; height:0; border:0;"></iframe>';

Element.insert($('option_'+element.readAttribute('id').sub('option_', '')+'_uploaded_file'), after: template);

this.formAction = this.productForm.action;

var baseUrl = '<?php echo $this->getUrl('*/product/upload') ?>';
var urlExt = 'option_id/'+element.readAttribute('id').sub('option_', '');

this.productForm.action = parseSidUrl(baseUrl, urlExt);
this.productForm.target = 'upload_target';
this.productForm.submit();
this.productForm.target = '';
this.productForm.action = this.formAction;
,
removeRequire : function(skipElementId)
for(var i=0; i<this.formElements.length; i++)
if (this.formElements[i].readAttribute('id') != 'option_'+skipElementId+'_file' && this.formElements[i].type != 'button')
this.formElements[i].disabled='disabled';


,
addRequire : function(skipElementId)
for(var i=0; i<this.formElements.length; i++)
if (this.formElements[i].readAttribute('name') != 'options_'+skipElementId+'_file' && this.formElements[i].type != 'button')
this.formElements[i].disabled='';


,
uploadCallback : function(data)
this.addRequire(data.optionId);
$('upload_target').remove();

if (data.error)

else
$('option_'+data.optionId+'_uploaded_file').value = data.fileName;
$('option_'+data.optionId+'_file').value = '';
$('option_'+data.optionId+'_file').hide();
$('option_'+data.optionId+'').hide();
template = '<div id="option_'+data.optionId+'_file_box"><a href="#"><img src="var/options/'+data.fileName+'" alt=""></a><a href="#" onclick="optionFileUpload.removeFile('+data.optionId+')" title="Remove file" />Remove file</a>';

Element.insert($('option_'+data.optionId+'_uploaded_file'), after: template);

,
removeFile : function(optionId)

$('option_'+optionId+'_uploaded_file').value= '';
$('option_'+optionId+'_file').show();
$('option_'+optionId+'').show();

$('option_'+optionId+'_file_box').remove();


var optionTextCounter =
count : function(field,cntfield,maxlimit)
if (field.value.length > maxlimit)
field.value = field.value.substring(0, maxlimit);
else
cntfield.innerHTML = maxlimit - field.value.length;




Product.Options = Class.create();
Product.Options.prototype =
initialize : function(config)
this.config = config;
this.reloadPrice();
document.observe("dom:loaded", this.reloadPrice.bind(this));
,
reloadPrice : function()
var config = this.config;
var skipIds = [];
$$('body .product-custom-option').each(function(element)
var optionId = 0;
element.name.sub(/[0-9]+/, function(match)
optionId = parseInt(match[0], 10);
);
if (config[optionId])
);


function validateOptionsCallback(elmId, result)
var container = $(elmId).up('ul.options-list');
if (result == 'failed')
container.removeClassName('validation-passed');
container.addClassName('validation-failed');
else
container.removeClassName('validation-failed');
container.addClassName('validation-passed');


var opConfig = new Product.Options(<?php echo $this->getJsonConfig() ?>);
//]]>
</script>
<dl>
<?php foreach($_options as $_option): ?>
<?php echo $this->getOptionHtml($_option) ?>
<?php endforeach; ?>
</dl>
<?php endif; ?>


I tryed this solution: price changes to zero after selecting an option in updated version
but not work becouse in my options.phtml file there isn't this line:



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









share|improve this question
















I have an issue on simple products with option. When selected the option the price not update.



I need help to solve it.



This is my options.phtml :



 <?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magento.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magento.com for more information.
*
* @category design
* @package base_default
* @copyright Copyright (c) 2006-2016 X.commerce, Inc. and affiliates (http://www.magento.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
/* @var $this Mage_Catalog_Block_Product_View_Options */
?>

<?php $_options = Mage::helper('core')->decorateArray($this->getOptions()) ?>
<?php if (count($_options)):?>
<script type="text/javascript">
//<![CDATA[
var optionFileUpload =
productForm : $('product_addtocart_form'),
formAction : '',
formElements : ,
upload : function(element)
this.formElements = this.productForm.select('input', 'select', 'textarea', 'button');
this.removeRequire(element.readAttribute('id').sub('option_', ''));

template = '<iframe id="upload_target" name="upload_target" style="width:0; height:0; border:0;"></iframe>';

Element.insert($('option_'+element.readAttribute('id').sub('option_', '')+'_uploaded_file'), after: template);

this.formAction = this.productForm.action;

var baseUrl = '<?php echo $this->getUrl('*/product/upload') ?>';
var urlExt = 'option_id/'+element.readAttribute('id').sub('option_', '');

this.productForm.action = parseSidUrl(baseUrl, urlExt);
this.productForm.target = 'upload_target';
this.productForm.submit();
this.productForm.target = '';
this.productForm.action = this.formAction;
,
removeRequire : function(skipElementId)
for(var i=0; i<this.formElements.length; i++)
if (this.formElements[i].readAttribute('id') != 'option_'+skipElementId+'_file' && this.formElements[i].type != 'button')
this.formElements[i].disabled='disabled';


,
addRequire : function(skipElementId)
for(var i=0; i<this.formElements.length; i++)
if (this.formElements[i].readAttribute('name') != 'options_'+skipElementId+'_file' && this.formElements[i].type != 'button')
this.formElements[i].disabled='';


,
uploadCallback : function(data)
this.addRequire(data.optionId);
$('upload_target').remove();

if (data.error)

else
$('option_'+data.optionId+'_uploaded_file').value = data.fileName;
$('option_'+data.optionId+'_file').value = '';
$('option_'+data.optionId+'_file').hide();
$('option_'+data.optionId+'').hide();
template = '<div id="option_'+data.optionId+'_file_box"><a href="#"><img src="var/options/'+data.fileName+'" alt=""></a><a href="#" onclick="optionFileUpload.removeFile('+data.optionId+')" title="Remove file" />Remove file</a>';

Element.insert($('option_'+data.optionId+'_uploaded_file'), after: template);

,
removeFile : function(optionId)

$('option_'+optionId+'_uploaded_file').value= '';
$('option_'+optionId+'_file').show();
$('option_'+optionId+'').show();

$('option_'+optionId+'_file_box').remove();


var optionTextCounter =
count : function(field,cntfield,maxlimit)
if (field.value.length > maxlimit)
field.value = field.value.substring(0, maxlimit);
else
cntfield.innerHTML = maxlimit - field.value.length;




Product.Options = Class.create();
Product.Options.prototype =
initialize : function(config)
this.config = config;
this.reloadPrice();
document.observe("dom:loaded", this.reloadPrice.bind(this));
,
reloadPrice : function()
var config = this.config;
var skipIds = [];
$$('body .product-custom-option').each(function(element)
var optionId = 0;
element.name.sub(/[0-9]+/, function(match)
optionId = parseInt(match[0], 10);
);
if (config[optionId])
);


function validateOptionsCallback(elmId, result)
var container = $(elmId).up('ul.options-list');
if (result == 'failed')
container.removeClassName('validation-passed');
container.addClassName('validation-failed');
else
container.removeClassName('validation-failed');
container.addClassName('validation-passed');


var opConfig = new Product.Options(<?php echo $this->getJsonConfig() ?>);
//]]>
</script>
<dl>
<?php foreach($_options as $_option): ?>
<?php echo $this->getOptionHtml($_option) ?>
<?php endforeach; ?>
</dl>
<?php endif; ?>


I tryed this solution: price changes to zero after selecting an option in updated version
but not work becouse in my options.phtml file there isn't this line:



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






magento-1.9 price custom-options






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:55









Community

1




1










asked Jan 27 '17 at 21:52









JosoJoso

1201 silver badge10 bronze badges




1201 silver badge10 bronze badges















  • did you find solution or you looking for solution?

    – Jigs Parmar
    Feb 21 '17 at 12:29











  • No, I haven't yet solution. I looking for solution.

    – Joso
    Feb 21 '17 at 17:56












  • its issue of product_options.js file not include in product view page. see my answer and add js using below code

    – Jigs Parmar
    Feb 22 '17 at 3:40

















  • did you find solution or you looking for solution?

    – Jigs Parmar
    Feb 21 '17 at 12:29











  • No, I haven't yet solution. I looking for solution.

    – Joso
    Feb 21 '17 at 17:56












  • its issue of product_options.js file not include in product view page. see my answer and add js using below code

    – Jigs Parmar
    Feb 22 '17 at 3:40
















did you find solution or you looking for solution?

– Jigs Parmar
Feb 21 '17 at 12:29





did you find solution or you looking for solution?

– Jigs Parmar
Feb 21 '17 at 12:29













No, I haven't yet solution. I looking for solution.

– Joso
Feb 21 '17 at 17:56






No, I haven't yet solution. I looking for solution.

– Joso
Feb 21 '17 at 17:56














its issue of product_options.js file not include in product view page. see my answer and add js using below code

– Jigs Parmar
Feb 22 '17 at 3:40





its issue of product_options.js file not include in product view page. see my answer and add js using below code

– Jigs Parmar
Feb 22 '17 at 3:40










1 Answer
1






active

oldest

votes


















0














app/design/frontend/theme_package/layout/catalog.xml


Place this code in this file



<catalog_product_view>
<reference name="head">
<action method="addJs"><script>varien/product.js</script></action>
<action method="addJs"><script>varien/product_options.js</script></action>
<action method="addJs"><script>varien/configurable.js</script></action>
</reference>
</catalog_product_view>





share|improve this answer





























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f156832%2fmagento-1-9-3-1-option-price-not-update-total-price%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    app/design/frontend/theme_package/layout/catalog.xml


    Place this code in this file



    <catalog_product_view>
    <reference name="head">
    <action method="addJs"><script>varien/product.js</script></action>
    <action method="addJs"><script>varien/product_options.js</script></action>
    <action method="addJs"><script>varien/configurable.js</script></action>
    </reference>
    </catalog_product_view>





    share|improve this answer































      0














      app/design/frontend/theme_package/layout/catalog.xml


      Place this code in this file



      <catalog_product_view>
      <reference name="head">
      <action method="addJs"><script>varien/product.js</script></action>
      <action method="addJs"><script>varien/product_options.js</script></action>
      <action method="addJs"><script>varien/configurable.js</script></action>
      </reference>
      </catalog_product_view>





      share|improve this answer





























        0












        0








        0







        app/design/frontend/theme_package/layout/catalog.xml


        Place this code in this file



        <catalog_product_view>
        <reference name="head">
        <action method="addJs"><script>varien/product.js</script></action>
        <action method="addJs"><script>varien/product_options.js</script></action>
        <action method="addJs"><script>varien/configurable.js</script></action>
        </reference>
        </catalog_product_view>





        share|improve this answer















        app/design/frontend/theme_package/layout/catalog.xml


        Place this code in this file



        <catalog_product_view>
        <reference name="head">
        <action method="addJs"><script>varien/product.js</script></action>
        <action method="addJs"><script>varien/product_options.js</script></action>
        <action method="addJs"><script>varien/configurable.js</script></action>
        </reference>
        </catalog_product_view>






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 22 '17 at 8:08









        Teja Bhagavan Kollepara

        3,0504 gold badges21 silver badges51 bronze badges




        3,0504 gold badges21 silver badges51 bronze badges










        answered Feb 22 '17 at 3:39









        Jigs ParmarJigs Parmar

        1,5605 silver badges25 bronze badges




        1,5605 silver badges25 bronze badges






























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f156832%2fmagento-1-9-3-1-option-price-not-update-total-price%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown