Post by ojejones » Tue Feb 12, 2013 3:16 am

For SEO I have added some copy to my category page http://www.vipcases.co.uk/iPhone-5-cases

But I want the copy to appear underneath the products list. Is there a way to do this? Currently the user hits a mass of text instead of seeing a list of my products.

Newbie

Posts

Joined
Wed Feb 06, 2013 6:41 am


Post by ChetanCx » Tue Feb 12, 2013 3:41 am

in your catalog/view/theme/your_theme/template/product/category.tpl
find

Code: Select all

<?php if ($description) { ?>
    <?php echo $description; ?>
    <?php } ?>
cut it and paste it just before

Code: Select all

<?php echo $content_bottom; ?></div>

User avatar
Active Member

Posts

Joined
Sat Dec 08, 2012 8:12 pm

Post by victorj » Tue Feb 12, 2013 3:50 am

CHETANCX beats my by some minutes.

this moves complete category description incl category picture if used

find file:
catalog/view/theme/default/template/product/category.tpl

find
starting line 8 ending line 18 this code:

catalog/view/theme/default/template/product

Code: Select all

  <h1><?php echo $heading_title; ?></h1>
  <?php if ($thumb || $description) { ?>
  <div class="category-info">
    <?php if ($thumb) { ?>
    <div class="image"><img src="<?php echo $thumb; ?>" alt="<?php echo $heading_title; ?>" /></div>
    <?php } ?>
    <?php if ($description) { ?>
    <?php echo $description; ?>
    <?php } ?>
  </div>
  <?php } ?>
delete this code.

go to bottom of file

find:

Code: Select all

//--></script> 
insert after

Code: Select all

  <h1><?php echo $heading_title; ?></h1>
  <?php if ($thumb || $description) { ?>
  <div class="category-info">
    <?php if ($thumb) { ?>
    <div class="image"><img src="<?php echo $thumb; ?>" alt="<?php echo $heading_title; ?>" /></div>
    <?php } ?>
    <?php if ($description) { ?>
    <?php echo $description; ?>
    <?php } ?>
  </div>
  <?php } ?>

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Eigen productie en snelle levering.
https://123-deurrubbers.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by ojejones » Tue Feb 12, 2013 4:13 am

Ok guys that was so quick and helpful. I now just want to get rid of the "Refine Search" bit so it just says the display by grid/list etc underneath.

I would be much obliged if you could help on this?

Newbie

Posts

Joined
Wed Feb 06, 2013 6:41 am


Post by victorj » Tue Feb 12, 2013 5:16 am

around line 19 but in your file some higher find code:

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 } ?>
remove or uncomment like this so it is easyer to restore
looks like this:

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 } ?> -->

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Eigen productie en snelle levering.
https://123-deurrubbers.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by ojejones » Tue Feb 12, 2013 5:55 am

Worked a charm. Thanks very much guys. If you need a phone case you know where to come ;-)

Newbie

Posts

Joined
Wed Feb 06, 2013 6:41 am


Post by victorj » Tue Feb 12, 2013 6:17 am

ojejones wrote: If you need a phone case you know where to come ;-)
Not much principles but android rule :laugh:

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Eigen productie en snelle levering.
https://123-deurrubbers.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by ojejones » Wed Feb 13, 2013 2:20 am

Quick question. After I have moved the info box to the bottom of the page, if I view the page source, I cannot see it in there meaning that the copy (which I wrote primarily for Google) cant be seen by them. Any clues?

Newbie

Posts

Joined
Wed Feb 06, 2013 6:41 am


Post by ChetanCx » Wed Feb 13, 2013 2:36 am

obviously you can see it in source i can see it in this page's source http://www.vipcases.co.uk/iPhone-5-cases .... moving a text block makes no difference

User avatar
Active Member

Posts

Joined
Sat Dec 08, 2012 8:12 pm
Who is online

Users browsing this forum: No registered users and 56 guests