crazyjack99 Posted October 15, 2014 Share Posted October 15, 2014 Hi everyone... I have been pulling my hair of my head the last couple of days to fix this little problem i have, and therefore i hope someone can help me out abit.. I want to add the reference code/text under the product name in the product list. i have an online candy/ chocolate store, and there i want the product list to look the like: Snickers (product name) 48 x 51g (reference text /code) --- this is want i want added.. £12.95 (price) Have is a photo, to give you are better idea, what i am talking about... Hope some kan help me out abit.... thanks.. Link to comment Share on other sites More sharing options...
crazyjack99 Posted October 17, 2014 Author Share Posted October 17, 2014 Anyone...? please...... Link to comment Share on other sites More sharing options...
Paulito Posted October 18, 2014 Share Posted October 18, 2014 (edited) Hello Not sure if this is what your after: http://screencast.com/t/tpslBv6yB2U8 If so then go to: public_html/Your Shop/themes/default-bootstrap/product-list.tpl And add: <p>{$product.reference}</p> <div class="right-block"> <h5 itemprop="name"> {if isset($product.pack_quantity) && $product.pack_quantity}{$product.pack_quantity|intval|cat:' x '}{/if} <a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" > {$product.name|truncate:45:'...'|escape:'html':'UTF-8'} <p>{$product.reference}</p> </a> </h5> {hook h='displayProductListReviews' product=$product} <p class="product-desc" itemprop="description"> Before http://screencast.com/t/T5iVM0lW After http://screencast.com/t/88XcsmBizk Using PS 1.6.0.5 default theme Paul Edited October 18, 2014 by Paulito (see edit history) Link to comment Share on other sites More sharing options...
crazyjack99 Posted October 18, 2014 Author Share Posted October 18, 2014 (edited) Hi Paul.... Thanks for your help.... Worked perfectly..... again thanks... .. Edited October 18, 2014 by crazyjack99 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now