Para Esquerda Para Esquerda

SOFÁ SINGITA BRANCO

Downloads

Esse material está disponível apenas para assinantes.

Informações do Produto

  • Esse bloco/material está modelado no Sketchup 2021 e configurado para Vray 5.2 e superiores.
  • Marca: Uniqwa

Arquivos relacionados

  • PREMIUM
  • PREMIUM
  • PREMIUM
  • PREMIUM
  • X
    X
    Produto adicionado aos favoritos :

    SEU RENDER AINDA + FAST

    IMPORTE NOSSOS BLOCOS 3D DIRETO NO SKETCHUP

    BAIXE NOSSO PLUGIN
    if(window.sketchup) { document.querySelector('body').classList.add('has-sketchup'); } const notificationSystem = document.querySelector('.notification-system'); const searchIcon = document.querySelector('.search-icon'); const searchModal = document.querySelector('.search-modal'); const searchModalCloseBTN = document.querySelector('.search-modal-close'); searchIcon.addEventListener('click', function(e) { e.preventDefault(); searchModal.classList.add('active'); }); searchModalCloseBTN.addEventListener('click', function(e) { e.preventDefault(); searchModal.classList.remove('active'); }); var userId = +0; var isSubscriber = +0; // Limite de downloads var downloadsMounthLimit = 150; var downloadsDayLimit = 10; var downloadsMounthLimitFree = 5; var downloadsDayLimitFree = 1; var mySubscription = +0; // 0 = Mensal, 1 Semestral e 2 Anual var downloadsDay = +0; var downloadsMonth = +0; var productsDownloadButton = document.querySelectorAll('.product-download-link'); if (typeof productsDownloadButton !== "undefined") { productsDownloadButton.forEach(function(productDownloadButton) { productDownloadButton.addEventListener('click', function(event) { // Se for assinante, e assinante mensal if (isSubscriber === 1 && mySubscription <= 0) { if (downloadsMonth >= downloadsMounthLimit) { // event.preventDefault(); // showNotification( // "Você já chegou no limite de " + downloadsMounthLimit + " downloads mensal.", 30000 // ); // return; } else { showNotification( "Limite de download: " + downloadsMonth + "/" + downloadsMounthLimit + " mensal", 30000 ); downloadsDay++; downloadsMonth++; // if (downloadsDay >= downloadsDayLimit) { // event.preventDefault(); // showNotification( // "Você já chegou no limite de " + downloadsDayLimit + " downloads diário." // ); // console.log('É assinante e limite diario atingido'); // return; // } else { // showNotification( // "Limite de download: " + downloadsDay + "/" + downloadsDayLimit + " diario" // ); // } const formData = new FormData(); formData.append('user_id', userId); const options = { body: formData, method: 'post', } fetch(`${window.location.origin}/wp-json/api/aumentar_download`, options).then(r => r.json()).then(r => console.log(r)); } } }); }) } let notificationTimer; function showNotification(message, time = 5000) { if (notificationTimer) clearInterval(notificationTimer); notificationSystem.querySelector('.notification-message').innerHTML = message; notificationSystem.classList.add('active'); notificationTimer = setTimeout(() => { notificationSystem.classList.remove('active'); }, time); } // Mudar a imagem pra dar Zoom const productZoomElements = document.querySelectorAll('.product-zoom'); const zoomElement = document.querySelector('.zoom-system'); const zoomCloseElement = document.querySelector('.zoom-system .close'); zoomCloseElement.addEventListener('click', function(e) { e.preventDefault(); zoomElement.classList.remove('active'); }); productZoomElements.forEach(productZoom => { productZoom.addEventListener('click', () => { // Get the closest ancestor element with the class "product-card-image-link" const productCard = productZoom.closest('.product-card'); zoomElement.querySelector('img').src = productCard.querySelector('.product-card-image-link img').src; zoomElement.classList.add('active'); }); });