MathewB Posted February 23, 2012 Share Posted February 23, 2012 Hi All, Working on a new shop and for the first time we are using Prestashop. The bank end is really simple to use and I have managed to do about 80% of what I would like to do. I would really recommended the following book Prestashop Beginners Guide - John Horton it has answered most of my questions. So I only have the following questions. Just for you information Iam using the standard theme it works well for us. Is there a way in the product categories we can display 2 products side buy side? Or do I need a module for this or is it part of the theme which means I would need to buy a whole new theme? On the home page we are using the featured product module. It works well however we only want it to display the pictures only no text or buy button showing. We would idly like to select 200 products but only show about 20 items on the home page with the pictures changing for the library of 200. Can this be done with the standard module or do I need to be looking for something else? Social media module Ok so Iam trying to find a social media module that will display on all product pages and the home page. However I am looking for something that is not in your face and is tastful any recommendations? Message to Mods I have have placed this post in the wrong section please forgive me Iam a first timmer in this forum. Regards Mathew Link to comment Share on other sites More sharing options...
CraigMeade Posted February 26, 2012 Share Posted February 26, 2012 Welcome and good on you for getting stuck into it! I have never heard of or seen anybody putting two products side by side on P'shop. Thinking about how it works I would say don't go there. It is possible for a visitor to compare products. But even that isn't as helpful as side by side. For the homepage I think you need a carousel module. Look at Nethercott Constructions, he (Rocky) might have a good one. I like the social media module from Prestochangeo. Free I think. You can see it on my product pages. Link to comment Share on other sites More sharing options...
MathewB Posted February 27, 2012 Author Share Posted February 27, 2012 Yep sometimes the best thing is to jump in to the deep end and start to swim until it works!!! For the homepage I think you need a carousel module. Look at Nethercott Constructions, he (Rocky) might have a good one. http://www.prestasho....d-of-list-v14/ product_grid_list_view there's a link to the zip file at the bottom of the 1st post. However this is not exactly what I want but its free and I did not have to pay for a module. I have never heard of or seen anybody putting two products side by side on P'shop. Thinking about how it works I would say don't go there. It is possible for a visitor to compare products. But even that isn't as helpful as side by side. I have figured this one out its called grid view and if you want to do it here is the code To do this you need to edit the " homefeatured.tpl " file - I'll tell you the lines to edit below, but first: Get yourself a copy of homefeatured.tpl --> I suggest that you download a copy of this file from your prestashop install: prestashop/modules/homefeatured/homefeatured.tpl make a copy of this file on your computer and then make another copy that you will keep untouched - just in case you b$$ger everyting up, you still have a 'clean' copy to re-install. Open your copy of homefeatured.tpl To remove the product descriptions, find the following (it'll be aroundline 48) and remove it: <div class="product_desc"><a href="{$product.link}" title="{l s='More' mod='homefeatured'}">{$product.description_short|strip_tags|truncate:130:'...'}</a></div> This removes the description. Around line 50, remove the following code to remove buttons & price: <div> {if $product.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}<p class="price_container"><span class="price">{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}</span></p>{else}<div style="height:21px;"></div>{/if} <a class="button" 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 $product.minimal_quantity == 1 AND $product.customizable != 2 AND !$PS_CATALOG_MODE} {if ($product.quantity > 0 OR $product.allow_oosp)} <a class="exclusive ajax_add_to_cart_button" rel="ajax_id_product_{$product.id_product}" href="{$link->getPageLink('cart.php')}?qty=1&id_product={$product.id_product}&token={$static_token}&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} {else} <div style="height:23px;"></div> {/if} </div> and around line 39 you will want to change: {assign var='liHeight' value= 342} from 342 to 172 change the height of the blocks Now save the file homefeatured.tpl Now you will need to create a folder for this file in your theme: prestashop/themes/themename/modules/homefeatured then upload your new file homefeatured.tpl to this folder You mightneed to go to Back Office>Preferences/Perfomance and set Force Compile to Yes and Cache to No before you see your changes. Now I just need a nice looking social media module if you know of any please let me know. 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