proflead Posted April 16, 2011 Share Posted April 16, 2011 Hi thereMany days i try fix one problem with my website, but still can't.After I update prestashop I has that problem. Button which on product page "View Full Size" doesn't work. Anyone have some idea about how I can fix this bug?All what I can find on the forum not help me.My web-site: http://wholesaleinthailand.comThanks Link to comment Share on other sites More sharing options...
kyls Posted April 21, 2011 Share Posted April 21, 2011 please paste your code from the product.tpl Link to comment Share on other sites More sharing options...
proflead Posted April 22, 2011 Author Share Posted April 22, 2011 {include file=$tpl_dir./errors.tpl} {if $errors|@count == 0} [removed] // <![CDATA[ // PrestaShop internal settings var currencySign = '{$currencySign|html_entity_decode:2:"UTF-8"}'; var currencyRate = '{$currencyRate|floatval}'; var currencyFormat = '{$currencyFormat|intval}'; var currencyBlank = '{$currencyBlank|intval}'; var taxRate = {$product->tax_rate|floatval}; var defaultTaxRate = {if isset($default_product_tax) && $default_product_tax}{$default_product_tax}{else}0{/if}; var jqZoomEnabled = {if $jqZoomEnabled}true{else}false{/if}; //JS Hook var oosHookJsCodeFunctions = new Array(); // Parameters var id_product = '{$product->id|intval}'; var productHasAttributes = {if isset($groups)}true{else}false{/if}; var quantitiesDisplayAllowed = {if $display_qties == 1}true{else}false{/if}; var quantityAvailable = {if $display_qties == 1 && $product->quantity}{$product->quantity}{else}0{/if}; var allowBuyWhenOutOfStock = {if $allow_oosp == 1}true{else}false{/if}; var availableNowValue = '{$product->available_now|escape:'quotes':'UTF-8'}'; var availableLaterValue = '{$product->available_later|escape:'quotes':'UTF-8'}'; var productPriceWithoutReduction = {$product->getPriceWithoutReduct()|default:'null'}; var reduction_percent = {if $product->reduction_percent}{$product->reduction_percent}{else}0{/if}; var reduction_price = {if $product->reduction_percent}0{else}{$product->getPrice(true, $smarty.const.NULL, 2, $smarty.const.NULL, true)}{/if}; var reduction_from = '{$product->reduction_from}'; var reduction_to = '{$product->reduction_to}'; var group_reduction = '{$group_reduction}'; var default_eco_tax = {$product->ecotax}; var currentDate = '{$smarty.now|date_format:'%Y-%m-%d %H:%M:%S'}'; var maxQuantityToAllowDisplayOfLastQuantityMessage = {$last_qties}; var noTaxForThisProduct = {if $no_tax == 1}true{else}false{/if}; var displayPrice = {$priceDisplay}; var productReference = '{$product->reference|escape:'htmlall':'UTF-8'}'; // Customizable field var img_ps_dir = '{$img_ps_dir}'; var customizationFields = new Array(); {assign var='imgIndex' value=0} {assign var='textFieldIndex' value=0} {foreach from=$customizationFields item='field' name='customizationFields'} {assign var='key' value='pictures_'|cat:$product->id|cat:'_'|cat:$field.id_customization_field} customizationFields[{$smarty.foreach.customizationFields.index|intval}] = new Array(); customizationFields[{$smarty.foreach.customizationFields.index|intval}][0] = '{if $field.type|intval == 0}img{$imgIndex++}{else}textField{$textFieldIndex++}{/if}'; customizationFields[{$smarty.foreach.customizationFields.index|intval}][1] = {if $field.type|intval == 0 AND $pictures.$key}2{else}{$field.required|intval}{/if}; {/foreach} // Images var img_prod_dir = '{$img_prod_dir}'; var combinationImages = new Array(); {foreach from=$combinationImages item='combination' key='combinationId' name='f_combinationImages'} combinationImages[{$combinationId}] = new Array(); {foreach from=$combination item='image' name='f_combinationImage'} combinationImages[{$combinationId}][{$smarty.foreach.f_combinationImage.index}] = {$image.id_image|intval}; {/foreach} {/foreach} combinationImages[0] = new Array(); {foreach from=$images item='image' name='f_defaultImages'} combinationImages[0][{$smarty.foreach.f_defaultImages.index}] = {$image.id_image}; {/foreach} // Translations var doesntExist = '{l s='The product does not exist in this model. Please choose another.' js=1}'; var doesntExistNoMore = '{l s='This product is no longer in stock' js=1}'; var doesntExistNoMoreBut = '{l s='with those attributes but is available with others' js=1}'; var uploading_in_progress = '{l s='Uploading in progress, please wait...' js=1}'; var fieldRequired = '{l s='Please fill all required fields' js=1}'; {if isset($groups)} // Combinations {foreach from=$combinations key=idCombination item=combination} addCombination({$idCombination|intval}, new Array({$combination.list}), {$combination.quantity}, {$combination.price}, {$combination.ecotax}, {$combination.id_image}, '{$combination.reference|addslashes}'); {/foreach} // Colors {if $colors|@count > 0} {if $product->id_color_default}var id_color_default = {$product->id_color_default|intval};{/if} {/if} {/if} //]]> [removed] {include file=$tpl_dir./breadcrumb.tpl} {$product->name|escape:'htmlall':'UTF-8'} {if $confirmation} {$confirmation} {/if} <!-- right infos--> <!-- product img--> {if $have_image} getImageLink($product->link_rewrite, $cover.id_image, 'large')}" {if $jqZoomEnabled}class="jqzoom" alt="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox')}"{else} title="{$product->name|escape:'htmlall':'UTF-8'}" alt="{$product->name|escape:'htmlall':'UTF-8'}" {/if} id="bigpic" width="{$largeSize.width}" height="{$largeSize.height}" /> {else} name|escape:'htmlall':'UTF-8'}" /> {/if} {if count($images) > 0} <!-- thumbnails --> {if count($images) > 3}{l s='Previous'}{/if} Link to comment Share on other sites More sharing options...
proflead Posted April 22, 2011 Author Share Posted April 22, 2011 Man, I so sorry, but I can't subbmit my souc code here, maybe u can tell me what numbers of rows u need? Link to comment Share on other sites More sharing options...
Recommended Posts