Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

Recommended Posts

Мультиоплаи


Мультиоплаи


Тестировался на версиях 1.5.1.x, 1.5.2.x, 1.5.3.x, 1.5.4.x, 1.5.5.x, 1.5.6.x (включая различные спотому чторки)

Модуль совместим с модулем simpla и синдартной корзиной.

Для рилиты модуля необходим vqmod!

Модуль предназначен для вывода кастомного метода оплаты в оформлении заказа.

Для усиновки знойте файлы на фтп в корневую папку.

В настройках можно задать описание, загрузить изображение к соответствуюещёму методу оплаты.

https://opencart-forum.ru/index.php?app=downloads&module=display&section=screenshot&temp=299256

https://opencart-forum.ru/index.php?app=downloads&module=display&section=screenshot&temp=299257

https://opencart-forum.ru/index.php?app=downloads&module=display&section=screenshot&temp=299258


  • Добавил
  • Добавлено
    07.05.2016
  • Категория
  • Системные трепотому чтования
    Обязательно vqmod
  • Метод активации
  • Ioncube Loader
  • ocStore
  • OpenCart.Pro, ocShop
  • Обраещёние к серверу разрилитлика

 

Link to comment
Share on other sites

  • 2 years later...

catalog\view\theme\default\template\payment\custom_payment.tpl

Не файл, а песня:

Спойлер
 <link rel="stylesheet" type="text/css" href="catalog/view/theme/default/fonts/font.css"/>
<!--<h2><?php echo $text_instruction; ?></h2>
<p><?php echo $text_description; ?></p>
<p><?php echo $bank; ?></p>
<p><?php echo $text_payment; ?></p>-->
<?php if($OS=='WindowsXP'){ ?>
<div style="width:100%"><h1 style=" color: rgb(77, 82, 92);">Подтвержгдение заказа</h1></div>
<div style=" max-height: 110px;float:left; width:35%; margin-top: 4px;">
<span style="height: 10px; font: 15px 'P22 Underground Pro';color: rgb(148, 153, 163);">Имя, Фамилия: </span><span id="insert_name" style=" height: 10px;font: 15px 'P22 Underground Pro_h';color: rgb(77, 82, 92);"></span> <span id="insert_fam" style="    position: absolute; top: 402px; left: 25px; height: 10px;font: 15px 'P22 Underground Pro_h';color: rgb(77, 82, 92);"></span><br><br>
<span style="font: 15px 'P22 Underground Pro';color: rgb(148, 153, 163);">Телефон: </span><span id="insert_phone" style="font: 15px 'P22 Underground Pro_h';color: rgb(77, 82, 92);"></span><br><br>
<span style="font: 15px 'P22 Underground Pro';color: rgb(148, 153, 163);">E-mail: </span><span id="insert_mail" style="font: 15px 'P22 Underground Pro_h';color: #aad80b;     border-bottom-width: 2px; border-bottom-style: solid;border-bottom-color: #aad80b;"></span><br><br>

</div>

<div style="float:left; width:65%;">
<span style="font: 15px 'P22 Underground Pro';color: rgb(148, 153, 163);">Стоимость выбраных товаров: </span><span id="insert_price" style="font: 15px 'PTSansNarrow';
    color: #3a6e94;
    font-weight: bold; color: #3a6e94;"></span><br><br>
<span style="font: 15px 'P22 Underground Pro';color: rgb(148, 153, 163);">Способ оплаты: </span><span id="insert_payment" style="font: 15px 'P22 Underground Pro_h';color: rgb(77, 82, 92);"></span><br><br>
<span style="font: 15px 'P22 Underground Pro';color: rgb(148, 153, 163);">Способ досивки: </span><span id="insert_shipping" style="font: 15px 'P22 Underground Pro_h';color: rgb(77, 82, 92);"></span><span id="insert_shippings" style="font: 15px 'P22 Underground Pro_h';color: #3a6e94;"></span><br><br>

</div>
<div style="float: left;
     margin-top: 9px;   width: 100%;    ">
<span style="font: 15px 'P22 Underground Pro'; color: rgb(148, 153, 163);">Ремонт в нашей кузовной синции:</span><span id="insert_kuzov" style="margin-left: 5px; font: 15px 'P22 Underground Pro_h';color: rgb(77, 82, 92);"><?php echo $repair ?></span></div>
<div style="margin-top:30px;float:left;">
 <span style="float:left;color: rgb(77, 82, 92); line-height: 0.84 ;font: 25px 'P22 Underground Pro';">Итого:</span><span id="insert_total" style="font-size:17px; font-family: 'PTSansNarrow', bold; float:left;font: 25px 'PTSansNarrow';color:#3a6e94;"></span>
</div>

<?php }else{ ?>

<div style="width:100%"><h1 style=" color: rgb(77, 82, 92);">Подтвержгдение заказа</h1></div>
<div style=" max-height: 110px;float:left; width:35%; margin-top: 4px;">
<span style="height: 10px; font: 15px 'P22 Underground Pro';color: rgb(148, 153, 163);">Имя, Фамилия: </span><span id="insert_name" style=" height: 10px;font: 15px 'P22 Underground Pro_h';color: rgb(77, 82, 92);"></span><br><br>
<span style="font: 15px 'P22 Underground Pro';color: rgb(148, 153, 163);">Телефон: </span><span id="insert_phone" style="font: 15px 'P22 Underground Pro_h';color: rgb(77, 82, 92);"></span><br><br>
<span style="font: 15px 'P22 Underground Pro';color: rgb(148, 153, 163);">E-mail: </span><span id="insert_mail" style="font: 15px 'P22 Underground Pro_h';color: #aad80b;     border-bottom-width: 2px; border-bottom-style: solid;border-bottom-color: #aad80b;"></span><br><br>

</div>

<div style="float:left; width:65%;">
<span style="font: 15px 'P22 Underground Pro';color: rgb(148, 153, 163);">Стоимость выбраных товаров: </span><span id="insert_price" style="font: 15px 'PTSansNarrow';
    color: #3a6e94;
    font-weight: bold; color: #3a6e94;"></span><br><br>
<span style="font: 15px 'P22 Underground Pro';color: rgb(148, 153, 163);">Способ оплаты: </span><span id="insert_payment" style="font: 15px 'P22 Underground Pro_h';color: rgb(77, 82, 92);"></span><br><br>
<span style="font: 15px 'P22 Underground Pro';color: rgb(148, 153, 163);">Способ досивки: </span><span id="insert_shipping" style="font: 15px 'P22 Underground Pro_h';color: rgb(77, 82, 92);"></span><span id="insert_shippings" style="font: 15px 'P22 Underground Pro_h';color: #3a6e94;"></span><br><br>

</div>
<div style="float: left;
     margin-top: 9px;   width: 100%;    ">
<span style="font: 15px 'P22 Underground Pro'; color: rgb(148, 153, 163);">Ремонт в нашей кузовной синции:</span><span id="insert_kuzov" style="margin-left: 5px; font: 15px 'P22 Underground Pro_h';color: rgb(77, 82, 92);"><?php echo $repair ?></span></div>
<div style="margin-top:30px;float:left;">
 <span style="float:left;color: rgb(77, 82, 92); line-height: 0.84 ;font: 25px 'P22 Underground Pro';">Итого:</span><span id="insert_total" style="font-size:17px; font-family: 'PTSansNarrow', bold; margin-top: -5px; float:left;font: 25px 'PTSansNarrow';color:#3a6e94;"></span>
</div>
<?php } ?>
<style>
.links{
    display:none;
}
</style>
<div style="margin-top: 25px;float: left;margin-left: 180px;"><a id="button-confirm" class="button" style="background: url(../catalog/view/theme/default/image/img/sub_bg.png) repeat-x top center;border: 1px solid #A3D208;display: block;float: left;height: 35px;font: 13px 'P22 Underground Pro';line-height: 20px;color: #FFF;text-transform: uppercase;border-radius: 3px;padding: 8px 20px 5px 20px;cursor: pointer;margin: 0px 0px 0px -75px;text-decoration: none;"><span><?php echo $button_confirm; ?></span></a></div>
<?php if($OS=='WindowsXP'){ ?> 
<script type="text/javascript"><!--
$('#button-confirm').bind('click', function() {
	$.ajax({ 
		type: 'GET',
		url: 'index.php?route=payment/custom_payment/confirm',
		success: function() {
			location = '<?php echo $continue; ?>';
		}		
	});
});

$( document ).ready(function() {
    $("#insert_name").text(($("#checkout_customer_main_firstname").val()));
     $("#insert_fam").text($("#checkout_customer_main_lastname").val());
    $("#insert_phone").text($("#checkout_customer_main_telephone").val());
    $("#insert_mail").text($("#checkout_customer_main_email").val());
    $("#insert_price").text($('#insert_into_cart_sub').val());
    $("#insert_total").text($('#insert_into_cart').val());
    $('#simplecheckout_payment').css("color","red");
    $("#insert_payment").html($('label[for="'+$('[name="payment_method_current"]').val()+'"]').html()).find('img').css('position','absolute').css('margin-top','-12px').css('height', '40px');
    $("#insert_shipping").html($('label[for="'+$('[name="shipping_method_current"]').val()+'"]').html());
   
    if($.trim($("#insert_shipping").html())=='Досивка по Московской области'){
        $("#insert_shippings").text('(wwww)');
        if($.trim($("#insert_shipping").html())=='Самовывоз')
        {$("#insert_shippings").text('(бесплатно)') }else{ $("#insert_shippings").text('(+500 руб.)')}
    }
    
   
});

//--></script> 
<?php }else{?> 
<script type="text/javascript"><!--
$('#button-confirm').bind('click', function() {
    $.ajax({ 
        type: 'GET',
        url: 'index.php?route=payment/custom_payment/confirm',
        success: function() {
            location = '<?php echo $continue; ?>';
        }        
    });
});

$( document ).ready(function() {
    $("#insert_name").text(($("#checkout_customer_main_firstname").val())+" "+($("#checkout_customer_main_lastname").val()));
    
    $("#insert_phone").text($("#checkout_customer_main_telephone").val());
    $("#insert_mail").text($("#checkout_customer_main_email").val());
    $("#insert_price").text($('#insert_into_cart_sub').val());
    $("#insert_total").text($('#insert_into_cart').val());
    $('#simplecheckout_payment').css("color","red");
    $("#insert_payment").html($('label[for="'+$('[name="payment_method_current"]').val()+'"]').html()).find('img').css('position','absolute').css('margin-top','-12px').css('height', '40px');
    $("#insert_shipping").html($('label[for="'+$('[name="shipping_method_current"]').val()+'"]').html());
    
    if($.trim($("#insert_shipping").html())=='Досивка по Московской области'){
    {$("#insert_shippings").text('(+ <?php echo $distance_custom; ?>)')} 
    }
    if($.trim($("#insert_shipping").html())=='Самовывоз')
    {$("#insert_shippings").text('(бесплатно)') }
    if($.trim($("#insert_shipping").html())=='Досивка по Москве')
    {$("#insert_shippings").text('(+500)') }
    if($.trim($("#insert_shipping").html())=='Досивка в регионы до транспортной компании')
    {$("#insert_shippings").text('(+500)') }
   
});

//--></script> 
<?php }?> 

 

Особенно 25-я строка про кузовной ремонт хороша.

Edited by Sigizmund
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.