Jump to content

Výpis na titulní stranu


Taylorr2d2

Recommended Posts

Ahoj,

prosím o radu. Na titulní straně mám script který vypisuje doporučené produkty, ale neovlivňuju které to vypíše. Nemáte nápad jak to ovlivnit, abych mohl rozhodnou co tam sám chci? Mě napadlo to nastavil na určitou kategorii do které bych dával ty svoje vybrané produkty. Ale nevím jak to udělat, tak prosím o radu. díky moc.

 

 

<!-- MODULE Home Featured Products -->
<div id="featured-products_block_center">
{if isset($products) AND $products}
<div class="block_content">
<ul>
{foreach from=$products item=product name=homeFeaturedProducts}
<li class="ajax_block_product">
<a class="product_image" href="{$product.link}" title="{$product.name|escape:html:'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home')}" alt="{$product.name|escape:html:'UTF-8'}" />		</a><div class="extra_name"><h5><a class="product_link" href="{$product.link}" title="{$product.name|truncate:32:'...'|escape:'htmlall':'UTF-8'}">{$product.name|truncate:25:'...'|escape:'htmlall':'UTF-8'}</a></h5></div>
<div class="product_info">
<span class="price">{if $product.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}{/if}</span>
<a class="button_home" href="{$product.link}" title="{l s='View' mod='homefeatured'}">{l s='View' mod='homefeatured'}</a>
{if ($product.id_product_attribute == 0 OR (isset($add_prod_display) AND ($add_prod_display == 1))) AND $product.available_for_order AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}
{/if}
</div>
</li>
{/foreach}
</ul>
</div>
{else}
<p>{l s='No featured products' mod='homefeatured'}</p>
{/if}
</div>
<!-- /MODULE Home Featured Products -->

Edited by Taylorr2d2 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...