dalauris Posted November 25, 2015 Share Posted November 25, 2015 Hello everybody! Looking whole day for this answer, found it, but only for 1.4version unfortunately, it does not work for 1.6.1.1 . Could anyone help me with that problem, please? The visualized problem is in attachments. Like to be shown as "after" Link to comment Share on other sites More sharing options...
Guest Posted November 25, 2015 Share Posted November 25, 2015 If you only have one photo then the thumbnails are not shown anyway. So I am a little confused really. Are yo saying you want more photos for the product but do not want to show them? Link to comment Share on other sites More sharing options...
dalauris Posted November 25, 2015 Author Share Posted November 25, 2015 Hey haylau (Ron)! Thanx for the quick response! Actually, I do not want the hover shown at all. What I need it is pure picture (one big) without any thumbnails shown under. Am I clear? Link to comment Share on other sites More sharing options...
Guest Posted November 25, 2015 Share Posted November 25, 2015 Sorry, not clear I know you do not want the thumbnails. But if you only have one photo there are no thumbnails - in the default theme. This is from my shop with a product that only has one photo : no thumbnails So just delete the extra photos Unless you are using a different theme? Have you bought a theme? If yes you should talk to the developer of the theme Link to comment Share on other sites More sharing options...
dalauris Posted November 26, 2015 Author Share Posted November 26, 2015 The theme is "default-bootstrap", nothing fancy. You see the big problem is that I have many combinations for my product, if I try to combine all that attributes for my items it is gonna be over 3k combos! Man... That is damn work for only one item, not speaking that I have >30products or so. For e.g. "sizes" I try not include in combinations, but that leads showing all my pictures in the thumbnails. It is so confusing! It other words: I need to delete the thumbnails block, showing only one big picture! Link to comment Share on other sites More sharing options...
HiPresta Posted November 26, 2015 Share Posted November 26, 2015 Hi, If you are looking for a quick way, simply add the following code in the file /themes/default-bootstrap/css/product.css .pb-left-column #views_block {display:none;} Link to comment Share on other sites More sharing options...
Guest Posted November 26, 2015 Share Posted November 26, 2015 The theme is "default-bootstrap", nothing fancy. You see the big problem is that I have many combinations for my product, if I try to combine all that attributes for my items it is gonna be over 3k combos! Man... That is damn work for only one item, not speaking that I have >30products or so. For e.g. "sizes" I try not include in combinations, but that leads showing all my pictures in the thumbnails. It is so confusing! It other words: I need to delete the thumbnails block, showing only one big picture! Now I understand See the more info you give the better. Try SUM444's method and let us know if it works Link to comment Share on other sites More sharing options...
dalauris Posted November 27, 2015 Author Share Posted November 27, 2015 That is what I was talking about! Simple, but powerful! Great thanx guys, SUM4444! But the small problem remained: that is underline "show more pictures" (with rounded arow) Trying to find associated lines in the code Link to comment Share on other sites More sharing options...
HiPresta Posted November 27, 2015 Share Posted November 27, 2015 Can you please share the URL with the issue so we can help you. Link to comment Share on other sites More sharing options...
dalauris Posted November 27, 2015 Author Share Posted November 27, 2015 Please look in the attachment Link to comment Share on other sites More sharing options...
dalauris Posted December 1, 2015 Author Share Posted December 1, 2015 Any ideas, please? Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2015 Share Posted December 1, 2015 Sum444 suggested you share your URL with us so someone can have a look Link to comment Share on other sites More sharing options...
razaro Posted December 1, 2015 Share Posted December 1, 2015 You should try to edit product.tpl {if isset($images) && count($images) > 0} <!-- thumbnails --> <div id="views_block" class="clearfix {if isset($images) && count($images) < 2}hidden{/if}"> {if isset($images) && count($images) > 2} <span class="view_scroll_spacer"> <a id="view_scroll_left" class="" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}"> {l s='Previous'} </a> </span> {/if} <div id="thumbs_list"> <ul id="thumbs_list_frame"> {if isset($images)} {foreach from=$images item=image name=thumbnails} {assign var=imageIds value="`$product->id`-`$image.id_image`"} {if !empty($image.legend)} {assign var=imageTitle value=$image.legend|escape:'html':'UTF-8'} {else} {assign var=imageTitle value=$product->name|escape:'html':'UTF-8'} {/if} <li id="thumbnail_{$image.id_image}"{if $smarty.foreach.thumbnails.last} class="last"{/if}> <a{if $jqZoomEnabled && $have_image && !$content_only} href="javascript:void(0);" rel="{literal}[spam-filter]/literal}gallery: 'gal1', smallimage: '{$link->getImageLink($product->link_rewrite, $imageIds, 'large_default')|escape:'html':'UTF-8'}',largeimage: '{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_default')|escape:'html':'UTF-8'}'{literal[spam-filter]{/literal}"{else} href="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_default')|escape:'html':'UTF-8'}" data-fancybox-group="other-views" class="fancybox{if $image.id_image == $cover.id_image} shown{/if}"{/if} title="{$imageTitle}"> <img class="img-responsive" id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'cart_default')|escape:'html':'UTF-8'}" alt="{$imageTitle}" title="{$imageTitle}"{if isset($cartSize)} height="{$cartSize.height}" width="{$cartSize.width}"{/if} itemprop="image" /> </a> </li> {/foreach} {/if} </ul> </div> <!-- end thumbs_list --> {if isset($images) && count($images) > 2} <a id="view_scroll_right" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}"> {l s='Next'} </a> {/if} </div> <!-- end views-block --> <!-- end thumbnails --> {/if} {if isset($images) && count($images) > 1} <p class="resetimg clear no-print"> <span id="wrapResetImages" style="display: none;"> <a href="{$link->getProductLink($product)|escape:'html':'UTF-8'}" data-id="resetImages"> <i class="icon-repeat"></i> {l s='Display all pictures'} </a> </span> </p> {/if} this code you probably want to remove, hope it does not cause any JavaScript errors, but first make a backup. Also nice that your site was mentioned here https://www.prestashop.com/blog/en/difference-product-attribute-product-feature/ Link to comment Share on other sites More sharing options...
dalauris Posted December 2, 2015 Author Share Posted December 2, 2015 (edited) Actually this is not my site, I used it only to expose the problem. Do not get me wrong! Thanx, Razaro! but in my product.tpl - no such code lines, only these: "<!-- MODULE MailAlerts --> {if isset($email) AND $email} <p class="form-group"> <input type="text" id="oos_customer_email" name="customer_email" size="20" value="{l s='[email protected]' mod='mailalerts'}" class="mailalerts_oos_email form-control" /> </p> {/if} <a href="#" title="{l s='Notify me when available' mod='mailalerts'}" id="mailalert_link" rel="nofollow">{l s='Notify me when available' mod='mailalerts'}</a> <span id="oos_customer_email_result" style="display:none; display: block;"></span>{strip}{addJsDef oosHookJsCodeFunctions=array('oosHookJsCodeMailAlert')}{addJsDef mailalerts_url_check=$link->getModuleLink('mailalerts', 'actions', ['process' => 'check'])}{addJsDef mailalerts_url_add=$link->getModuleLink('mailalerts', 'actions', ['process' => 'add'])} {addJsDefL name='mailalerts_placeholder'}{l s='[email protected]' mod='mailalerts' js=1}{/addJsDefL}{addJsDefL name='mailalerts_registered'}{l s='Request notification registered' mod='mailalerts' js=1}{/addJsDefL}{addJsDefL name='mailalerts_already'}{l s='You already have an alert for this product' mod='mailalerts' js=1}{/addJsDefL}{addJsDefL name='mailalerts_invalid'}{l s='Your e-mail address is invalid' mod='mailalerts' js=1}{/addJsDefL}{/strip}<!-- END : MODULE MailAlerts --> " Edited December 2, 2015 by dalauris (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted December 2, 2015 Share Posted December 2, 2015 Well ok my bad then. And usually it is in product.tpl of default theme but you copied code from MailAlert module. Here is code from github https://github.com/PrestaShop/PrestaShop/blob/1.6.1.x/themes/default-bootstrap/product.tpl#L104 Link to comment Share on other sites More sharing options...
dalauris Posted December 2, 2015 Author Share Posted December 2, 2015 Yeah, yeah... Sorry sorry - was in hurry! But it does not work for me anyway. Thank You for your time and endeavours, Razaro! Link to comment Share on other sites More sharing options...
dalauris Posted December 4, 2015 Author Share Posted December 4, 2015 I did it, I did it by myself! The 2 lines 148 and 149 in product.tpl must be erased: <i class="icon-repeat"></i> {l s='Display all pictures'} That is it! Thank U all! 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