Linglong GreenMax CrossWeather AS – 225/55-17
102,95 €
225/55-17 V/101 Linglong Kesärengas.
15 varastossa
Kuvaus
Linglong GreenMax CrossWeather AS – Pohjoismainen kesärengas! 225/55-17 V Kesärengas
Linglong renkaat meiltä edullisesti kotiin toimitettuna.
Joustavat maksutavat.
Tekniset tiedot:
Tyyppi: Kesärengas
Koko: 225/55-17
Nopeusluokka: V
Painoluokka: 101
Desibeli ajossa: 72
Renkaan leveys: 225
Renkaan profiili: 55
Renkaan tuumakoko: 17
Tuotekoodi:
Linglong GreenMax CrossWeather AS – Pohjoismainen kesärengas! tuotekuvaus
Linglong CrossWeather ei pelkää lumikuuroja – aito kesärengas M+S-merkinnälläVoit vaihtaa uuden Linglong GreenMax CrossWeather AS -kesärenkaan autosi alle huomattavasti aikaisemmin kuin tavallisen kesärenkaan – jo heti alkukeväästä. Voit ajaa sillä myös myöhempään syksyyn ilman talvirenkaita. CrossWeatherilla voit ajaa turvallisesti satunnaisista lumikuuroista huolimatta. CrossWeather on aito pohjoismainen kylmien kelien kesärengas!Kesä- ja talvirenkaan ominaisuudet yhdistyvätCrossWeatherissa yhdistyvät kesä- ja talvirenkaan ominaisuudet, vaikka kysymyksessä on 100% kesärengas. Renkaan erityinen kylmää kestävä kumiseos pitää paremmin kuin tavallinen kesärengas viileillä keleillä.Huolettomuutta – ei enää jonottamista – vaihda kesärenkaat alle ennen muita ja aja pitempään syksyynCrossWeatherin tarjoaa sinulle huolettomuutta turvallisuuden lisäksi. Nyt sinun ei tarvitse olla ensimmäisten joukossa jonottamassa, kun kesärengas- tai talvirengassesonki alkaa. Voit käydä vaihtamassa renkaasi silloin, kun itse haluat. Voit ajaa CrossWeatherilla aikaisesta keväästä myöhäiseen syksyyn!
135
145
155
165
175
185
195
205
215
225
235
245
255
265
275
285
295
/
25
30
35
40
45
50
55
60
65
70
75
80
R
12
13
14
15
16
17
18
19
20
21
22
135
145
155
165
175
185
195
205
215
225
235
245
255
265
275
285
295
/
25
30
35
40
45
50
55
60
65
70
75
80
R
12
13
14
15
16
17
18
19
20
21
22
Vanha rengas
-10 (100 km/h)
-9 (100 km/h)
-8 (100 km/h)
-7 (100 km/h)
-6 (100 km/h)
-5 (100 km/h)
-4 (100 km/h)
-3 (100 km/h)
-2 (100 km/h)
-1 (100 km/h)
0 (100 km/h)
1 (100 km/h)
2 (100 km/h)
3 (100 km/h)
4 (100 km/h)
5 (100 km/h)
6 (100 km/h)
7 (100 km/h)
8 (100 km/h)
9 (100 km/h)
10 (100 km/h)
Uusi rengas
EU-rengasmerkintä Viimeksi katsotut tuotteet
Linglong
GreenMax CrossWeather AS – Pohjoismainen kesärengas!
97.95EUR
Käytämme evästeitä, jotta sivustomme toimii parhaalla mahdollisella tavalla. Jatkamalla sivustollemme hyväksyt evästeiden käytön.
Lue lisää
(function(){
$(”.modal”).on(”hidden.bs.modal”, function(){
// Clear modal sizing class
$(’#vt-modal-dialog’).removeClass(’modal-xl’);
$(’#vt-modal-dialog’).removeClass(’modal-lg’);
$(’#vt-modal-dialog’).removeClass(’modal-sm’);
$(this).removeData();
});
});
$(document).ready(function(){
// Load content to modal and make it visible
$(document).on(’click’, ’.btn-ajax-box’, function(e){
e.preventDefault();
var url = ”;
if(typeof($(this).attr(’data-url’)) != ’undefined’)
{
url = $(this).attr(’data-url’);
}
else
{
if(typeof($(this).attr(’href’)) != ’undefined’)
{
url = $(this).attr(’href’);
}
}
// If we want to user lg modal
if(typeof($(this).attr(’data-modal-size’)) != ’undefined’)
{
if($(this).attr(’data-modal-size’) == ’modal-xl’)
{
$(’#vt-modal-dialog’).addClass(’modal-xl’);
}
if($(this).attr(’data-modal-size’) == ’modal-lg’)
{
$(’#vt-modal-dialog’).addClass(’modal-lg’);
}
if($(this).attr(’data-modal-size’) == ’modal-sm’)
{
$(’#vt-modal-dialog’).addClass(’modal-sm’);
}
}
if(url != ”)
{
$(’#vt-modal-content’).html(”);
$.ajax({
url: url,
cache: false,
timeout: 20000,
type: ’get’,
dataType: ’html’
}).done(function(data){
$(’#vt-modal-content’).html(data);
}).fail(function(){
$(’#vt-modal-content’).html(’Virhe ladattaessa sisältöä’);
});
$(’#vt-modal’).modal(’show’);
}
});
// Hide modal
$(document).on(’click’, ’.btn-vt-close-modal’, function(e){
e.preventDefault();
$(’#vt-modal’).modal(’hide’);
});
// Add product to cart
$(document).on(’click’, ’.btn-add-to-cart’, function(e){
e.preventDefault();
var products_id = 0;
var qty = 1;
var postdata = [];
// Clicked on form
if($(this).is(’button’))
{
// default form name on product page
var formname = ’cart_quantity’;
var formdata = $(’[name=’ + formname + ’]’).serializeArray();
$.each( formdata, function( i, field ) {
if(field.name == ’products_id’)
{
products_id = parseInt(field.value);
}
if(field.name == ’product_quantity_to_cart’)
{
qty = parseInt(field.value);
}
});
}
else
{
// clicked link
if($(this).is(’a’))
{
if(typeof($(this).attr(’data-product’)) != ’undefined’)
{
products_id = parseInt($(this).attr(’data-product’));
}
if(typeof($(this).attr(’data-qty’)) != ’undefined’)
{
qty = parseInt($(this).attr(’data-qty’));
}
}
}
if(products_id > 0 && qty > 0)
{
$.ajax({
url: ’ajax.php’,
data: {
action: ’add_to_cart’,
products_id: products_id,
qty: qty,
token: ’b8fc854f7f61c4a607fe91af3369f9a5760614d09e8954f7d8c254ae2733a0e0’
},
type: ’post’,
dataType: ’json’,
cache: false,
timeout: 20000
}).done(function(data){
$(’#btn-header-shopping-cart’).trigger(’click’);
}).fail(function(){
$(’#btn-header-shopping-cart’).trigger(’click’);
});
}
else
{
alert(’Error: product id or qty invalid’);
}
});
// Hide cookie notification
$(document).on(’click’, ’.vt-button-cookie-accept’, function(e){
e.preventDefault();
$.ajax({
url: ’acceptcookies.php’,
cache: false,
timeout: 10000,
type: ’get’,
dataType: ’json’
}).done(function(data){
if(parseInt(data.accepted) === 1)
{
$(’#vt-cookie-notification’).hide();
}
});
});
});
/*
// SmartMenus init
$(function() {
$(’#main-menu’).smartmenus();
});
*/
// Tyresearch functions
function LoadManufacturersTyres(SelectedManufacturer)
{
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(’Ladataan’);
}
$.ajax({
url: ’getWSData.php’,
data: {action: ’manufacturers’, token: ’a5654b609170df78b5a262098715ee0b’},
type: ’GET’,
cache: false,
dataType: ’JSON’
}).done(function(data){
if(data.length > 0)
{
$(’#tsManufacturerList’).append(’Valitse automerkki’);
for(var i = 0; i < data.length; i++)
{
var optionText = '’;
optionText += data[i].ManufacturerName;
optionText += ”;
$(’#tsManufacturerList’).append(optionText);
}
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(”);
}
}
else
{
$(’#tsManufacturerList’).html(’Tietoja ei saatavilla’);
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(”);
}
}
}).fail(function(jqXHR, textStatus, errorThrown){
// alert(textStatus);
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(”);
}
});
}
function LoadModelsTyres(ManufacturerID, SelectedModel, ManufacturerName)
{
$(’#tsModelList’).empty();
$(’#tsModelListWrapper’).hide();
$(’#tsVehicleList’).empty();
$(’#tsVehicleListWrapper’).hide();
$(’#tsWheelList’).empty();
$(’#tsWheelListWrapper’).hide();
if($(’div.tsStatus’).length)
{
$(’div.tsStatus’).html(’Ladataan’);
}
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(’Ladataan’);
}
var Name = ”;
if(ManufacturerName != undefined && ManufacturerName != ”)
{
Name = ManufacturerName;
}
$(’#tsModelList’).html(’Ladataan…’);
var models = [];
$.ajax({
url: ’getWSData.php’,
data: {action: ’models’, ManufacturerID: ManufacturerID, Name: Name, token: ’a5654b609170df78b5a262098715ee0b’},
type: ’GET’,
cache: false,
dataType: ’JSON’
}).done(function(models){
if($(’div.tsStatus’).length)
{
$(’div.tsStatus’).html(”);
}
$(’#tsModelList’).html(”);
if(models.length > 0)
{
$(’#tsModelList’).append(’Valitse korimalli’);
for(var i = 0; i < models.length; i++)
{
var optionText = '’;
optionText += models[i].ModelName;
optionText += ’ ’ + models[i].ConstructedFrom + ’ – ’ + models[i].ConstructedTo
optionText += ”;
$(’#tsModelList’).append(optionText);
$(’#tsModelListWrapper’).show();
}
}
else
{
$(’#tsModelList’).html(’Tietoja ei saatavilla’);
$(’#tsModelListWrapper’).show();
}
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(”);
}
}).fail(function(jqXHR, textStatus, errorThrown){
if($(’div.tsStatus’).length)
{
$(’div.tsStatus’).html(”);
}
$(’#tsModelList’).html(’Error’);
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(”);
}
});
}
function LoadVehiclesTyres(ModelID, SelectedKType, ModelName)
{
$(’#tsVehicleList’).empty();
$(’#tsVehicleListWrapper’).hide();
$(’#tsWheelList’).empty();
$(’#tsWheelListWrapper’).hide();
if($(’div.tsStatus’).length)
{
$(’div.tsStatus’).html(’Ladataan’);
}
$(’#tsVehicleList’).html(”);
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(’Ladataan’);
}
var Name = ”;
if(ModelName != undefined && ModelName != ”)
{
Name = ModelName;
}
var vehicles = [];
if(parseInt(ModelID) > 0)
{
$.ajax({
url: ’getWSData.php’,
data: {action: ’vehicles’, ModelID: ModelID, Name: Name, token: ’a5654b609170df78b5a262098715ee0b’},
type: ’GET’,
cache: false,
dataType: ’JSON’
}).done(function(vehicles){
if($(’div.tsStatus’).length)
{
$(’div.tsStatus’).html(”);
}
if(vehicles.length > 0)
{
$(’#tsVehicleList’).append(’Valitse malli’);
for(var i = 0; i < vehicles.length; i++)
{
var optionText = '’;
optionText += vehicles[i].CarName;
optionText += ’ ’ + vehicles[i].FuelType;
optionText += ’ ’ + vehicles[i].PowerHpFrom;
optionText += ’ hp ’;
if(vehicles[i].MotorCode != ” && vehicles[i].MotorCode != null)
{
optionText += ’ (’ + vehicles[i].MotorCode + ’)’;
}
optionText += ”;
$(’#tsVehicleList’).append(optionText);
$(’#tsVehicleListWrapper’).show();
}
}
else
{
$(’#tsVehicleList’).html(’Tietoja ei saatavilla’);
$(’#tsVehicleListWrapper’).show();
}
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(”);
}
}).fail(function(jqXHR, textStatus, errorThrown){
if($(’div.tsStatus’).length)
{
$(’div.tsStatus’).html(”);
}
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(”);
}
// alert(textStatus);
});
}
else
{
}
}
function LoadTyresizes(KType, SelectedWheel, VehicleName)
{
if($(’div.tsStatus’).length)
{
$(’div.tsStatus’).html(’Ladataan’);
}
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(’Ladataan’);
}
var Name = ”;
if(VehicleName != undefined && VehicleName != ”)
{
Name = VehicleName;
}
$(’#tsWheelList’).empty();
$(’#tsWheelListWrapper’).hide();
$(’#tsWheelList’).prop(’readonly’, true);
$(’#tsWheelList’).html(’Loading…’);
$(’#tsWheelListWrapper’).show();
if(parseInt(KType) > 0)
{
var data = [];
$.ajax({
url: ’getWSData.php’,
data: {action: ’tyres’, KType: KType, Name: Name, token: ’a5654b609170df78b5a262098715ee0b’},
type: ’GET’,
cache: false,
dataType: ’JSON’
}).done(function(data){
$(’#tsWheelList’).html(”);
if($(’div.tsStatus’).length)
{
$(’div.tsStatus’).html(”);
}
if(data.length > 0)
{
$(’#tsWheelList’).html(”);
$(’#tsWheelList’).append(’Valitse rengaskoko’);
for(var i = 0; i 0)
{
$(’#tsWheelList’).append(”);
for(var x = 0; x < data[i].Tyres.length; x++)
{
if(data[i].Tyres[x].TyreSize != undefined)
{
if(SelectedWheel != undefined && SelectedWheel == data[i].Tyres[x].TyreSize)
{
$('#tsWheelList').append('’ + data[i].Tyres[x].TyreSize + ”);
}
else
{
$(’#tsWheelList’).append(” + data[i].Tyres[x].TyreSize + ”);
}
}
}
$(’#tsWheelList’).append(”);
}
}
}
}
else
{
$(’#tsWheelList’).html(’Tietoja ei saatavilla’);
}
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(”);
}
}).fail(function(jqXHR, textStatus, errorThrown){
if($(’div.tsStatus’).length)
{
$(’div.tsStatus’).html(”);
}
if($(’#tsWheelListInfo’).length)
{
$(’#tsWheelListInfo’).html(”);
}
// alert(textStatus);
});
}
}
// — Wheelsearch
function LoadManufacturers(SelectedManufacturer, target)
{
if($(’#wsFittingResultCheckout’).length)
{
$(’#wsFittingResultCheckout’).html(”);
}
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(’Ladataan’);
}
$.ajax({
url: ’getWSData.php’,
data: {action: ’manufacturers’, token: ’a5654b609170df78b5a262098715ee0b’},
type: ’GET’,
cache: false,
dataType: ’JSON’
}).done(function(data){
if(data.length > 0)
{
if(target != undefined && target != ”)
{
$(target).append(’Valitse automerkki’);
}
else
{
$(’#wsManufacturerList’).append(’Valitse automerkki’);
}
for(var i = 0; i < data.length; i++)
{
var optionText = '’;
optionText += data[i].ManufacturerName;
optionText += ”;
if(target != undefined && target != ”)
{
$(target).append(optionText);
}
else
{
$(’#wsManufacturerList’).append(optionText);
}
}
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(”);
}
}
else
{
if(target != undefined && target != ”)
{
$(target).html(’Tietoja ei saatavilla’);
}
else
{
$(’#wsManufacturerList’).html(’Tietoja ei saatavilla’);
}
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(”);
}
}
}).fail(function(jqXHR, textStatus, errorThrown){
// alert(textStatus);
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(”);
}
});
}
function LoadModels(ManufacturerID, SelectedModel, target, ManufacturerName)
{
$(’#wsModelList’).empty();
$(’#wsModelListWrapper’).hide();
$(’#wsVehicleList’).empty();
$(’#wsVehicleListWrapper’).hide();
$(’#wsWheelList’).empty();
$(’#wsWheelListWrapper’).hide();
if($(’div.wsStatus’).length)
{
$(’div.wsStatus’).html(’Ladataan’);
}
if($(’#wsFittingResultCheckout’).length)
{
$(’#wsFittingResultCheckout’).html(”);
}
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(’Ladataan’);
}
if(target != undefined && target != ”)
{
$(target).html(”);
}
var Name = ”;
if(ManufacturerName != undefined && ManufacturerName != ”)
{
Name = ManufacturerName;
}
if(target != undefined && target != ”)
{
$(target).html(’Ladataan…’);
}
else
{
$(’#wsModelList’).html(’Ladataan…’);
}
var models = [];
$.ajax({
url: ’getWSData.php’,
data: {action: ’models’, ManufacturerID: ManufacturerID, Name: Name, token: ’a5654b609170df78b5a262098715ee0b’},
type: ’GET’,
cache: false,
dataType: ’JSON’
}).done(function(models){
if($(’div.wsStatus’).length)
{
$(’div.wsStatus’).html(”);
}
if(target != undefined && target != ”)
{
$(target).html(”);
}
else
{
$(’#wsModelList’).html(”);
}
if(models.length > 0)
{
if(target != undefined && target != ”)
{
$(target).append(’Valitse korimalli’);
}
else
{
$(’#wsModelList’).append(’Valitse korimalli’);
}
for(var i = 0; i < models.length; i++)
{
var optionText = '’;
optionText += models[i].ModelName;
optionText += ’ ’ + models[i].ConstructedFrom + ’ – ’ + models[i].ConstructedTo
optionText += ”;
if(target != undefined && target != ”)
{
$(target).append(optionText);
}
else
{
$(’#wsModelList’).append(optionText);
}
$(’#wsModelListWrapper’).show();
}
}
else
{
if(target != undefined && target != ”)
{
$(target).html(’Tietoja ei saatavilla’);
}
else
{
$(’#wsModelList’).html(’Tietoja ei saatavilla’);
}
$(’#wsModelListWrapper’).show();
}
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(”);
}
}).fail(function(jqXHR, textStatus, errorThrown){
if($(’div.wsStatus’).length)
{
$(’div.wsStatus’).html(”);
}
if(target != undefined && target != ”)
{
$(target).html(’Error’);
}
else
{
$(’#wsModelList’).html(’Error’);
}
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(”);
}
});
}
function LoadVehicles(ModelID, SelectedKType, target, ModelName)
{
$(’#wsVehicleList’).empty();
$(’#wsVehicleListWrapper’).hide();
$(’#wsWheelList’).empty();
$(’#wsWheelListWrapper’).hide();
if($(’div.wsStatus’).length)
{
$(’div.wsStatus’).html(’Ladataan’);
}
if(target != undefined && target != ”)
{
$(target).html(”);
}
else
{
$(’#wsVehicleList’).html(”);
}
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(’Ladataan’);
}
if($(’#wsFittingResultCheckout’).length)
{
$(’#wsFittingResultCheckout’).html(”);
}
var Name = ”;
if(ModelName != undefined && ModelName != ”)
{
Name = ModelName;
}
var vehicles = [];
if(parseInt(ModelID) > 0)
{
$.ajax({
url: ’getWSData.php’,
data: {action: ’vehicles’, ModelID: ModelID, Name: Name, token: ’a5654b609170df78b5a262098715ee0b’},
type: ’GET’,
cache: false,
dataType: ’JSON’
}).done(function(vehicles){
if($(’div.wsStatus’).length)
{
$(’div.wsStatus’).html(”);
}
if(vehicles.length > 0)
{
if(target != undefined && target != ”)
{
$(target).append(’Valitse malli’);
}
else
{
$(’#wsVehicleList’).append(’Valitse malli’);
}
for(var i = 0; i < vehicles.length; i++)
{
var optionText = '’;
optionText += vehicles[i].CarName;
optionText += ’ ’ + vehicles[i].FuelType;
optionText += ’ ’ + vehicles[i].PowerHpFrom;
optionText += ’ hp ’;
if(vehicles[i].MotorCode != ” && vehicles[i].MotorCode != null)
{
optionText += ’ (’ + vehicles[i].MotorCode + ’)’;
}
optionText += ”;
if(target != undefined && target != ”)
{
$(target).append(optionText);
}
else
{
$(’#wsVehicleList’).append(optionText);
}
$(’#wsVehicleListWrapper’).show();
}
}
else
{
if(target != undefined && target != ”)
{
$(target).html(’Tietoja ei saatavilla’);
}
else
{
$(’#wsVehicleList’).html(’Tietoja ei saatavilla’);
}
$(’#wsVehicleListWrapper’).show();
}
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(”);
}
}).fail(function(jqXHR, textStatus, errorThrown){
if($(’div.wsStatus’).length)
{
$(’div.wsStatus’).html(”);
}
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(”);
}
// alert(textStatus);
});
}
else
{
}
}
function LoadWheelSizes(KType, SelectedWheel, target, VehicleName)
{
if($(’div.wsStatus’).length)
{
$(’div.wsStatus’).html(’Ladataan’);
}
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(’Ladataan’);
}
var Name = ”;
if(VehicleName != undefined && VehicleName != ”)
{
Name = VehicleName;
}
$(’#wsWheelList’).empty();
$(’#wsWheelListWrapper’).hide();
if(target != undefined && target != ”)
{
$(target).prop(’readonly’, true);
$(target).html(’Loading…’);
}
else
{
$(’#wsWheelList’).prop(’readonly’, true);
$(’#wsWheelList’).html(’Loading…’);
}
$(’#wsWheelListWrapper’).show();
if(parseInt(KType) > 0)
{
var wheelSizes = [];
$.ajax({
url: ’getWSData.php’,
data: {action: ’wheels’, KType: KType, Name: Name, token: ’a5654b609170df78b5a262098715ee0b’},
type: ’GET’,
cache: false,
dataType: ’JSON’
}).done(function(wheelSizes){
if($(’div.wsStatus’).length)
{
$(’div.wsStatus’).html(”);
}
if(wheelSizes.length > 0)
{
if(target != undefined && target != ”)
{
$(target).html(”);
$(target).append(’Valitse vannekoko’);
$(target).append(optionText);
}
else
{
$(’#wsWheelList’).html(”);
$(’#wsWheelList’).append(’Valitse vannekoko’);
$(’#wsWheelList’).append(optionText);
}
for(var i = 0; i < wheelSizes.length; i++)
{
var optionText = '’;
optionText += wheelSizes[i] + ’”’;
optionText += ”;
if(target != undefined && target != ”)
{
$(target).append(optionText);
}
else
{
$(’#wsWheelList’).append(optionText);
}
$(’#wsWheelListWrapper’).show();
}
}
else
{
if(target != undefined && target != ”)
{
$(target).html(’Tietoja ei saatavilla’);
}
else
{
$(’#wsWheelList’).html(’Tietoja ei saatavilla’);
}
}
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(”);
}
}).fail(function(jqXHR, textStatus, errorThrown){
if($(’div.wsStatus’).length)
{
$(’div.wsStatus’).html(”);
}
if($(’#wsWheelListInfo’).length)
{
$(’#wsWheelListInfo’).html(”);
}
// alert(textStatus);
});
}
}
function CheckFitting(KType, ProductsId, target, VehicleName)
{
if(typeof KType != ”undefined” && typeof ProductsId != ”undefined”)
{
if($(’div.wsStatus’).length)
{
$(’div.wsStatus’).html(’Ladataan’);
}
var Name = ”;
if(VehicleName != undefined && VehicleName != ”)
{
Name = VehicleName;
}
$.ajax({
url: ’getWSData.php’,
data: {action: ’checkfitting’, KType: KType, products_id: ProductsId, Name: Name, token: ’a5654b609170df78b5a262098715ee0b’},
type: ’GET’,
cache: false,
dataType: ’json’,
timeout: 20000
}).done(function(data){
if($(’div.wsStatus’).length)
{
$(’div.wsStatus’).html(”);
}
var resulthtml = ”;
resulthtml += ’
’;
// Get car name and model from select list
resulthtml += ’Auton tiedot:
’;
// resulthtml += $(’[name=wsCarManu] option:selected’).text() + ’ ’ + $(’[name=wsCarModel] option:selected’).text() + ’ ’ + $(’[name=wsCarType] option:selected’).text();
resulthtml += data.ManufacturerName + ’ ’ + data.ModelName + ’ ’ + data.VehicleName;
resulthtml += ’
’;
resulthtml += ’PCD: ’ + data.carData.PCD + ’, CB: ’ + data.carData.CentreBore;
resulthtml += ”;
resulthtml += ’
’;
if(data.result === true)
{
resulthtml += ’
’;
}
else
{
resulthtml += ’
’;
}
if(data.text)
{
resulthtml += data.text;
}
// If pcd and cb is ok
if(data.pcdAndCbOk === true)
{
}
resulthtml += ”;
resulthtml += ’’;
if(target != undefined && target != ”)
{
$(target).html(resulthtml);
$(target).show();
}
else
{
$(’#wsCheckFittingResult’).html(resulthtml);
$(’#wsCheckFittingResult’).show();
}
}).fail(function(jqXHR, textStatus, errorThrown){
if($(’div.wsStatus’).length)
{
$(’div.wsStatus’).html(”);
}
if(target != undefined && target != ”)
{
$(target).html(’Error: ’ + textStatus);
$(target).show();
}
else
{
$(’#wsCheckFittingResult’).html(’Error: ’ + textStatus);
$(’#wsCheckFittingResult’).show();
}
});
}
}
$(document).ready(function(){
if($(’#wscForm’).length > 0)
{
LoadManufacturers(0);
}
if($(’#tscForm’).length > 0)
{
LoadManufacturersTyres(0, ’#tsManufacturerList’);
}
// Choose manufacturer
$(document).on(’change’, ’#wsManufacturerList’, function(){
LoadModels($(this).val());
});
// Choose model
$(document).on(’change’, ’#wsModelList’, function(){
LoadVehicles($(this).val());
});
// Choose vehicle
$(document).on(’change’, ’#wsVehicleList’, function(){
LoadWheelSizes($(this).val(), ”);
});
// Choose wheelsize
$(document).on(’change’, ’#wsWheelList’, function(){
if($(’#wsWheelList’).val() != ”)
{
$(’#wscForm’).submit();
}
});
// Tyre search
$(document).on(’change’, ’#tsManufacturerList’, function(){
LoadModelsTyres($(this).val(), 0, $(this).find(’option:selected’).text());
});
// Choose model
$(document).on(’change’, ’#tsModelList’, function(){
LoadVehiclesTyres($(this).val(), 0, $(this).find(’option:selected’).text());
});
// Choose vehicle
$(document).on(’change’, ’#tsVehicleList’, function(){
LoadTyresizes($(this).val(), 0, $(this).find(’option:selected’).text());
});
// Choose wheelsize => search
$(document).on(’change’, ’#tsWheelList’, function(){
if($(’#tsWheelList’).val() != ”)
{
if($(’#tsCPath’).val() != undefined && $(’#tsCPath’).val() != ” && $(’#tsWheelList’).val() != undefined && $(’#tsWheelList’).val() != ”)
{
var Width = ”;
var Profile = ”;
var RimSize = ”;
var LI = ”;
if($(’#tsWheelList option:selected’).attr(’data-width’) != undefined)
{
Width = $(’#tsWheelList option:selected’).attr(’data-width’);
}
if($(’#tsWheelList option:selected’).attr(’data-profile’) != undefined)
{
Profile = $(’#tsWheelList option:selected’).attr(’data-profile’);
}
if($(’#tsWheelList option:selected’).attr(’data-rimsize’) != undefined)
{
RimSize = $(’#tsWheelList option:selected’).attr(’data-rimsize’);
}
if($(’#tsWheelList option:selected’).attr(’data-li’) != undefined)
{
LI = $(’#tsWheelList option:selected’).attr(’data-li’);
}
var url = ”;
url += $(’#tsCPath’).val();
url += ’äleveys=’ + Width;
url += ’&korkeus=’ + Profile;
url += ’&tuumaa=’ + RimSize;
url += ’&tarkennettu_haku=true’;
url += ’&li=’ + LI;
url += ’&tsCarManu=’ + $(’#tsManufacturerList’).val();
url += ’&tsCarModel=’ + $(’#tsModelList’).val();
url += ’&tsCarType=’ + $(’#tsVehicleList’).val();
url += ’&tsTyresize=’ + $(’#tsWheelList’).val();
url += ’&category_depth=search’;
window.location.href = url;
}
}
});
// Checkout page selector
// Choose manufacturer checkout
$(document).on(’change’, ’#wsManufacturerListCheckout’, function(){
LoadModels($(this).val(), 0, ’#wsModelListCheckout’, $(this).find(’option:selected’).text());
});
// Choose model on checkout
$(document).on(’change’, ’#wsModelListCheckout’, function(){
LoadVehicles($(this).val(), 0, ’#wsVehicleListCheckout’, $(this).find(’option:selected’).text());
});
// Choose vehicle on checkout
$(document).on(’change’, ’#wsVehicleListCheckout’, function(){
var products_id = 0;
products_id = parseInt($(’#wsProductsIdCheckout’).val());
$(’#wsFittingResultCheckout’).html(”);
CheckFitting($(this).val(), products_id, ’#wsFittingResultCheckout’, $(this).find(’option:selected’).text());
});
// Choose car on checkout page (select car details from session)
$(document).on(’click’, ’.btnSelectCarToCart’, function(event){
event.preventDefault();
var products_id = 0;
if($(’#wsProductsIdCheckout’).length)
{
products_id = parseInt($(’#wsProductsIdCheckout’).val());
}
if(products_id > 0)
{
$.ajax({
url: ’getWSData.php’,
data: {action: ’chooseCar’, products_id: products_id},
type: ’GET’,
cache: false,
dataType: ’json’,
timeout: 10000
}).done(function(data){
if(data.result === true)
{
var carinfo = ”;
if(data.selected_car.ManufacturerName){
carinfo += data.selected_car.ManufacturerName;
}
if(data.selected_car.ModelName){
carinfo += ’ ’ + data.selected_car.ModelName;
}
if(data.selected_car.VehicleName){
carinfo += ’
’ + data.selected_car.VehicleName;
}
if($(’#ws-td-car-selector-’ + products_id).length)
{
$(’#ws-td-car-selector-’ + products_id).html(carinfo);
$(’#ws-td-car-selector-’ + products_id).attr(’data-selected’, ’1’);
$(’#ws-td-car-button-’ + products_id).html(’Poista’);
}
}
else
{
if($(’#ws-td-car-selector-’ + products_id).length)
{
$(’#ws-td-car-selector-’ + products_id).attr(’data-selected’, ’1’);
$(’#ws-td-car-selector-’ + products_id).html(’Error: Could not select vehicle.’);
}
}
}).fail(function(){
if($(’#ws-td-car-selector-’ + products_id).length)
{
$(’#ws-td-car-selector-’ + products_id).attr(’data-selected’, ’1’);
$(’#ws-td-car-selector-’ + products_id).html(’Error: Could not select vehicle.’);
}
});
}
else
{
alert(’Error: Product number invalid.’);
}
});
// Remove car on checkout page
$(document).on(’click’, ’.btn-checkout-remove-car’, function(event){
event.preventDefault();
var products_id = 0;
if($(this)[0].hasAttribute(’data-productsid’))
{
products_id = $(this).attr(’data-productsid’);
}
$.ajax({
url: ’getWSData.php’,
data: {action: ’deletecar’, products_id: products_id},
type: ’GET’,
cache: false,
dataType: ’json’,
timeout: 10000
}).done(function(data){
$(’#ws-td-car-selector-’ + products_id).html(”);
$(’#ws-td-car-selector-’ + products_id).attr(’data-selected’, ’0’);
$(’#ws-td-car-button-’ + products_id).html(’Valitse auto’);
}).fail(function(){
$(’#ws-td-car-selector-’ + products_id).html(”);
$(’#ws-td-car-selector-’ + products_id).attr(’data-selected’, ’0’);
$(’#ws-td-car-button-’ + products_id).html(’Valitse auto’);
});
});
function LoadTyreModels(brand, target, selected)
{
if(brand != undefined && brand != ”)
{
$.ajax({
url: ’getWSData.php’,
data: {
action: ’get_tyre_models’,
name: brand,
token: ’a5654b609170df78b5a262098715ee0b’},
dataType: ’json’,
type: ’get’,
timeout: 5000
}).done(function(data){
if(data.length > 0)
{
var select_html = ’Kaikki mallit’;
for(var i = 0; i < data.length; i++)
{
select_html += '’ + data[i].name + ”;
}
}
else
{
var select_html = ’Kaikki mallit’;
}
$(target).html(select_html);
}).fail(function(){
});
}
else
{
var select_html = ’Kaikki mallit’;
$(target).html(select_html);
}
}
function LoadRimModels(brand, target, selected)
{
if(brand != undefined && brand != ”)
{
$.ajax({
url: ’getWSData.php’,
data: {
action: ’get_rim_models’,
name: brand,
token: ’a5654b609170df78b5a262098715ee0b’},
dataType: ’json’,
type: ’get’,
timeout: 5000
}).done(function(data){
if(data.length > 0)
{
var select_html = ’Kaikki mallit’;
for(var i = 0; i < data.length; i++)
{
select_html += '’ + data[i].name + ”;
}
}
else
{
var select_html = ’Kaikki mallit’;
}
$(target).html(select_html);
}).fail(function(){
});
}
else
{
var select_html = ’Kaikki mallit’;
$(target).html(select_html);
}
}
LoadRimModels($(’#selectWheelBrand’).val(), ’#selectWheelModel’);
LoadTyreModels($(’#selectTyreBrand’).val(), ’#selectTyreModel’);
$(document).on(’change’, ’#selectWheelBrand’, function(){
LoadRimModels($(this).val(), ’#selectWheelModel’);
});
$(document).on(’change’, ’#selectTyreBrand’, function(){
LoadTyreModels($(this).val(), ’#selectTyreModel’);
});
});
$(document).on(”click”, ”.vt-text-search-btn”, function(){
});
$(document).ready(function(){
$(’#vt-frontpage-searchboxes’).css(’background-image’,’url(images/placeholder/placeholder_renkaat.jpg)’);
$(’#vt-frontpage-search-1’).removeClass(’d-none’);
$(’#btn-vt-frontpage-search-1’).removeClass(’bg-vt-light-blue’);
$(’#btn-vt-frontpage-search-1’).removeClass(’text-white’);
$(’#btn-vt-frontpage-search-1’).addClass(’btn-vt-orange’);
// $(’#btn-vt-frontpage-search-1’).addClass(’text-black’);
$(document).on(’click’, ’.btn-vt-frontpage-search’, function(event){
event.preventDefault();
var id = $(this).attr(’data-box’);
var img = $(this).attr(’data-bg’);
$(’.btn-vt-frontpage-search’).each(function(){
$(this).removeClass(’btn-vt-orange’);
$(this).addClass(’bg-vt-light-blue’);
$(this).addClass(’text-white’);
});
$(this).removeClass(’bg-vt-light-blue’);
$(this).removeClass(’text-white’);
$(this).addClass(’btn-vt-orange’);
$(’.vt-frontpage-search’).each(function(){
$(this).addClass(’d-none’);
});
$(id).removeClass(’d-none’);
$(’#vt-frontpage-searchboxes’).css(’background-image’,’url(’ + img + ’)’);
window.scrollTo({
top: ( $(’#vt-frontpage-searchboxes’).offset().top – 60),
left: 0,
behavior: ’smooth’
});
});
});
$(document).ready(function(){
var products_id = 83019;
$(’#wheel-fitting-table’).html(’’);
$.ajax({
url : ’getWSData.php’,
data : {action: ’carsByWheel’, products_id: products_id, token: ’a5654b609170df78b5a262098715ee0b’},
dataType : ’html’,
type : ’GET’,
cache : false
}).done(function(data){
$(’#wheel-fitting-table’).html(data);
});
});