[SOLVED] wp e-commerce category view problem
Atahualpa 3.7.7, WP e-Commerce 3.8.8.5, categories won't render proper, fixed layout by adding <h2><a><img><div> to Don't strip these tags in configure excerps, but still looks ugly. The catagory title is not showing instead a product.
http://brunocelular.com.br/products-page/celulares/ Love the theme hope you can help us to fix it. |
did you try a search and read some of the threads?
|
Quote:
|
have you determined if this is a theme or plugin issue? You can tell by swapping to a different theme like twenty-eleven and see if the categories show up.
what do you have set in the ato->Edit POST/PAGE INFO ITEMS options? |
Quote:
Category view works fine with Twentyeleven and other themes. source with Atahualpa --- <td id="middle"> <div class="post-16 wpsc-product type-wpsc-product status-publish hentry odd" id="post-16"> <div class="post-kicker"></div> <div class="post-headline"><h2> <a href="http://brunocelular.com.br/products-page/celulares/zte-r221/" rel="bookmark" title="Permanent Link to Celulares"> ZTE R221</a></h2></div> <div class="post-bodycopy clearfix"><div id="default_products_page_container" class="wrap wpsc_container"> <div class="wpsc_category_details"> </div> <div class="wpsc_default_product_list"> <div class="default_product_display product_view_13 celulares group"> <h2 class="prodtitle entry-title"> <a class="wpsc_product_title" href="http://brunocelular.com.br/products-page/celulares/motorola-ex109/">Motorola EX109</a> </h2> <div class="imagecol" style="width:150;" id="imagecol_13"> <a rel="Motorola EX109" class="thickbox preview_link" href="http://brunocelular.com.br/wp-content/uploads/Motorola-EX109.jpg"> <img class="product_image" id="product_image_13" alt="Motorola EX109" title="Motorola EX109" src="http://brunocelular.com.br/wp-content/uploads/Motorola-EX109-150x150.jpg"/> </a> </div> <div class="productcol" style="margin-left:170px;" > <div class="wpsc_description"> <p>Bluetooth Rádio FM com suporte RDS Teclado QWERTY<br /> Mp3 Player<br /> Câmera 2.0 Mp Zoom digital 4x</p> </p></div> <div class="wpsc_product_price"> <p class="pricedisplay product_13">Preço: R$299.00</p> </p></div> <div class="entry-utility wpsc_product_utility"> <a class="post-edit-link" href="http://brunocelular.com.br/wp-admin/post.php?post=13&action=edit" title="Editar Produto">Editar</a> </div> </p></div> </p></div> <div class="default_product_display product_view_16 celulares group"> <h2 class="prodtitle entry-title"> <p> <a class="wpsc_product_title" href="http://brunocelular.com.br/products-page/celulares/zte-r221/">ZTE R221</a><br /> </h2> <div class="imagecol" style="width:150;" id="imagecol_16"> <a rel="ZTE R221" class="thickbox preview_link" href="http://brunocelular.com.br/wp-content/uploads/ZTE-R221.jpg"><br /> <img class="product_image" id="product_image_16" alt="ZTE R221" title="ZTE R221" src="http://brunocelular.com.br/wp-content/uploads/ZTE-R221-150x150.jpg"/></p> <p> </a></p></div> <div class="productcol" style="margin-left:170px;" > <div class="wpsc_description"> <p>2 Chips<br /> MP3<br /> Rádio FM<br /> Fone de Ouvido<br /> Entrada para cartão de memória de até 2 gb.</p> </p></div> <div class="wpsc_product_price"> <p class="pricedisplay product_16">Preço Antigo: R$129.00</p> <p class="pricedisplay product_16">Preço: R$99.00</p> <p class="pricedisplay product_16">Você economiza: R$30.00! (23.26%)</p> </p></div> <div class="entry-utility wpsc_product_utility"> <a class="post-edit-link" href="http://brunocelular.com.br/wp-admin/post.php?post=16&action=edit" title="Editar Produto">Editar</a> </div> </p></div> <p> Oferta! </p></div> </p></div> </p></div> </div> </div><!-- / Post --> </td> --- source with TwentyEleven --- <div id="main"> <div id="primary"> <div id="content" role="main"> <article id="post-16" class="post-16 wpsc-product type-wpsc-product status-publish hentry"> <header class="entry-header"> <h1 class="entry-title">Celulares</h1> </header><!-- .entry-header --> <div class="entry-content"> <div id="default_products_page_container" class="wrap wpsc_container"> <div class="wpsc_category_details"> </div><!--close wpsc_category_details--> <div class="wpsc_default_product_list"> <div class="default_product_display product_view_13 celulares group"> <h2 class="prodtitle entry-title"> <a class="wpsc_product_title" href="http://brunocelular.com.br/products-page/celulares/motorola-ex109/">Motorola EX109</a> </h2> <div class="imagecol" style="width:150;" id="imagecol_13"> <a rel="Motorola EX109" class="thickbox preview_link" href="http://brunocelular.com.br/wp-content/uploads/Motorola-EX109.jpg"> <img class="product_image" id="product_image_13" alt="Motorola EX109" title="Motorola EX109" src="http://brunocelular.com.br/wp-content/uploads/Motorola-EX109-150x150.jpg"/> </a> </div><!--close imagecol--> <div class="productcol" style="margin-left:170px;" > <div class="wpsc_description"> <p>Bluetooth<br /> Rádio FM com suporte RDS<br /> Teclado QWERTY<br /> Mp3 Player<br /> Câmera 2.0 Mp Zoom digital 4x</p> </div><!--close wpsc_description--> <form class="product_form" enctype="multipart/form-data" action="http://brunocelular.com.br/products-page/celulares/motorola-ex109/" method="post" name="product_13" id="product_13" > <!-- THIS IS THE QUANTITY OPTION MUST BE ENABLED FROM ADMIN SETTINGS --> <div class="wpsc_product_price"> <p class="pricedisplay product_13">Preço: <span id='product_price_13' class="currentprice pricedisplay">R$299.00</span></p> <!-- multi currency code --> </div><!--close wpsc_product_price--> <input type="hidden" value="add_to_cart" name="wpsc_ajax_action"/> <input type="hidden" value="13" name="product_id"/> <!-- END OF QUANTITY OPTION --> <div class="entry-utility wpsc_product_utility"> <span class="edit-link"><a class="post-edit-link" href="http://brunocelular.com.br/wp-admin/post.php?post=13&action=edit" title="Editar Produto">Editar</a></span> </div> </form><!--close product_form--> </div><!--close productcol--> </div><!--close default_product_display--> <div class="default_product_display product_view_16 celulares group"> <h2 class="prodtitle entry-title"> <a class="wpsc_product_title" href="http://brunocelular.com.br/products-page/celulares/zte-r221/">ZTE R221</a> </h2> <div class="imagecol" style="width:150;" id="imagecol_16"> <a rel="ZTE R221" class="thickbox preview_link" href="http://brunocelular.com.br/wp-content/uploads/ZTE-R221.jpg"> <img class="product_image" id="product_image_16" alt="ZTE R221" title="ZTE R221" src="http://brunocelular.com.br/wp-content/uploads/ZTE-R221-150x150.jpg"/> </a> </div><!--close imagecol--> <div class="productcol" style="margin-left:170px;" > <div class="wpsc_description"> <p>2 Chips<br /> MP3<br /> Rádio FM<br /> Fone de Ouvido<br /> Entrada para cartão de memória de até 2 gb.</p> </div><!--close wpsc_description--> <form class="product_form" enctype="multipart/form-data" action="http://brunocelular.com.br/products-page/celulares/zte-r221/" method="post" name="product_16" id="product_16" > <!-- THIS IS THE QUANTITY OPTION MUST BE ENABLED FROM ADMIN SETTINGS --> <div class="wpsc_product_price"> <p class="pricedisplay product_16">Preço Antigo: <span class="oldprice" id="old_product_price_16">R$129.00</span></p> <p class="pricedisplay product_16">Preço: <span id='product_price_16' class="currentprice pricedisplay">R$99.00</span></p> <p class="pricedisplay product_16">Você economiza: <span class="yousave" id="yousave_16"><span class='pricedisplay'>R$30.00</span>! (23.26%)</span></p> <!-- multi currency code --> </div><!--close wpsc_product_price--> <input type="hidden" value="add_to_cart" name="wpsc_ajax_action"/> <input type="hidden" value="16" name="product_id"/> <!-- END OF QUANTITY OPTION --> <div class="entry-utility wpsc_product_utility"> <span class="edit-link"><a class="post-edit-link" href="http://brunocelular.com.br/wp-admin/post.php?post=16&action=edit" title="Editar Produto">Editar</a></span> </div> </form><!--close product_form--> </div><!--close productcol--> <span class="sale">Oferta!</span> </div><!--close default_product_display--> </div> |
so are you looking for the name of the category followed by all the posts in that category?
|
Quote:
|
edit index.php and add the following after line 9
HTML Code:
<?php if (is_category() ) { ?><h2> <?php single_cat_title(); ?></h2><?php } ?> |
Quote:
|
All times are GMT -6. The time now is 10:53 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.