


<script>
// BOG განვადების ფუნქცია

function openBOGInstallment(prc) {

     
    const productName = ''; 
    
    const productPrice = prc;
    
    
    if (typeof BOG === 'undefined' || !BOG.Calculator) {
        alert('BOG SDK ვერ ჩაიტვირთა. გთხოვთ განაახლოთ გვერდი.');
        return;
    }
    
    // BOG კალკულატორის გახსნა
    BOG.Calculator.open({
        amount: productPrice,
        merchantId: '10002154',
        currency: 'GEL',
        onClose: () => {
            // კალკულატორი დაიხურა
        },
        onRequest: (selected, successCb, closeCb) => {
            fetch('../../../../../ganvadeba/bog/api.php', {
                method: 'POST',
                headers: {
                    'Content-Type': 'application/json',
                },
                body: JSON.stringify({
                    product_name: productName,
                    amount: productPrice,
                    month: selected.month,
                    discount_code: selected.discount_code || 'STANDARD'
                })
            })
            .then(response => response.json())
            .then(data => {
                if (data.success && data.orderId) {
                    successCb(data.orderId);
                } else {
                    alert('შეცდომა: ' + (data.message || 'გთხოვთ სცადოთ მოგვიანებით'));
                    closeCb();
                }
            })
            .catch(error => {
                alert('შეცდომა სერვერთან კომუნიკაციისას');
                closeCb();
            });
        },
        onComplete: ({redirectUrl}) => {
            alert('განვადება წარმატებით დასრულდა!');
            if (redirectUrl) {
                window.location.href = redirectUrl;
            }
            return false;
        }
    });
}

// ფუნქცია გლობალურად ხელმისაწვდომი
window.openBOGInstallment = openBOGInstallment;
</script>


<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//elitmobi.ge/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://elitmobi.ge/post-sitemap.xml</loc>
		<lastmod>2024-03-06T08:09:12+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://elitmobi.ge/page-sitemap.xml</loc>
		<lastmod>2026-04-20T13:54:00+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://elitmobi.ge/cms_block-sitemap.xml</loc>
		<lastmod>2021-03-16T14:25:27+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://elitmobi.ge/woodmart_slide-sitemap.xml</loc>
		<lastmod>2021-12-09T16:30:27+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://elitmobi.ge/portfolio-sitemap.xml</loc>
		<lastmod>2017-06-22T08:50:51+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://elitmobi.ge/product-sitemap.xml</loc>
		<lastmod>2026-05-22T14:35:16+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://elitmobi.ge/category-sitemap.xml</loc>
		<lastmod>2024-03-06T08:09:12+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://elitmobi.ge/woodmart_slider-sitemap.xml</loc>
		<lastmod>2021-12-09T16:30:27+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://elitmobi.ge/project-cat-sitemap.xml</loc>
		<lastmod>2017-06-22T08:50:51+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://elitmobi.ge/product_cat-sitemap.xml</loc>
		<lastmod>2026-05-22T14:35:16+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://elitmobi.ge/author-sitemap.xml</loc>
		<lastmod>2025-03-12T11:45:22+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->