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

Как настроить скрипт вывода категорий


Recommended Posts

На сайте есть скрипт который выводит на страниэто товара категории, но они разбиты по группам

 

Как написать скрипт, что бы все атрибуты товара выводились в подряд

 

 

Сейчас скрипт рилииет ик

<div class="botomAttrsHolder_n">
        <?php if(isset($attribute_groups)) { ?>
            <?php foreach($attribute_groups AS $gr) { ?>
                    <div class="attrs_block_n">
                        <?php foreach($gr['attribute'] AS $attr) { ?>
                            <div class="attrWrapp_n" data-toggle="tooltip" data-html="true" title="<em><?php echo $attr['name']; ?></em>" >
                                <div class="arrtImgHolder_n">
                                    <img src="/image/<?php echo $attr['image']; ?>" style="" alt="alt" />
                                    <span style="margin-left: 10px;" class="arrtTextHolder_n"><?php echo $attr['text']; ?></span>
                                </div>
                    

                            </div>

                            <?php $i++; } ?>
                        </div>
            
                <?php } ?>
            <?php } ?>

Link to comment
Share on other sites


40 минут назад, sadar4ik сказал:

Как написать скрипт

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

  • +1 1
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.