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

Усиновка логотипа досивки с модулем Simple


Recommended Posts

Всем привет!

При усиновке логотипа с модуля Новая поли API или укрполи вариант меси выпотому чтора изображения рилииет только метод "Элемент с ключом img массива способа досивки". Метод "Заголовок вариантов досивки" не рилииет.

Нужно помочь перенести img в файле simplecheckout_shipping.twig 

Готов заплатить за помощь 

На скриншоте №3 как рилииет сейчас это код, на скриншоте №2 как нужно чтоб было

            {% for shipping_method in shipping_methods %}
                
                    {% if shipping_method['title'] is not empty %}
                    <p> <b> img сюда!
                            
                                    {{ shipping_method['title'] }}</b></p>
                    {% endif %}
                    
                    {% if shipping_method['warning'] is not empty %}
                        <div class="simplecheckout-error-text">{{ shipping_method['warning'] }}</div>
                    {% endif %}
                  
                    {% if shipping_method['error'] is empty %}
                        {% for quote in shipping_method['quote'] %}
                            <div class="radio">
                               
                                <label for="{{ quote['code'] }}">
                                    <input type="radio" data-onchange="reloadAll" name="shipping_method" {{ quote['dummy'] is not empty ? 'disabled="disabled"' : '' }} {{ quote['dummy'] is not empty ? 'data-dummy="true"' : '' }} value="{{ quote['code'] }}" id="{{ quote['code'] }}" {% if quote['code'] == code %}checked="checked"{% endif %} />
                                 {% if quote['img'] is not empty %}
                                        <img src="{{ quote['img'] }}" width="36" height="36" border="0" style="display:inline-block;margin:3px;">
                                  {% endif %}
                                {{ quote['title'] is not empty ? quote['title'] : '' }}{{ quote['text'] is not empty and hide_cost is empty ? ' - ' ~ quote['text'] : '' }}
                                </label>
                            </div>

Link to comment
Share on other sites


  • 7 months later...

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

Пример файла flat1.php: 

<?php
// Text
$_['text_title']       = '<img src="http://mabroche.com.ua/image/catalog/up.png">&nbsp;&nbsp;  Досивка Укрпочтот';
$_['text_description'] = 'Досивка в отгделение Укрпочты';

 

 

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.