I'm looking for a file containing the javascript function called in the following file from Magento I would like to add custom codes.


    <select onchange="bundle.changeSelection(this)" id="bundle-option-<?php echo $_option->getId() ?>" name="bundle_option[<?php echo $_option->getId() ?>]" class="bundle-option-<?php echo $_option->getId() ?><?php if ($_option->getRequired()) echo ' required-entry' ?> bundle-option-select">
        <option value=""><?php echo $this->__('Choose a selection...') ?></option>
        <?php $i=0; ?>
        <?php foreach($_selections as $_selection): ?>
            <option value="<?php echo $_selection->getSelectionId() ?>"<?php echo ($_selection->getIsDefault() && $_selection->isSaleable())?' selected="selected" ':'' ?><?php echo !$_selection->isSaleable()?' disabled="disabled" ':'' ?>><?php echo $this->getSelectionTitlePrice($_selection, false) ?></option>
        <?php endforeach;?>

1 Answer 1


Try in var\www\skin\frontend\interface_lpf_fr\theme_lpf\js\bundle.js. If there is no such file try var\www\skin\frontend\interface_lpf_fr\default\js\bundle.js and finally var\www\skin\frontend\base\default\js\bundle.js.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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