![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() Store ID: 1bfaz5suc0den4jv
Website URL: http://www.botas.net URL to page in question: http://www.botas.net/botas-com-animal-print/ Hi Eric, unfortunately I was trying to include a filter above the product list (category page) and I guess I did something wrong because now the products don't appear as they did before. Now I only have 10 products on the first page, before they were 18. And they appear very irregular, sometimes not 3 in the same row. And if I click to go to page 2, I receive the "not found error 404" message. The actual code is this and I wonder were the mistake is: HTML Code:
<!-- Pagination Links (Top) --> <div class="pgr"> Páginas: [pager.first text='<img src="[server.plugin_url]/first.gif" alt="first page" />' alt=''] [pager.prev text='<img src="[server.plugin_url]/prev.gif" alt="prev page" />' alt=''] [pager.pages delim=' '] [pager.next text='<img src="[server.plugin_url]/next.gif" alt="next page" />' alt=''] [pager.last text='<img src="[server.plugin_url]/last.gif" alt="last page" />' alt=''] </div> <!-- /Pagination Links (Top) --> <!-- Product List --> <div class="pl"> [product.each] <div class="t1 col3"> <div class="bdr"> <h2><a href="[product.link]" title="[product.name]">[product.name]</a></h2> <div> <div style="text-align: center; font-weight: bold; color:red;"> <?php if ( $product->saleprice > 0 ) { if ( $product->price > $product->saleprice ) { echo '' . round( ( ( $product->price - $product->saleprice ) / $product->price ) * 100 ) . '% Off'; } } ?> </div> </div> <div class="thmb"><a href="[product.link]" title="[product.name]">[product.image tag='1']</a></div> <?php if ($product->saleprice > 0 && $product->saleprice < $product->price) { ?> <div class="prc"> <small> <span style="text-decoration: line-through;">R$ [product.price]</span> <span style="font-weight: bold; color:red;">R$ [product.saleprice]</span> </small> </div> <?php } else { ?> <div class="prc"> <small> R$ [product.price] </small> </div> <?php } ?> <div class="btns"> <a href="[product.link]" title="Detalhes [product.name]" class="dfbutton dfblue dfmedium dfrounded">Detalhes</a> </div> <div class="clearingdiv"> </div> </div> </div> [/product.each] <div class="clearingdiv"> </div> </div> <!-- /Product List --> <!-- Pagination Links (Bottom) --> <div class="pgr"> Páginas: [pager.first text='<img src="[server.plugin_url]/first.gif" alt="first page" />' alt=''] [pager.prev text='<img src="[server.plugin_url]/prev.gif" alt="prev page" />' alt=''] [pager.pages delim=' '] [pager.next text='<img src="[server.plugin_url]/next.gif" alt="next page" />' alt=''] [pager.last text='<img src="[server.plugin_url]/last.gif" alt="last page" />' alt=''] </div> <!-- /Pagination Links (Bottom) --> Could you help me out please? Thank you, Kathrin |
#2
|
||||
|
||||
![]() Hi,
The issue is you are embedding a view into a WP page: http://www.botas.net/botas-com-animal-print/ Embedded views can't have pagination that's why going to page 2 doesn't work. The reason your products aren't lining up properly is because you have added extra text to items on sale which is pushing those items down the page. I suggest changing this: HTML Code:
<div style="text-align: center; font-weight: bold; color:red;"> <?php if ( $product->saleprice > 0 ) { if ( $product->price > $product->saleprice ) { echo '' . round( ( ( $product->price - $product->saleprice ) / $product->price ) * 100 ) . '% Off'; } } ?> </div> HTML Code:
<div style="text-align: center; font-weight: bold; color:red;"> <?php if ( $product->saleprice > 0 ) { if ( $product->price > $product->saleprice ) { echo '' . round( ( ( $product->price - $product->saleprice ) / $product->price ) * 100 ) . '% Off'; } else { echo ' '; } } ?> </div>
__________________
![]() ![]() ![]() ![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Front page product list | abbeydriving | Problems | 8 | March 14th, 2012 04:07 AM |
Product List Home Page | bultpruf | Problems | 2 | November 19th, 2011 12:58 PM |
Factory > View > Store Front Page > Product List | coolgearguy | Questions | 7 | September 7th, 2011 04:44 PM |
The Problem about Product list's width | jasonman188 | Problems | 1 | March 16th, 2011 08:26 AM |
... get the default product list back on the front page? | ayorofrance | Questions | 2 | January 8th, 2011 09:01 PM |