Hello gentlemen
I’m trying to move certain elements displayed in Featured products list, which I have on the front page. It’s in 2.0.6 and Cars skin. I’m struggling with it for some time. I wonder, if anyone have managed to change the look of the displayed product box. Please see the attached picture. Thank you and have a sunny Sunday
Please HEEEELP!
Noman-
It looks like you are using the products_multicolumns.tpl in your “Featured Products” block. If so, go to /skins/YOURSKIN/customer/views/products/components/products_multicolumns.tpl and review this block of code:
{hook name="products:product_multicolumns_list"}
{assign var="obj_id" value="`$obj_prefix``$product.product_id`"}
{include file="common_templates/image.tpl" image_width=$settings.Appearance.thumbnail_width obj_id=$obj_id images=$product.main_pair object_type="product"}
{if $item_number == "Y"}{$cur_number}. {math equation="num + 1" num=$cur_number assign="cur_number"}{/if} 1} title="{$product.product}">{$product.product|unescape|strip_tags|truncate:40:"...":true}{else}>{$product.product|unescape}{/if}
{include file="views/products/components/buy_now.tpl" hide_wishlist_button=true hide_compare_list_button=true simple=true show_sku=true hide_add_to_cart_button=$hide_add_to_cart_button but_role="action"}
{/hook}
What I would do is create the hook /skins/YOURSKIN/customer/addons/local/hooks/products/product_multicolumns_list.tpl and rearrange the items as needed.
You will have to replace this code:
{include file="views/products/components/buy_now.tpl" hide_wishlist_button=true hide_compare_list_button=true simple=true show_sku=true hide_add_to_cart_button=$hide_add_to_cart_button but_role="action"}
with your own to display the items normally displayed in the buy_now.tpl. You should be able to capy/paste from buy.now.tpl to you new hook in the display order you prefer.
Bob
Thank you Bob. I will try this tomorrow and will let you know the outcome. All the best.