Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
creating category instead of featured produces
01-04-2010, 12:18 PM
Post: #1
creating category instead of featured produces
Hi i would like to create a category instead of featured produces

like in attached pictures

http://www.fotosik.pl/pokaz_obrazek/peln...883d4.html


please help me hot to create it

is there any modules for it?
Find all posts by this user
Quote this message in a reply
01-04-2010, 05:08 PM
Post: #2
RE: creating category instead of featured produces
I am not understanding, what You mean. You can simply change this text as You like at modules translations. And it shows all products in Home category.

But maybe is this module what You are looking: http://www.prestashop.com/forums/viewthread/2079
Find all posts by this user
Quote this message in a reply
01-04-2010, 10:25 PM (This post was last modified: 01-04-2010 10:33 PM by adamus007p.)
Post: #3
RE: creating category instead of featured produces
I mean

Feaured Produced is defult module, I would like to create(change) module where i haven't price, view, add to bastet, only short text and pictures - but not pictures from item, but like in this module which you show -Frontpage Categories.


I would like create something like Frontpage Categories but it shoud look like in picture which i attached.


Do you know, what I mean?

sorry about my english Smile

PS. i found a shop where there are categories on main page, not featured product

http://www.asap.nazwa.pl/index.php

i would to make a similar, please help me
Find all posts by this user
Quote this message in a reply
01-04-2010, 10:44 PM
Post: #4
RE: creating category instead of featured produces
Then this link, what I give you before - there is the solution. This AsapMarket.pl uses also the same solution.
Find all posts by this user
Quote this message in a reply
01-04-2010, 11:18 PM (This post was last modified: 01-05-2010 12:23 AM by adamus007p.)
Post: #5
RE: creating category instead of featured produces
I found this module but it make only:

http://www.fotosik.pl/pokaz_obrazek/peln...92c96.html

i would like have a similar like in: http://www.asap.nazwa.pl/index.php

or have a 3 row category_images



i have a 2 codes:
1. featured productes
2. homocategory


<!-- MODULE Home Featured Products -->
<script type="text/javascript" src="{$base_dir}modules/homefeatured/homeImage.js"></script>
<div id="featured-products_block_center" class="block products_block">
<h4>{l s='featured products' mod='homefeatured'}</h4>
{if isset($products) AND $products}
<div class="block_content">
{assign var='liHeight' value=360}
{assign var='nbItemsPerLine' value=4}
{assign var='nbLi' value=$products|@count}
{assign var='nbLines' value=$nbLi/$nbItemsPerLine|ceil}
{assign var='ulHeight' value=$nbLines*$liHeight}
<ul style="height:{$ulHeight}px;">
{foreach from=$products item=product name=homeFeaturedProducts}
{assign var='productLink' value=$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)}
<li class="ajax_block_product {if $smarty.foreach.homeFeaturedProducts.first}first_item{elseif $smarty.foreach.homeFeaturedProducts.last}last_item{else}item{/if} {if $smarty.foreach.homeFeaturedProducts.iteration%$nbItemsPerLine == 0}last_item_of_line{elseif $smarty.foreach.homeFeaturedProducts.iteration%$nbItemsPerLine == 1}first_item_of_line{/if} {if $smarty.foreach.homeFeaturedProducts.iteration > ($smarty.foreach.homeFeaturedProducts.total - ($smarty.foreach.homeFeaturedProducts.total % $nbItemsPerLine))}last_line{/if}">
<h5><a href="{$productLink}" title="{$product.name|escape:htmlall:'UTF-8'|truncate:35}">{$product.name|escape:htmlall:'UTF-8'|truncate:35}</a></h5>
<p class="product_desc"><a href="{$productLink}" title="{l s='More' mod='homefeatured'}">{$product.description_short|strip_tags:htmlall:'UTF-8'|truncate:130}</a></p>
<a id="homeImg{$smarty.foreach.homeFeaturedProducts.iteration%$nbItemsPerLine}" href="{$productLink}" title="{$product.legend|escape:htmlall:'UTF-8'}" class="product_image" rel="homeImage" rev="{$img_prod_dir}{$product.id_image}-large.jpg"><img src="{$img_prod_dir}{$product.id_image}-home.jpg" alt="{$product.legend|escape:htmlall:'UTF-8'}" height="129" width="129" /></a>
<p>
<span class="price">{displayWtPrice p=$product.price}</span>
<a class="button" href="{$productLink}" title="{l s='View' mod='homefeatured'}">{l s='View' mod='homefeatured'}</a>
{if ($product.quantity > 0 OR $product.allow_oosp) AND $product.customizable != 2}
<a class="exclusive ajax_add_to_cart_button" rel="ajax_id_product_{$product.id_product}" href="{$base_dir}cart.php?qty=1&amp;id_product={$product.id_product}&amp;token={$static_token}&amp;add" title="{l s='Add to cart' mod='homefeatured'}">{l s='Add to cart' mod='homefeatured'}</a>
{else}
<span class="exclusive">{l s='Add to cart' mod='homefeatured'}</span>
{/if}
</p>
</li>
{/foreach}
</ul>
</div>
{else}
<p>{l s='No featured products' mod='homefeatured'}</p>
{/if}
</div>
<!-- /MODULE Home Featured Products -->



<!-- MODULE Home categories created by Alpha Media (09 May 2008) -->
{if isset($categories) AND $categories}
<div id="homeCatWrapper">
{foreach from=$categories item=category name=homeCategories}
{assign var='categoryLink' value=$link->getcategoryLink($category.id_category, $category.link_rewrite)}

<div id="homeCat">
<a href="{$categoryLink}" title="{$category.legend}">
<img src="{$img_cat_dir}{$category.id_category}-category.jpg" alt="{$category.name}" /></a>
<a href="{$categoryLink}" title="{$category.legend}" class="category_image">
<h5><a href="{$categoryLink}" title="{$categoryName}">{$category.name}</a></h5>
</div>

{/foreach}
</div>
{else}
<p>{l s='No categories' mod='homecategories'}</p>
{/if}
<!-- END MODULE Home categories -->


how to change 1 codes base on code 2 to show categories instead of featured productes?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: