
FD01 Speaker Connection Harness
// // // // * @copyright 2007-2015 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA */function updateFormDatas() { var nb = $('#quantity_wanted').val(); var id = $('#idCombination').val();$('#paypal_payment_form input[name=quantity]').val(nb); $('#paypal_payment_form input[name=id_p_attr]').val(id); } $(document).ready( function() {if($('#in_context_checkout_enabled').val() != 1) { $('#payment_paypal_express_checkout').click(function() { $('#paypal_payment_form').submit(); return false; }); }$('#paypal_payment_form').live('submit', function() { updateFormDatas(); });function displayExpressCheckoutShortcut() { var id_product = $('input[name="id_product"]').val(); var id_product_attribute = $('input[name="id_product_attribute"]').val(); $.ajax({ type: "GET", url: baseDir+'/modules/paypal/express_check