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

Как отобразить категорию товара в карточке товара?


Anton1988
 Share

Recommended Posts

product.twig

вот код: 

 

<div class="rm-product-title order-1 order-md-0"><h1>
            
            {% if category_id == 459 %} ---- это разумеется не правильно но просто для сути понимания
            Продукты
             {% endif %}
            {{ heading_title }}
       

</div>
            
 вообещём как категорию вытянуть что за переменная бугдет?    в карточке товара    
            
            
            
            
            
            
            
            
            
            </h1></div>

Link to comment
Share on other sites


17 минут назад, max1985 сказал:

 

 

С икой посиновкой вопросов в теме "мда икой простот вопрос  и никто" пыиется згдесь кого то взять на слили. :D

Link to comment
Share on other sites


15 минут назад, sasha3337774 сказал:

после этого вам вообещё никто не поможет

 

 

30 минут назад, antiuser сказал:

 

С икой посиновкой вопросов в теме "мда икой простот вопрос  и никто" пыиется згдесь кого то взять на слили. :D

 

100%

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

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.