Post by derek412 » Mon Apr 22, 2013 6:09 am

Hey all,

I never touched or did anything with this that I can recall, but it seems my pagination is broken when it comes to displaying products in my categories. I installed a theme and a few plugins via VQMod.

For instance, I have 13 items in a category, with a limit of 9 displayed per page. It displays 9 items, but there are no "next page" text or arrow indicators or anything like that at all to look at the next 4 items.

What could be wrong? What should I look at?

Newbie

Posts

Joined
Sat Feb 02, 2013 11:21 pm

Post by Xyph3r » Mon Apr 22, 2013 6:15 am

We need category.tpl located in catalog/view/theme/yourtheme/template/product
And please post your website too.

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


User avatar
Active Member

Posts

Joined
Sun Feb 10, 2013 1:08 am


Post by derek412 » Mon Apr 22, 2013 8:06 am

It won't let me attach the file, but here's the contents of the category.tpl file:

Code: Select all

<?php echo $header; ?>
  
<section class="product">

	<div class="row">
		<header class="span12 prime">

			<h3> <?php foreach ($breadcrumbs as $breadcrumb) { ?>
				<?php echo $breadcrumb['separator']; ?><a href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
				<?php } ?>
			</h3>
		</header>
	</div>

<div class="row">

	<div class="span3 hidden-phone">

	<?php echo $column_left; ?>

	</div>

	<div class="span9">
		<div class="row-fluid">

			<!-- Collection -->
			<div class="tab-content sideline">
				<?php foreach ($products as $product) { ?>
				<article>
					<div class="view view-thumb">
						<?php if ($product['thumb']) { ?>
						<div class="image"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" /></a></div>
						<?php } ?>
						<div class="mask">
							<h2><?php if (!$product['special']) { ?>
        <?php echo ($product['price']); ?>
        <?php } else { ?>
        <del><?php echo ($product['price']); ?></del>&nbsp &nbsp<?php echo ($product['special']); ?>
        <?php } ?>
							</h2>
							<p><?php echo $product['description']; ?></p>
							<a href="<?php echo $product['href']; ?>" class="info">View</a> <a  class="info">        <div class="cart"><input type="button" value="<?php echo $button_cart; ?>" onclick="addToCart('<?php echo $product['product_id']; ?>');" class="info" /></div></a>
						</div>
						</div>
						<p><a href="<?php echo $product['href']; ?>"  ><?php echo $product['name']; ?><br><b>
						<?php if (!$product['special']) { ?>
        <?php echo ($product['price']); ?>
        <?php } else { ?>
        <del><?php echo ($product['price']); ?></del>&nbsp<?php echo ($product['special']); ?>
        <?php } ?></p></b></a></p>
				</article>
				<?php } ?>

		    </div>
		<!-- Collections end -->

		</div>		
	</div>

</div>
			</section>
				</div></div>
<?php echo $footer; ?>
My site is: passportcomics.com

Newbie

Posts

Joined
Sat Feb 02, 2013 11:21 pm

Post by derek412 » Mon Apr 22, 2013 10:13 pm

Anyone have any ideas?

Newbie

Posts

Joined
Sat Feb 02, 2013 11:21 pm
Who is online

Users browsing this forum: Majestic-12 [Bot] and 42 guests