/**
 * start guidance customization
 */
Product.Config.prototype.reloadSizePrice = function(id,attributeId) {
    if (id && attributeId) {
        if (this.config.attributes && this.config.attributes[attributeId]) {
            /**
             * options = [{"id":"138","label":"M10","products":["5"]},
                            {"id":"139","label":"M11","products":["8"]},
                            {"id":"137","label":"M9.5","products":["4"]}]
             */
            var options = this.config.attributes[attributeId].options;
                for(opt_idx in options) {
                    if (options[opt_idx].id == id) {
                        var childProductId = options[opt_idx].products;
                        optionsPrice.changePrice('config', options[opt_idx].price);
                        optionsPrice.reload();
                        break;
                    }
                }
        }
    }
}
/**
 * end guidance customization
 */
