Jump to content

 

atlaswu

Member Since 15 Jun 2013
Offline Last Active Nov 02 2015 07:17 AM
-----

Posts I've Made

In Topic: Show full product description on product list page V4.02

17 August 2014 - 02:20 PM

change the
{$product.full_description|strip_tags|truncate:160 nofilter}
to
{$product.full_description nofilter}

In Topic: Warning SEO-friendly URLs are disabled.

31 July 2014 - 07:48 AM

It also useful in 4.1.5
Thank you Triplets,
save my time and "money"!

In Topic: How To Create New Custom Template In "blocks/list_Templates"

24 July 2014 - 11:22 AM

I tried both
"design/themes/[myTHEME]/templates/addons/my_changes/blocks/products/products_small_items2.tpl"
and
"addons/my_changes/blocks/products/products_small_items2.tpl"

the title and price listed correct, but no image only.

In Topic: How To Create New Custom Template In "blocks/list_Templates"

24 July 2014 - 10:34 AM

I am not understand how to using my_changes well.

I created a templates.post.php as the code (does it need the php close tag "?>"?)

then a duplicated the "products_small_items2.tpl" from "products_small_items.tpl" at addons/my_changes/blocks/products.
{** block-description:small_items_2 **}
{if $block.properties.hide_add_to_cart_button == "Y"}
    {assign var="_show_add_to_cart" value=false}
{else}
    {assign var="_show_add_to_cart" value=true}
{/if}
{assign var="_show_name" value="true"}
{include file="addons/my_changes/blocks/list_templates/slick-8.tpl"
products=$items
obj_prefix="`$block.block_id`000"
item_number=$block.properties.item_number
show_name=$_show_name
show_trunc_name=$_show_trunc_name
show_price=true
show_add_to_cart=$_show_add_to_cart
show_list_buttons=false
add_to_cart_meta="text-button-add"
but_role="text"}
I still can not get the poduct's image showed.

In Topic: How To Create New Custom Template In "blocks/list_Templates"

19 July 2014 - 03:48 PM

Hi Vail, thanks for your advice, this is what I am looking for.

Another question, how could I creat new custom template in "templates/blocks/products/". Though I can creat or duplicate new, and rename the {** block-description: xxx**}, to make the template show in "block manager/Editing block" in Backend. But if the new name is not same as the originals in the templates/blocks/products/ (ex: "products_small_items.tpl" duplicated and renamed as "products_small_items2.tpl" ) though I can see the content of block in front-store, but it has no product pictures showed?