'].join('');
}
function handleError(){
$('#gui-modal-product-inventory-location-wrapper').show();
$('#gui-modal-product-inventory-location-content').html('');
}
// Get product inventory location information
function inventoryOnClick() {
$.getJSON('https://www.spokesmancycles.com/product-inventory/?id=79552930', function (response) {
if(!response || !response.productInventory || (response.productInventory.locations && !response.productInventory.locations.length)){
handleError();
return;
}
var locations = response.productInventory.locations || [];
var rows = locations.map(function(item, index) {
return createLocationRow(item, index === 0)
});
$('#gui-modal-product-inventory-location-content').html(rows);
var dateObj = new Date();
var hours = dateObj.getHours() ',
'', 'Last updated:', ' ',
'Today at ', hours, ':', minutes,
'
',
'
Online and in-store prices may differ
'].join('');
$('#gui-modal-product-inventory-location-footer').html(footerContent);
$('#gui-modal-product-inventory-location-wrapper').show();
}).fail(handleError);
}
$('#productLocationInventory').click(inventoryOnClick);
// When the user clicks on 'Close' in the modal, close it
$('#gui-modal-product-inventory-location-close').click(function(){
$('#gui-modal-product-inventory-location-wrapper').hide();
});
// When the user clicks anywhere outside of the modal, close it
$('.gui-modal-product-inventory-location-background').click(function(){
$('#gui-modal-product-inventory-location-wrapper').hide();
});
})();
Bianchi Steel Frame Tig Welded, Butted CR-MO main tubes with PG CR-MO rear stays, sizes:
fork Bianchi CR-MO, 1-1/8"
headset VP-A51AE, 1.1/8"
shifters Shimano Sora ST-R3000 3x9sp
rear derailleur Shimano Sora RD-R3000 GS 9sp
front derailleur Shimano Sora FD-R3000
chain 9sp
sprocket 9 Sp
brakes Cane Creek cantilever
brake levers Included w/shifters
rear hub Formula RB-52
front hub Formula RB-51
tire Kenda
handlebar AL6061 DB
grips Cork w/Bianchi logo
seatpost AL2014 shaft, alloy head, 12 mm offset, diam. 27.2 mm, length: 350mm