Post by AlinG » Sat Apr 27, 2013 8:40 pm

Capturecat.PNG

Capturecat.PNG (169.06 KiB) Viewed 669 times

buna,

As vrea sa elimin subcategoriile, cele dupa ce fac click pe Categoria principala.
am atasat o poza ca sa va dati seama despre ce este vorba.
Cum as putea sa le elimin?

Va multumesc anticipat!

New member

Posts

Joined
Thu Feb 14, 2013 4:17 am

Post by florinsith » Thu May 02, 2013 3:55 pm

Codul din tema implicita, si cel pe care trebuie sa-l elimini este :

Code: Select all

<?php if ($categories) { ?>
  <h2><?php echo $text_refine; ?></h2>
  <div class="category-list">
    <?php if (count($categories) <= 5) { ?>
    <ul>
      <?php foreach ($categories as $category) { ?>
      <li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a></li>
      <?php } ?>
    </ul>
    <?php } else { ?>
    <?php for ($i = 0; $i < count($categories);) { ?>
    <ul>
      <?php $j = $i + ceil(count($categories) / 4); ?>
      <?php for (; $i < $j; $i++) { ?>
      <?php if (isset($categories[$i])) { ?>
      <li><a href="<?php echo $categories[$i]['href']; ?>"><?php echo $categories[$i]['name']; ?></a></li>
      <?php } ?>
      <?php } ?>
    </ul>
    <?php } ?>
    <?php } ?>
  </div>
  <?php } ?>
in fisierul catalog/view/theme/tema-ta/template/product/product.tpl. S-ar putea sa fie putin schimbat in tema custom dar o sa-ti dai seama care este.

Image
My Extensions - SuperTheme - Opencart templates - Opencart modules


User avatar
Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am


Post by Xyph3r » Thu May 02, 2013 8:06 pm

fisierul catalog/view/theme/tema-ta/template/product/category.tpl :)

ImageImageImage
Opencart Templates, Modules, Themes & Custom Development | ShopThemer


User avatar
Active Member

Posts

Joined
Sun Feb 10, 2013 1:08 am


Post by AlinG » Thu May 02, 2013 10:48 pm

Mersi mult baieti.
Cum pot sa adaug Meta Keywords? am instalat si modulul ultimate seo package si tot nu imi apare meta keywords :| cum as putea sa fac sa am si meta keywords ca nu imi place cum arata la indexarea in google doar cu Meta Descriere.

New member

Posts

Joined
Thu Feb 14, 2013 4:17 am
Who is online

Users browsing this forum: No registered users and 7 guests