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

Всплываюещёе окно


okhnazir
 Share

Recommended Posts

Здравствуйте, подскажите пожалуйси, на opencart 3.0.2.0 на страниэто товара, возможно добавить всплываюещём окне все изображения товара. 

На страниэто товара изображения показывается как на скриншоте. 

 

<ul class="product-flex">        
        <li class="item-flex-img">
          <button style="border:none; background-color: transparent; " id="productBtnImg"><img class="progressive" src="{{ thumb }}" alt=""></button>
        </li>  
        {% if images %}
        {% for image in images %}
        <li class="item-flex-img hidden-xs">
          <button style="border:none; background-color: transparent;"id="productBtnImgList"><img class="progressive" src="{{ image.popup }}" alt=""></button>
        </li> 
         {% endfor %}
         {% endif %}
</ul>
с id я смог вывести всплываюещём окне все изображения товара только на 2 верхних изображениях. Как сгделать, чтобы при нажатии на люпотому чтое изображение товара в модальном окне показывались все изображения данного товара.

 

 

Edited by okhnazir
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.