The TronLogo software allows you to display the logos, you preset for the clients in the case, they have no logo selected or to rewrite their logos and visualize the preset logo anytime.
The software holds the last visualized logo, uploaded by the client. It is mainly because the client doesn't have to upload his logo or create artwork every time, he visits your webshop. This behavior is locked for client's IP address, device, and browser. The gallery is held on the level of the client, so his logo (gallery) is displayed anywhere, where the Tronlogo is implemented.
However in case, the client has no logo uploaded, you can preload any logo you want, using this simple script - placed in the external scripts section of your TronShop - as it is.
<script>
var TronLogoCheckCounter=0;
var TronLogoGUID="";
try {
var WebUrl = new URL(window.location.href);
var TronLogoGUID = WebUrl.searchParams.get("tlgd");
if (!TronLogoGUID) { TronLogoGUID="" }
} catch (err) { }
function TronLogoCheckActivate() {
var tlInitWait=true;
if (window.tronlogo!=undefined && window.tron!=undefined) {
if (window.tron.User!=undefined) { tlInitWait=false; }
}
if (tlInitWait==false) {
if (TronLogoGUID.length>0) {
window.tronlogo.setCurrentLogo("TronLogo LOGO GUID HERE");
} else {
window.tronlogo.setCurrentLogoIfNotSelected("TronLogo LOGO GUID HERE");
}
} else {
TronLogoCheckCounter=TronLogoCheckCounter+1;
if (TronLogoCheckCounter<25) { window.setTimeout(TronLogoCheckActivate,100*TronLogoCheckCounter); }
}
}
window.setTimeout(TronLogoCheckActivate,100);
</script>
This script allows you to:
visualize any logo uploaded in your TronLogo license (violet section) - just add to any URL address signature: ?tlgd=LOGOGUID (see below) - you need to do this in webshop front end - NOT IN THE SCRIPT!
visualize the preset logo, if the customer has no logo selected (blue section) - just place the LOGOGUID (see below) of the desired logo instead of the blue text
force to always visualize preset logo (green section) - just place the LOGOGUID (see below) of the desired logo instead of the green text
To get the LOGOGUID you need to upload the desired logo using your TronLogo in the webshop frontend. Then go to the backend and copy the logoguid:
Comments
0 comments
Please sign in to leave a comment.