';
content = content.replace('{s}', '« ' + sanitizer.sanitize(input.value) + ' »');
} else {
var cleanText = sanitizer.sanitize(suggestion.text)
var boldText = cleanText.replace(reg, function (optionText) {
return '' + optionText + ''
});
var subText = sanitizer.sanitize(suggestion.subText);
subText = subText.replace(suggestion.artistName, function (optionText) {
return optionText.replace(reg, function (boldText) {
return '' + boldText + ''
})
});
var cssClass = suggestion.type === 'artist' ? 'img-circle border' : '';
content = '
' +
'' +
'
' +
'' + boldText + '' +
'' + subText + '' +
'
' +
'
';
}
itemElement.innerHTML = content;
return itemElement;
},
onSelect: function (element, autocomplete) {
document.dispatchEvent(new CustomEvent('am.gtag.search', {'detail': {'term': autocomplete.value}}))
savedSearch(sanitizer.sanitize(autocomplete.value), element);
},
emptyMsg: 'No results found.',
preventSubmit: false,
showOnFocus: true,
// Required to set the final position of the results
// By default result tag is applied at the bottom of the document with fixed style
// when we want it in the defined tag ( Styles are also customized )
customize: function (input, inputRect, container, maxHeight) {
resultContainer.append($(container))
}
};
}
function savedSearch(string, element) {
if (!element.url) {
element.url = url.replace("term", string)
}
var formData = new FormData();
formData.append('string', string);
formData.append('nbResults', nbResults);
try {
if (navigator.sendBeacon) {
navigator.sendBeacon('/en/saved--search/artwork', formData)
} else {
var xhr = new XMLHttpRequest();
xhr.open('post', '/en/saved--search/artwork', false);
xhr.send(formData);
}
} catch (e) {
}
window.location.href = element.url
}
document.addEventListener('am.gtag.search', function (e) {
var term = e.detail.term
gtag("event", "search", {
search_term: term
});
});
})
})();
Sell original art 6j341
Sell Safely 2s3541
ArtMajeur will only send you confirmed orders by vetted clients.
How does it work ?
Buyer pays ArtMajeur
Seller ships artworks
ArtMajeur pays the seller
Lowest sale commission on the market 5h6o29
Sell online and enjoy one of the lowest sale commission on the market!
Artist (Free )
35%
Artist (Platinum )
30%
Sell my work to international customers 2hwa
ArtMajeur helps you manage all aspects of selling your work. All features to sell online: Create purchase orders and invoices, receive your payments on PAYPAL, checks, bank transfer etc ... All pre-sales are taken care of by ArtMajeur (customer negotiation, payment, invoicing).
Let ArtMajeur deliver your works worldwide with our EXPRESS partners, or choose your own carrier and manage shipping by yourself. Charge client any amount you need for shipping or offer free shipping: you choose! Keep your client informed about the shipping delays. Follow the parcel to make sure it arrives to your client smoothly.
ArtMajeur
Newsletter
Receive our newsletter for art lovers and collectors