goiko111 Posted August 28, 2014 Share Posted August 28, 2014 Hola Buenas Me gustaría saberdonde puedo cambiar la información que sale con el producto, que no la descripción,me sale tambien las formas de envio y pago. Cada vez que añado un transportista como opción de recogida en tienda no se me borra los anteriores aunque los haya quitado como transportistas y siguen apareciendo en información de producto y repetidos muchas veces. Adjunto captura Muchas gracias Link to comment Share on other sites More sharing options...
ventura Posted August 28, 2014 Share Posted August 28, 2014 Eso depende del modulo o configuracion especifica que tengas, ya que esa funcionalidad no la incluye Prestashop por defecto, miralo a ver Link to comment Share on other sites More sharing options...
goiko111 Posted August 28, 2014 Author Share Posted August 28, 2014 como se si es un módulo? donde puedo mirar la configuración? Muchas Gracias Link to comment Share on other sites More sharing options...
ventura Posted August 28, 2014 Share Posted August 28, 2014 Si es un modulo te aparecerá en modulos/posiciones de los modulos Busca en estos hooks decorados en rojo Link to comment Share on other sites More sharing options...
goiko111 Posted August 28, 2014 Author Share Posted August 28, 2014 Alguien sabe como puedo gestionar esta parte de mi tienda? Gracias Link to comment Share on other sites More sharing options...
goiko111 Posted August 28, 2014 Author Share Posted August 28, 2014 perdona pero no tengo módulos en esos hooks, entonces de donde me coge los datos? gracias Link to comment Share on other sites More sharing options...
ventura Posted August 28, 2014 Share Posted August 28, 2014 Puedes tener el codigo en el product.tpl de tu plantilla, copia y pegala aqui para que lo podamos ver Link to comment Share on other sites More sharing options...
goiko111 Posted August 28, 2014 Author Share Posted August 28, 2014 GRACIAS {** 2007-2012 PrestaShop** NOTICE OF LICENSE** This source file is subject to the Academic Free License (AFL 3.0)* that is bundled with this package in the file LICENSE.txt.* It is also available through the world-wide-web at this URL:* http://opensource.org/licenses/afl-3.0.php* If you did not receive a copy of the license and are unable to* obtain it through the world-wide-web, please send an email* to [email protected] so we can send you a copy immediately.** DISCLAIMER** Do not edit or add to this file if you wish to upgrade PrestaShop to newer* versions in the future. If you wish to customize PrestaShop for your* needs please refer to http://www.prestashop.com for more information.** @author PrestaShop SA <[email protected]>* @copyright 2007-2012 PrestaShop SA* @version Release: $Revision: 16938 $* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)* International Registered Trademark & Property of PrestaShop SA*}{include file="$tpl_dir./errors.tpl"}{if $errors|@count == 0}<script type="text/javascript">// <![CDATA[// Modificado por alex// -------------------var attribute_alert = {if $groups|@count > 0}true{else}false{/if};var attribute_alert_text = "No has cambiado las opciones del producto por defecto, haga clic en Aceptar para agregar el producto, o en Cancelar para hacer cambios";// -------------------// PrestaShop internal settingsvar currencySign = '{$currencySign|html_entity_decode:2:"UTF-8"}';var currencyRate = '{$currencyRate|floatval}';var currencyFormat = '{$currencyFormat|intval}';var currencyBlank = '{$currencyBlank|intval}';var taxRate = {$tax_rate|floatval};var jqZoomEnabled = {if $jqZoomEnabled}true{else}false{/if};//JS Hookvar oosHookJsCodeFunctions = new Array();// Parametersvar 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 productPriceTaxExcluded = {$product->getPriceWithoutReduct(true)|default:'null'} - {$product->ecotax};var specific_currency = {if $product->specificPrice AND $product->specificPrice.id_currency}true{else}false{/if};var reduction_percent = {if $product->specificPrice AND $product->specificPrice.reduction AND $product->specificPrice.reduction_type == 'percentage'}{$product->specificPrice.reduction*100}{else}0{/if};var reduction_price = {if $product->specificPrice AND $product->specificPrice.reduction AND $product->specificPrice.reduction_type == 'amount'}(specific_currency ? {$product->specificPrice.reduction} : {$product->specificPrice.reduction} * currencyRate){else}0{/if};var specific_price = {if $product->specificPrice AND $product->specificPrice.price}{$product->specificPrice.price}{else}0{/if};var group_reduction = '{$group_reduction}';var default_eco_tax = {$product->ecotax};var ecotaxTax_rate = {$ecotaxTax_rate};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'}';var productAvailableForOrder = {if (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE}'0'{else}'{$product->available_for_order}'{/if};var productShowPrice = '{if !$PS_CATALOG_MODE}{$product->show_price}{else}0{/if}';var productUnitPriceRatio = '{$product->unit_price_ratio}';var idDefaultImage = {if isset($cover.id_image_only)}{$cover.id_image_only}{else}0{/if};var ipa_default = {if isset($ipa_default)}{$ipa_default}{else}0{/if};// Customizable fieldvar 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_`$product->id`_`$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 && isset($pictures.$key) && $pictures.$key}2{else}{$field.required|intval}{/if};{/foreach}// Imagesvar img_prod_dir = '{$img_prod_dir}';var combinationImages = new Array();{if isset($combinationImages)} {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}{/if}combinationImages[0] = new Array();{if isset($images)} {foreach from=$images item='image' name='f_defaultImages'} combinationImages[0][{$smarty.foreach.f_defaultImages.index}] = {$image.id_image}; {/foreach}{/if}// Translationsvar doesntExist = '{l s='The product does not exist in this model. Please choose another one' 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 in all required fields, then save your customization.' 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}', {$combination.unit_impact}, {$combination.minimal_quantity}); {/foreach} // Colors {if $colors|@count > 0} {if $product->id_color_default}var id_color_default = {$product->id_color_default|intval};{/if} {/if}{/if}//]]> $(document).ready(function(){ $("a.guiadetallas").fancybox({ 'hideOnContentClick': true, 'type': 'inline', 'padding': '10', 'centerOnScroll':true }); }); </script>{include file="$tpl_dir./breadcrumb.tpl"}<div id="primary_block" class="clearfix"> {if isset($adminActionDisplay) && $adminActionDisplay} <div id="admin-action"> <p>{l s='This product is not visible to your customers.'} <input type="hidden" id="admin-action-product-id" value="{$product->id}" /> <input type="submit" value="{l s='Publish'}" class="exclusive" onclick="submitPublishProduct('{$base_dir}{$smarty.get.ad|escape:'htmlall':'UTF-8'}', 0)"/> <input type="submit" value="{l s='Back'}" class="exclusive" onclick="submitPublishProduct('{$base_dir}{$smarty.get.ad|escape:'htmlall':'UTF-8'}', 1)"/> </p> <div class="clear" ></div> <p id="admin-action-result"></p> </p> </div> {/if} {if isset($confirmation) && $confirmation} <p class="confirmation"> {$confirmation} </p> {/if} <!-- right infos--> <div id="pb-right-column"> <!-- product img--> <div id="image-block"> {if $have_image} <img src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'prodbig')}" {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="{$prodbigSize.width}" height="{$prodbigSize.height}" /> <!--<img src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'prodbig')}" id="img_{$product->id|intval}" style="display:none;"/>--> {else} <img src="{$img_prod_dir}{$lang_iso}-default-prodbig.jpg" id="bigpic" alt="" title="{$cover.legend|escape:'htmlall':'UTF-8'}" width="{$prodbigSize.width}" height="{$prodbigSize.height}" /> {/if} </div> {if isset($images) && count($images) > 0} <!-- thumbnails --> <div id="views_block" {if isset($images) && count($images) < 2}class="hidden"{/if}> {if isset($images) && count($images) > 3}<span class="view_scroll_spacer"><a id="view_scroll_left" class="hidden" 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`"} <li id="thumbnail_{$image.id_image}"> <a href="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox')}" rel="other-views" class="thickbox {if (isset($image.cover) AND $image.cover == 1) OR (!isset($image.cover) AND $smarty.foreach.thumbnails.first)}shown{/if}" title="{$image.legend|htmlspecialchars}"> <img id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" /> </a> </li> {/foreach} {/if} </ul> </div> {if isset($images) && count($images) > 3}<a id="view_scroll_right" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}">{l s='Next'}</a>{/if} </div> {/if} {if isset($images) && count($images) > 1}<p class="align_center clear"><span id="wrapResetImages" style="display: none;"><a id="resetImages" href="{$link->getProductLink($product)}" onclick="$('span#wrapResetImages').hide('slow');return (false);">{l s='Display all pictures'}</a></span></p>{/if} <!-- usefull links--> <ul id="usefull_link_block"> {if $HOOK_EXTRA_LEFT}{$HOOK_EXTRA_LEFT}{/if} <li><a href="javascript:print();">{l s='Print'}</a><br class="clear" /></li> {if $have_image && !$jqZoomEnabled} <li><span id="view_full_size" class="span_link">{l s='Maximize'}</span></li> {/if} </ul> </div> <!-- left infos--> <div id="pb-left-column"> <h1>{$product->name|escape:'htmlall':'UTF-8'} {l s='de'} <a href="{$link->getManufacturerLink($product->id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}" class="manufacturerLink">{$product->manufacturer_name|escape:'htmlall':'UTF-8'}</a></h1> <span class="productCode">COD. {$product->reference|escape:'htmlall':'UTF-8'}</span> {*{if $product->description_short OR $packItems|@count > 0}*} <div id="short_description_block"> {if $product->description_short} <div id="short_description_content" class="rte align_justify">{$product->description_short}</div> {/if} <!-- prices --> {if $product->show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} <p class="price"> {if !isset($priceDisplayPrecision)} {assign var='priceDisplayPrecision' value=2} {/if} {if !$priceDisplay || $priceDisplay == 2} {assign var='productPrice' value=$product->getPrice(true, $smarty.const.NULL, $priceDisplayPrecision)} {assign var='productPriceWithoutRedution' value=$product->getPriceWithoutReduct(false, $smarty.const.NULL)} {elseif $priceDisplay == 1} {assign var='productPrice' value=$product->getPrice(false, $smarty.const.NULL, $priceDisplayPrecision)} {assign var='productPriceWithoutRedution' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL)} {/if} {if $product->on_sale} <img src="{$img_dir}onsale_{$lang_iso}.gif" alt="{l s='On sale'}" class="on_sale_img"/> <span class="on_sale">{l s='On sale!'}</span> {elseif $product->specificPrice AND $product->specificPrice.reduction AND $productPriceWithoutRedution > $productPrice} <span class="discount" style="display:none;">{l s='Reduced price!'}</span> {/if} {if $product->specificPrice AND $product->specificPrice.reduction} <span class="bold"> {if $priceDisplay >= 0 && $priceDisplay <= 2} {if $productPriceWithoutRedution > $productPrice} <span id="old_price_display">{convertPrice price=$productPriceWithoutRedution}</span> {/if} {/if} </span> {/if} <span class="our_price_display"> {if $priceDisplay >= 0 && $priceDisplay <= 2} <span id="our_price_display">{convertPrice price=$productPrice}</span> {if $tax_enabled && $display_tax_label == 1} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if} {/if} </span> {if $priceDisplay == 2} <span id="pretaxe_price"><span id="pretaxe_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)}</span> {l s='tax excl.'}</span> {/if} </p> {if $product->specificPrice AND $product->specificPrice.reduction_type == 'percentage'} <p id="reduction_percent" style="display:none;">{l s='(price reduced by'} <span id="reduction_percent_display">{$product->specificPrice.reduction*100}</span> %{l s=')'}</p> {/if} {if $packItems|@count} <p class="pack_price">{l s='instead of'} <span style="text-decoration: line-through;">{convertPrice price=$product->getNoPackPrice()}</span></p> <br class="clear" /> {/if} {if $product->ecotax != 0} <p class="price-ecotax">{l s='include'} <span id="ecotax_price_display">{if $priceDisplay == 2}{$ecotax_tax_exc|convertAndFormatPrice}{else}{$ecotax_tax_inc|convertAndFormatPrice}{/if}</span> {l s='for green tax'} {if $product->specificPrice AND $product->specificPrice.reduction} <br />{l s='(not impacted by the discount)'} {/if} </p> {/if} {if !empty($product->unity) && $product->unit_price_ratio > 0.000000} {math equation="pprice / punit_price" pprice=$productPrice punit_price=$product->unit_price_ratio assign=unit_price} <p class="unit-price"><span id="unit_price_display">{convertPrice price=$unit_price}</span> {l s='per'} {$product->unity|escape:'htmlall':'UTF-8'}</p> {/if} {*close if for show price*} {/if} <!-- fin precios --> {if $packItems|@count > 0} <h3>{l s='Pack content'}</h3> {foreach from=$packItems item=packItem} <div class="pack_content"> {$packItem.pack_quantity} x <a href="{$link->getProductLink($packItem.id_product, $packItem.link_rewrite, $packItem.category)}">{$packItem.name|escape:'htmlall':'UTF-8'}</a> <p>{$packItem.description_short}</p> </div> {/foreach} {/if} </div> {*{/if}*} {if isset($colors) && $colors} <!-- colors --> <div id="color_picker"> <p>{l s='Pick a color:' js=1}</p> <div class="clear"></div> <ul id="color_to_pick_list"> <!-- Modificado por alex ------------------ --> {foreach from=$colors key='id_attribute' item='color'} <li><a id="color_{$id_attribute|intval}" style="background: {$color.value};" onclick="updateColorSelect({$id_attribute|intval});attribute_alert=false;">{if file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')}<img src="{$img_col_dir}{$id_attribute}.jpg" alt="" title="{$color.name}" />{/if}</a></li> {/foreach} <!-- ------------------ --> <!--{foreach from=$colors key='id_attribute' item='color'} <li><a id="color_{$id_attribute|intval}" class="color_pick" style="background: {$color.value};" onclick="updateColorSelect({$id_attribute|intval});$('#wrapResetImages').show('slow');" title="{$color.name}">{if file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')}<img src="{$img_col_dir}{$id_attribute}.jpg" alt="{$color.name}" width="20" height="20" />{/if}</a></li> {/foreach}--> </ul> <div class="clear"></div> </div> {/if} {if ($product->show_price AND !isset($restricted_country_mode)) OR isset($groups) OR $product->reference OR (isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS)} <!-- add to cart form--> <!--<form id="buy_block" {if $PS_CATALOG_MODE AND !isset($groups) AND $product->quantity > 0}class="hidden"{/if} action="{$link->getPageLink('cart.php')}" method="post">--> <!-- Modificado por alex -------------------- --> <form id="buy_block" action="{$base_dir}cart.php" onsubmit="if (attribute_alert == true) {ldelim}if (!confirm(attribute_alert_text)) {ldelim}return false; {rdelim}{rdelim}" method="post"> <!-- -------------------- --> <!-- hidden datas --> <p class="hidden"> <input type="hidden" name="token" value="{$static_token}" /> <input type="hidden" name="id_product" value="{$product->id|intval}" id="product_page_product_id" /> <input type="hidden" name="add" value="1" /> <input type="hidden" name="id_product_attribute" id="idCombination" value="" /> </p> {if isset($groups)} <!-- attributes --> <div id="attributes"> {foreach from=$groups key=id_attribute_group item=group} {if $group.attributes|@count} <p> <label for="group_{$id_attribute_group|intval}">{$group.name|escape:'htmlall':'UTF-8'} :</label> {assign var="groupName" value="group_$id_attribute_group"} <!--Modificado por alex ------------------- --> <select name="{$groupName}" id="group_{$id_attribute_group|intval}" onchange="javascript:findCombination();attribute_alert=false;"> <!-- ------------------ --> <!--<select name="{$groupName}" id="group_{$id_attribute_group|intval}" onchange="javascript:findCombination();{if $colors|@count > 0}$('#wrapResetImages').show('slow');{/if};">--> {foreach from=$group.attributes key=id_attribute item=group_attribute} <option value="{$id_attribute|intval}"{if (isset($smarty.get.$groupName) && $smarty.get.$groupName|intval == $id_attribute) || $group.default == $id_attribute} selected="selected"{/if} title="{$group_attribute|escape:'htmlall':'UTF-8'}">{$group_attribute|escape:'htmlall':'UTF-8'}</option> {/foreach} </select> </p> {/if} {/foreach} </div> {/if} <!-- quantity wanted --> <p id="quantity_wanted_p"{if (!$allow_oosp && $product->quantity <= 0) OR $virtual OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}> <label>{l s='Quantity :'}</label> <input type="text" name="qty" id="quantity_wanted" class="text" value="{if isset($quantityBackup)}{$quantityBackup|intval}{else}{if $product->minimal_quantity > 1}{$product->minimal_quantity}{else}1{/if}{/if}" size="2" {if $product->minimal_quantity > 1}onkeyup="checkMinimalQuantity({$product->minimal_quantity});"{/if} /> </p> <!-- minimal quantity wanted --> <p id="minimal_quantity_wanted_p"{if $product->minimal_quantity <= 1 OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}>{l s='You must add '} <b id="minimal_quantity_label">{$product->minimal_quantity}</b> {l s=' as a minimum quantity to buy this product.'}</p> {if $product->minimal_quantity > 1} <script type="text/javascript"> checkMinimalQuantity(); </script> {/if} <!-- availability --> <p id="availability_statut"{if ($product->quantity <= 0 && !$product->available_later && $allow_oosp) OR ($product->quantity > 0 && !$product->available_now) OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}> <span id="availability_label">{l s='Availability:'}</span> <span id="availability_value"{if $product->quantity <= 0} class="warning_inline"{/if}> {if $product->quantity <= 0}{if $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{else}{$product->available_now}{/if} </span> </p> <!-- number of item in stock --> {if ($display_qties == 1 && !$PS_CATALOG_MODE && $product->available_for_order)} <p id="pQuantityAvailable"{if $product->quantity <= 0} style="display: none;"{/if}> <span id="quantityAvailable">{$product->quantity|intval}</span> <span {if $product->quantity > 1} style="display: none;"{/if} id="quantityAvailableTxt">{l s='item in stock'}</span> <span {if $product->quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple">{l s='items in stock'}</span> </p> {/if} <!-- Out of stock hook --> {if !$allow_oosp} <p id="oosHook"{if $product->quantity > 0} style="display: none;"{/if}> {$HOOK_PRODUCT_OOS} </p> {/if} <p class="warning_inline" id="last_quantities"{if ($product->quantity > $last_qties OR $product->quantity <= 0) OR $allow_oosp OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if} >{l s='Warning: Last items in stock!'}</p> {if $product->online_only} <p>{l s='Online only'}</p> {/if} {if ($product->quantity <= 0)} <p class="warning_inline">{l s='Producto en espera de reposicion'}</p> {/if} <p{if (!$allow_oosp && $product->quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} style="display: none;"{/if} id="add_to_cart" class="buttons_bottom_block"><input type="submit" name="Submit" value="{l s='Add to cart'}" class="exclusive" /></p> {if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if} <div class="clear"></div> </form> {/if} {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if} <script type="text/javascript"> $(document).ready(function() { $("a.inline").fancybox({ 'hideOnContentClick': false }); }); </script> <div id="socialLinks" style="width:auto"> <div class="socialLinksUl"> <a class="guiadetallas" href="#tallas" >{l s='Guide des Tailles'}</a> <div style="display:none" > <div id="tallas"> {include file="$tpl_dir./guide-des-tailles.tpl"} </div> </div> <p id="compartir"> <a class="addthis_button" href="http://www.addthis.com/bookmark.php?v=300&pubid=ra-503b8c425b252b46">{l s='Partager'}</a> <script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-503b8c425b252b46"></script> </p> </div> </div> <!-- description and features --> {*{if $product->description || $features || $accessories || $HOOK_PRODUCT_TAB || $attachments}*} <div id="more_info_block" class="clear"> <ul id="more_info_tabs" class="idTabs idTabsShort"> {if $product->description}<li style="margin-left: 6px;"><a id="more_info_tab_more_info" href="#idTab1">{l s='Description'}</a></li>{/if} <li><a id="more_info_tab_data_sheet" href="#envio">{l s='Livraison'}</a></li> <li><a id="more_info_tab_attachments" href="#devoluciones">{l s='Retour'}</a></li> <li><a href="#pago">{l s='Paiement'}</a></li> <li><a href="#lineadirecta">{l s='Hotline'}</a></li> {$HOOK_PRODUCT_TAB} </ul> <div id="more_info_sheets" class="sheets align_justify"> {if $product->description} <!-- full description --> <div id="idTab1" class="rte">{$product->description}</div> {/if} <!-- product's features --> <ul id="envio" class="bullet"> <div style="padding-bottom: 15px;"> <p class="envioMsj">{l s='Cet article est actuellement en stock et sera expedie sous 24h suivant votre commande.'}</p> <div class="selectZona"> <p class="select">{l s='Veuillez selectionner votre pays de livraison: '}</p> <div id="czona"></div> </div> <div id="div_table_transporteurs"> <table id="table_transporteurs" style="background:#FAF7F5; width:100%"> <thead> <tr id="table_transporteurs_pl" style="border-bottom: 1px solid #8B6442;"> <td style="width:33%;color:#8B6442; ">{l s='Transporteur'}</td> <td style="width:33%;color:#8B6442; ">{l s='Delai (jours ouvres)'}</td> <td style="width:33%;color:#8B6442;">{l s='Tarif'}</td> </tr> </thead> <tbody id="contentCarrier"> </tbody> </table> </div> <br> <a id="tout_savoir_livraison" href="/faq.php?faq_id_group=2&rand_id=4677">» {l s='Tout savoir sur votre livraison'}</a> </div> </ul> <ul id="devoluciones" class="bullet"> <li> <div> <p class="tabTitle"> {l s='Retour gratuit et prepaye en Colissimo '} </p> <p> {l s='Pas de stress! Si vous n\' etes pas totalement satisfait de votre achat, vous pouvez nous renvoyer gratuitement vos articles dans les 10 jours suivant leur date de livraison. Votre retour sera prepaye.'} </p> <p> {l s='Pour beneficier du retour gratuit, il vous suffit de choisir un avoir au moment de votre demande de retour*. Si vous preferez un remboursement, pas de souci, vous n\'aurez aucun frais a debourser lors de votre retour.'} </p> <p> {l s='Nous nous engageons a traiter votre avoir ou remboursement dans les 72h ouvrees qui suivent la reception de votre retour.'} </p> <p> *{l s='Hors periodes promotionnelles de type Soldes, Vente VIP, Vente Flash..., et en France metropolitaine uniquement '} </p> <p> <a href="/faq.php?faq_id_group=4&rand_id=3395"> {l s='En savoir Plus'} </a> </p> </div> </li> </ul> <!-- accessories --> <ul id="pago" class="bullet"> <li> <div> <p class="tabTitle"> {l s='Paiement securise'} </p> <p> {l s='Leonceshop.fr a choisi comme partenaire la Banque CIC et son interface de paiement securise.'} </p> <p> {l s='Nous ne disposerons a aucun moment de vos coordonnees bancaires.'} </p> <p><img src="http://www.leonceshop.com/modules/footercustom/img/logo_payment.png" alt="Paiement Securite"/></p> <p> <a href="/faq.php?faq_id_group=3&rand_id=5656"> {l s='En savoir Plus'} </a> </p> </div> </li> </ul> <!--another tab--> <ul id="lineadirecta" class="bullet"> <li> <div> <p class="tabTitle"> {l s='Hotline gratuite.'} </p> <p> {l s='Besoin d\'un conseil? d\'une information sur votre commande?.'} </p> <p> {l s='Notre service client est disponible au +35 06 808 63 52, du lundi au vendredi de 9:00h a 19:00h.'} </p> <p> {l s='N\'hesitez pas a nous contacter en'} <a href="/aac.php">{l s='cliquant ici'}</a> </p> <p> {l s='Nous nous engageons a vous repondre dans les plus brefs delais..'} </p> </div> </li> </ul> {$HOOK_PRODUCT_TAB_CONTENT} </div> </div> {*{/if}*} <!--fin tabs--> </div> <div id="pb_accesories_column"> <div class="accesories_holder products_block"> {if isset($accessories) AND $accessories} <h4>{l s='Combinez-le avec...'}</h4> {if $accessories|@count >3} <span class="cantHolders"> <span id="cantI">1 </span> - <span id="cantP">3</span> de <span id="cantT">{$accessories|@count}</span> <span id="cantclickd" style="visibility:hidden">1</span> </span> <img src="http://www.leonceshop.com/img/botleft.jpg" style="cursor:pointer" id="Aizquierda" /> <img src="http://www.leonceshop.com/img/botright.jpg" style="cursor:pointer" id="Aderecha" /> {/if} {counter start=0 skip=1 assign="count"} {foreach from=$accessories item=accessory name=accessories_list} {counter} {assign var="xpz" value="{($xpz +1)}"} {if $xpz == 3 and $count!=1} </div> {/if} {if $xpz == 3 or $count==1} {assign var="xpz" value="0"} {assign var="declas" value="{($declas +1)}"} <div class="accTodos" id="{$declas}"> {/if} {assign var='accessoryLink' value=$link->getProductLink($accessory.id_product, $accessory.link_rewrite, $accessory.category)} <div class="fltleft accesories_hold"> <div class="accesories_img"> <a href="{$accessoryLink|escape:'htmlall':'UTF-8'}" title="{$accessory.legend|escape:'htmlall':'UTF-8'}" class="product_image"><img src="{$link->getImageLink($accessory.link_rewrite, $accessory.id_image, 'accesorios')}" alt="{$accessory.legend|escape:'htmlall':'UTF-8'}" width="100" height="128" /></a> </div> <div class="accesories_name"> {$accessory.name} </div> <div class="accesories_price"> {if $accessory.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}{if $priceDisplay != 1}{displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc}{/if}{/if} </div> </div> {/foreach} {else} <!--{l s='theres no accesories'}--> {/if} <br class="clr" /> </div> </div></div>{if $quantity_discounts}<!-- quantity discount --><ul class="idTabs"> <li><a style="cursor: pointer" class="selected">{l s='Sliding scale pricing'}</a></li></ul><div id="quantityDiscount"> <table class="std"> <tr> {foreach from=$quantity_discounts item='quantity_discount' name='quantity_discounts'} <th>{$quantity_discount.quantity|intval} {if $quantity_discount.quantity|intval > 1} {l s='quantities'} {else} {l s='quantity'} {/if} </th> {/foreach} </tr> <tr> {foreach from=$quantity_discounts item='quantity_discount' name='quantity_discounts'} <td> {if $quantity_discount.price != 0 OR $quantity_discount.reduction_type == 'amount'} -{convertPrice price=$quantity_discount.real_value|floatval} {else} -{$quantity_discount.real_value|floatval}% {/if} </td> {/foreach} </tr> </table></div>{/if}{$HOOK_PRODUCT_FOOTER}<!-- Customizable products -->{if $product->customizable} <ul class="idTabs"> <li><a style="cursor: pointer">{l s='Product customization'}</a></li> </ul> <div class="customization_block"> <form method="post" action="{$customizationFormTarget}" enctype="multipart/form-data" id="customizationForm"> <p> <img src="{$img_dir}icon/infos.gif" alt="Informations" /> {l s='After saving your customized product, remember to add it to your cart.'} {if $product->uploadable_files}<br />{l s='Allowed file formats are: GIF, JPG, PNG'}{/if} </p> {if $product->uploadable_files|intval} <h2>{l s='Pictures'}</h2> <ul id="uploadable_files"> {counter start=0 assign='customizationField'} {foreach from=$customizationFields item='field' name='customizationFields'} {if $field.type == 0} <li class="customizationUploadLine{if $field.required} required{/if}">{assign var='key' value='pictures_'|cat:$product->id|cat:'_'|cat:$field.id_customization_field} {if isset($pictures.$key)}<div class="customizationUploadBrowse"> <img src="{$pic_dir}{$pictures.$key}_small" alt="" /> <a href="{$link->getProductDeletePictureLink($product, $field.id_customization_field)}" title="{l s='Delete'}" > <img src="{$img_dir}icon/delete.gif" alt="{l s='Delete'}" class="customization_delete_icon" width="11" height="13" /> </a> </div>{/if} <div class="customizationUploadBrowse"><input type="file" name="file{$field.id_customization_field}" id="img{$customizationField}" class="customization_block_input {if isset($pictures.$key)}filled{/if}" />{if $field.required}<sup>*</sup>{/if} <div class="customizationUploadBrowseDescription">{if !empty($field.name)}{$field.name}{else}{l s='Please select an image file from your computer'}{/if}</div></div> </li> {counter} {/if} {/foreach} </ul> {/if} <div class="clear"></div> {if $product->text_fields|intval} <h2>{l s='Texts'}</h2> <ul id="text_fields"> {counter start=0 assign='customizationField'} {foreach from=$customizationFields item='field' name='customizationFields'} {if $field.type == 1} <li class="customizationUploadLine{if $field.required} required{/if}">{assign var='key' value='textFields_'|cat:$product->id|cat:'_'|cat:$field.id_customization_field} {if !empty($field.name)}{$field.name}{/if}{if $field.required}<sup>*</sup>{/if}<textarea type="text" name="textField{$field.id_customization_field}" id="textField{$customizationField}" rows="1" cols="40" class="customization_block_input" />{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if}</textarea> </li> {counter} {/if} {/foreach} </ul> {/if} <p style="clear: left;" id="customizedDatas"> <input type="hidden" name="ipa_customization" id="ipa_customization" value="{$ipa_customization}" /> <input type="hidden" name="quantityBackup" id="quantityBackup" value="" /> <input type="hidden" name="submitCustomizedDatas" value="1" /> <input type="button" class="button" value="{l s='Save'}" onclick="javascript:saveCustomization()" /> <span id="ajax-loader" style="display:none"><img src="{$img_ps_dir}loader.gif" alt="loader" /></span> </p> </form> <p class="clear required"><sup>*</sup> {l s='required fields'}</p> </div>{/if}{if $packItems|@count > 0} <div> <h2>{l s='Pack content'}</h2> {include file="$tpl_dir./product-list.tpl" products=$packItems} </div>{/if}{/if}<script>$(document).ready(function(){ $(".accTodos").hide(); $(".accTodos[id=1]").show(); $("#Aderecha").click(function(){ var canti = $("#cantI").text(); var cantp = $("#cantP").text(); var cantt = $("#cantT").text(); var cd = $("#cantclickd").text(); if(cantp<cantt){ ci = parseInt(canti)+3; cp = parseInt (cantp)+3; if(cp>cantt){ cp = cantt; } $("#cantclickd").html( (parseInt(cd)+1) ); var cd = $("#cantclickd").text(); $("#cantI").html(ci); $("#cantP").html(cp); $(".accTodos").hide(); $(".accTodos[id="+cd+"]").show(); } }); $("#Aizquierda").click(function(){ var canti = $("#cantI").text(); var cantp = $("#cantP").text(); var cantt = $("#cantT").text(); var cd = $("#cantclickd").text(); if(ci>1){ ci = parseInt(canti)-3; cp = parseInt (cantp)-3; if(cp>cantt){ cp = cantt; } $("#cantclickd").html( (parseInt(cd)-1) ); var cd = $("#cantclickd").text(); $("#cantI").html(ci); $("#cantP").html(cp); $(".accTodos").hide(); $(".accTodos[id="+cd+"]").show(); } }); $.ajax({ type: "POST", data: "", url: "/ajax/ajax.zones.php", success: function(datos){ $("#czona").html(datos); var zone = $("#zona").val(); $.ajax({ type: "POST", data: "id="+zone, url: "/ajax/ajax.carriers.zones.php", success: function(datos){ $("#contentCarrier").html(datos); } }); } }); $("#zona").live('change',function(e) { $.ajax({ type: "POST", data: "id="+$(this).val(), url: "/ajax/ajax.carriers.zones.php", success: function(datos){ $("#contentCarrier").html(datos); } }); }); });</script> Link to comment Share on other sites More sharing options...
ventura Posted August 28, 2014 Share Posted August 28, 2014 Esta incluido en js, lo veras abajo del todo, el codigo se genera en el archivo ajax/ajax.carriers.zones.php Link to comment Share on other sites More sharing options...
goiko111 Posted August 28, 2014 Author Share Posted August 28, 2014 Que se supone que tengo que hacer entonces? Gracias Link to comment Share on other sites More sharing options...
ventura Posted August 29, 2014 Share Posted August 29, 2014 Habría que revisar el codigo de ese archivo para ver como genera la informacion que aparece de los transportistas Link to comment Share on other sites More sharing options...
goiko111 Posted August 29, 2014 Author Share Posted August 29, 2014 Y como lo puedo hacer? porque yo ni idea, alguna ayuda? Gracias Link to comment Share on other sites More sharing options...
ventura Posted August 29, 2014 Share Posted August 29, 2014 Es un desarrollo personalizado que tienes en tu web, un desarrollo ajeno a la instalacion normal de Prestashop, según el codigo de tu product.tpl esta en esta ruta ajax/ajax.carriers.zones.php Link to comment Share on other sites More sharing options...
Recommended Posts