Jump to content

hightone69

Members
  • Posts

    149
  • Joined

  • Last visited

Everything posted by hightone69

  1. hello, I am looking for how to display an HTML page in the product but after confirmation of payment and visible only after payment. If you have a walkthrough or an idea I'm interested. Ps: V 1.6 Excuse my english
  2. Le poste date ! mais pour apporter cette précision et confirme que ça se produisait déja sur les versions antérieures en 1.25
  3. Salut Je suis sur PS 1.25 je sais y en a qui vont retorquer d'être un ancêtre mais bon ! mon souci comment ajouter class="product_img_link" dans le product.tpl je m'explique j'ai installer la modif du module blockart de gfxpixeldesigns http://www.prestashop.com/forums/topic/42612-clicking-add-to-cart-pop-up-box-confirmation-with-continue-shopping-checkout-links/page-2 Post #22 mais je n'ai pas l'image du produit dans le pop up j'ai uniquement le titre comme suit dans le product.tpl <div id="primary_block"> <h2 class="product-title">{$product->name|escape:'htmlall':'UTF-8'}</h2> a été rajouter pour le Titre produit pour l'affichage dans le popup il me manque la class="product_img_link" a ajouter dans product.tpl pour que l'image du produit s'affiche. Mon fichier product.tpl {include file=$tpl_dir./errors.tpl} {if $errors|@count == 0} <script type="text/javascript"> // <![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 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'}'; var maxQuantityToAllowDisplayOfLastQuantityMessage = {$last_qties}; var noTaxForThisProduct = {if $no_tax == 1}true{else}false{/if}; var displayPrice = {$priceDisplay}; // 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} //]]> </script> {include file=$tpl_dir./breadcrumb.tpl} <div id="primary_block"> <h2 class="product-title">{$product->name|escape:'htmlall':'UTF-8'}</h2> {if $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, '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"/> {else} <img src="{$img_prod_dir}{$lang_iso}-default-large.jpg" alt="" title="{$product->name|escape:'htmlall':'UTF-8'}" /> {/if} </div> {if count($images) > 0} <!-- thumbnails --> <div id="views_block" {if count($images) < 2}class="hidden"{/if}> {if 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 style="width: {math equation="width * nbImages" width=82 nbImages=$images|@count}px"> {foreach from=$images item=image name=thumbnails} <li> <a href="{$img_prod_dir}{$product->id}-{$image.id_image}-thickbox.jpg" title="{$product->name|escape:'htmlall':'UTF-8'}" rel="zoombox[other-views]" class="{if $smarty.foreach.thumbnails.first}shown{/if}"> <img id="thumb_{$image.id_image}" src="{$img_prod_dir}{$product->id}-{$image.id_image}-medium.jpg" alt="{$image.legend|htmlspecialchars}" title="{$image.legend|htmlspecialchars}" /> </a> </li> {/foreach} </ul> </div> {if 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 count($images) > 1}<p class="align_center clear"><a id="resetImages" href="{$link->getProductLink($product)}" onclick="return (false);">{l s='Display all pictures'}</a></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='View full size'}</span></li> {/if} </ul> </div> <!-- left infos--> <div id="pb-left-column"> {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} {if $product->description} <p class="buttons_bottom_block"><a href="javascript:{ldelim}{rdelim}" class="button">{l s='More details'}</a></p> {/if} {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 $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"> {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});">{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} </ul> <a id="color_all" onclick="updateColorSelect(0);"><img src="{$img_dir}icon/cancel.gif" alt="" title="{$color.name}" /></a> <div class="clear"></div> </div> {/if} <!-- add to cart form--> <form id="buy_block" action="{$base_dir}cart.php" 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> <!-- prices --> <p class="price"> {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->reduction_price != 0 || $product->reduction_percent != 0) && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product->reduction_from))} <span class="discount">{l s='Price lowered!'}</span> {/if} <br /> <span class="our_price_display"> {if !$priceDisplay || $priceDisplay == 2} <span id="our_price_display">{convertPrice price=$product->getPrice(true, $smarty.const.NULL, 2)}</span> {l s='tax incl.'} {/if} {if $priceDisplay == 1} <span id="our_price_display">{convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)}</span> {l s='tax excl.'} {/if} </span> {if $priceDisplay == 2} <br /> <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} <br /> </p> {if ($product->reduction_price != 0 || $product->reduction_percent != 0) && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product->reduction_from))} <p id="old_price"><span class="bold"> {if !$priceDisplay || $priceDisplay == 2} <span id="old_price_display">{convertPrice price=$product->getPriceWithoutReduct()}</span> {l s='tax incl.'} {/if} {if $priceDisplay == 1} <span id="old_price_display">{convertPrice price=$product->getPriceWithoutReduct(true)}</span> {l s='tax excl.'} {/if} </span> </p> {/if} {if $product->reduction_percent != 0 && ($product->reduction_from == $product->reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product->reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product->reduction_from))} <p id="reduction_percent">{l s='(price reduced by'} <span id="reduction_percent_display">{$product->reduction_percent|floatval}</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">{convertPrice price=$product->ecotax}</span> {l s='for green tax'}</p> {/if} {if isset($groups)} <!-- attributes --> <div id="attributes"> {foreach from=$groups key=id_attribute_group item=group} <p> <label for="group_{$id_attribute_group|intval}">{$group.name|escape:'htmlall':'UTF-8'} :</label> {assign var='groupName' value='group_'|cat:$id_attribute_group} <select name="{$groupName}" id="group_{$id_attribute_group|intval}" onchange="javascript:findCombination();"> {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}>{$group_attribute|escape:'htmlall':'UTF-8'}</option> {/foreach} </select> </p> {/foreach} </div> {/if} {if $product->reference}<p id="product_reference" {if isset($groups)}style="display:none;"{/if}><label for="product_reference">{l s='Reference :'} </label><span class="editable">{$product->reference|escape}</span></p>{/if} <!-- quantity wanted --> <p id="quantity_wanted_p"{if (!$allow_oosp && $product->quantity == 0) || $virtual} 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}1{/if}" size="2" maxlength="3" /> </p> <!-- availability --> <p id="availability_statut"{if ($allow_oosp && $product->quantity == 0 && !$product->available_later) || (!$product->available_now && $display_qties != 1) } 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 --> <p id="pQuantityAvailable"{if $display_qties != 1 || ($allow_oosp && $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 < 2} style="display:none;"{/if} id="quantityAvailableTxtMultiple">{l s='items in stock'}</span> </p> <!-- Out of stock hook --> <p id="oosHook"{if $product->quantity > 0} style="display:none;"{/if}> {$HOOK_PRODUCT_OOS} </p> <p class="warning-inline" id="last_quantities"{if ($product->quantity > $last_qties || $product->quantity == 0) || $allow_oosp} style="display:none;"{/if} >{l s='Warning: Last items in stock!'}</p> <p{if !$allow_oosp && $product->quantity == 0} 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 $HOOK_PRODUCT_ACTIONS} {$HOOK_PRODUCT_ACTIONS} {/if} </form> {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if} </div> </div> <br class="clear" /> {if $quantity_discounts} <!-- quantity discount --> <ul class="idTabs"> <li><a style="cursor: pointer">{l s='Quantity discount'}</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.id_discount_type|intval == 1} -{$quantity_discount.value|floatval}% {else} -{convertPrice price=$quantity_discount.value|floatval} {/if} </td> {/foreach} </tr> </table> </div> {/if} {$HOOK_PRODUCT_FOOTER} <!-- 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><a id="more_info_tab_more_info" href="#idTab1">{l s='More info'}</a></li>{/if} {if $features}<li><a id="more_info_tab_data_sheet" href="#idTab2">{l s='Data sheet'}</a></li>{/if} {if $attachments}<li><a id="more_info_tab_attachments" href="#idTab9">{l s='Download'}</a></li>{/if} {if isset($accessories) AND $accessories}<li><a href="#idTab4">{l s='Accessories'}</a></li>{/if} {$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} {if $features} <!-- product's features --> <ul id="idTab2" class="bullet"> {foreach from=$features item=feature} <li><span>{$feature.name|escape:'htmlall':'UTF-8'}</span> {$feature.value|escape:'htmlall':'UTF-8'}</li> {/foreach} </ul> {/if} {if $attachments} <ul id="idTab9" class="bullet"> {foreach from=$attachments item=attachment} <li><a href="{$base_dir}attachment.php?id_attachment={$attachment.id_attachment}">{$attachment.name|escape:'htmlall':'UTF-8'}</a><br />{$attachment.description|escape:'htmlall':'UTF-8'}</li> {/foreach} </ul> {/if} {if isset($accessories) AND $accessories} <!-- accessories --> <ul id="idTab4" class="bullet"> <div class="block products_block accessories_block"> <div class="block_content"> <ul> {foreach from=$accessories item=accessory name=accessories_list} {assign var='accessoryLink' value=$link->getProductLink($accessory.id_product, $accessory.link_rewrite, $accessory.category)} <li class="ajax_block_product {if $smarty.foreach.accessories_list.first}first_item{elseif $smarty.foreach.accessories_list.last}last_item{else}item{/if} product_accessories_description"> <h5 class="align_center"><a href="{$accessoryLink|escape:'htmlall':'UTF-8'}">{$accessory.name|truncate:22:'...'|escape:'htmlall':'UTF-8'}</a></h5> <p class="product_desc"> <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, 'medium')}" alt="{$accessory.legend|escape:'htmlall':'UTF-8'}" /></a> <a href="{$accessoryLink|escape:'htmlall':'UTF-8'}" title="{l s='More'}" class="product_description">{$accessory.description_short|strip_tags|truncate:100:'...'}</a> </p> <p class="product_accessories_price"> <span class="price">{displayWtPrice p=$accessory.price}</span> <a class="button" href="{$accessoryLink|escape:'htmlall':'UTF-8'}" title="{l s='View'}">{l s='View'}</a> <a class="button ajax_add_to_cart_button" href="{$base_dir}cart.php?qty=1&id_product={$accessory.id_product|intval}&token={$static_token}&add" rel="ajax_id_product_{$accessory.id_product|intval}" title="{l s='Add to cart'}">{l s='Add to cart'}</a> </p> </li> {/foreach} </ul> </div> </div> <div class="clear"></div> </ul> {/if} {$HOOK_PRODUCT_TAB_CONTENT} </div> </div> {/if} <!-- 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, do not forget 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->getUrlWith('deletePicture', $field.id_customization_field)}"><img src="{$img_dir}icon/delete.gif" alt="{l s='delete'}" class="customization_delete_icon" /></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 hard drive'}{/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}<input type="text" name="textField{$field.id_customization_field}" id="textField{$customizationField}" value="{if isset($textFields.$key)}{$textFields.$key|stripslashes}{/if}" class="customization_block_input" />{if $field.required}<sup>*</sup>{/if} </li> {counter} {/if} {/foreach} </ul> {/if} <p style="clear: left;" id="customizedDatas"> <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()" /> </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} Pour le product-list tout fonctionne Titre et image dans le Pop up Mon fichier Product-list ( pour vous en inspirer comme modèle) {if isset($products)} <!-- Products list --> <ul id="product_list" class="clear"> {foreach from=$products item=product name=products} <li class="ajax_block_product {if $smarty.foreach.products.first}first_item{elseif $smarty.foreach.products.last}last_item{/if} {if $smarty.foreach.products.index % 2}alternate_item{else}item{/if}"> <div class="center_block"> <span class="availability">{if ($product.allow_oosp OR $product.quantity > 0)}{l s='Available'}{else}{l s='Out of stock'}{/if}</span> <a href="{$product.link|escape:'htmlall':'UTF-8'}" class="product_img_link" title="{$product.name|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" /></a> <h3 class="product-title">{if $product.new == 1}<span class="new">{l s='new'}</span>{/if}<a class="product-title" href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.name|escape:'htmlall':'UTF-8'}">{$product.name|truncate:35:'...'|escape:'htmlall':'UTF-8'}</a></h3> <p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}">{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}</a></p> </div> <div class="right_block"> {if $product.on_sale} <span class="on_sale">{l s='On sale!'}</span> {elseif ($product.reduction_price != 0 || $product.reduction_percent != 0) && ($product.reduction_from == $product.reduction_to OR ($smarty.now|date_format:'%Y-%m-%d' <= $product.reduction_to && $smarty.now|date_format:'%Y-%m-%d' >= $product.reduction_from))} <span class="discount">{l s='Price lowered!'}</span> {/if} {if !$priceDisplay || $priceDisplay == 2}<div><span class="price" style="display: inline;">{convertPrice price=$product.price}</span>{if $priceDisplay == 2} {l s='+Tx'}{/if}</div>{/if} {if $priceDisplay}<div><span class="price" style="display: inline;">{convertPrice price=$product.price_tax_exc}</span>{if $priceDisplay == 2} {l s='-Tx'}{/if}</div>{/if} {if ($product.allow_oosp OR $product.quantity > 0) && $product.customizable != 2} <a class="button ajax_add_to_cart_button exclusive" rel="ajax_id_product_{$product.id_product|intval}" href="{$base_dir}cart.php?add&id_product={$product.id_product|intval}&token={$static_token}">{l s='Add to cart'}</a> {else} <span class="exclusive">{l s='Add to cart'}</span> {/if} <a class="button" href="{$product.link|escape:'htmlall':'UTF-8'}" title="{l s='View'}">{l s='View'}</a> </div> <br class="clear"/> </li> {/foreach} </ul> <!-- /Products list --> {/if} 2 min d'un temps partager ça le fournira une aide non des moindres ! merci pour votre contribution dans la fouler pour reposter le module pour les utilisateurs de la V 1.25 sur le précédent topic. eldesigns
  4. I Thank you for your blockcart Module! your module works for the list of products, but when you're on the product page is not in the image of the product on the popup, how to cure this problem? PS 1.25
  5. Le mieux serai d'intégrer le script de l'éditeur Tinymce dans les messages prédéfinis il y a un post dessus mais j'ai éssayé d'intégrer le script Tinymce dans AdminOderMessage.php qui se trouve dans dossier admin qui à été renommer/tabs/AdminOrderMessage.php sans succès s'il y a une personne charitable ça serait sympa post http://www.prestashop.com/forums/topic/19471-message-predefinis-interpretation-html/ de cette façon ont pourra ajouter des liens cliquables et éditer en message Html
  6. Salut Je sais que ce post date des lustres j'ai éssayer d'intégrer Tinymce dans les messages prédéfinis sans succès stephan si tu pouvait nous donner la manip détaillé à quel endroit mettre le script Tiny ça serait sympa ! essayer dans AdminOrderMessage.php sans succès PS: 1.25
  7. Salut Prendre le fichier de la version PS 1.3 ça devrait fonctionner je le joint au cas ou. à placer dans modules/productscategory/js J'ai mis le fichier avec l'extension txt par ce que sur le forum il ne veut pas uploader le fichier Js ! Attention Renommer le fichier productscategory.txt en productscategory.js j'avais le même problème le scroll "dans la même catégorie" ne fonctionnais pas sur la version PS 1.25 j'ai utiliser fichier "productscategory.js" de la version PS 1.3 et ça fonctionner. productscategory.txt
  8. Bonjour, Je tiens tout dabord à vous remercier pour votre module menu horizontal 2.7.1 cependant j'obtiens des érreurs lors de la validation W3C voici ces érreurs si vous pouviez me donner une piste pour corriger ce problème de validation il est possible que ça soit la balise link voir http://www.prestashop.com/forums/topic/184458-erreur-w3c/ qui cause problème merci Salutations Error Line 29, Column 116: <link rel="stylesheet" type="text/css" href="/modules/jbx_menu/css/superfish-modified.css" media="screen" /> ---------------------------------------------------------------------------- Line 30, Column 104 : <link rel="stylesheet" type="text/css" href="/modules/jbx_menu/cache/menu.css" media="screen" /> ------------------------------------------------------------------------------- Line 31, Column 85 : <link rel="stylesheet" type="text/css" href="/css/jquery.autocomplete.css" />
  9. Salut C'est la première chose à laquelle j'ai pensé ! ce le module delete connection de catalogo Rsi à bien foutu la zizanie sur mon site, c'est comme tout les modules à nos risques ! j'ai envoyé un message à l'auteur de ce module ,en me disant que le module supprime uniquement les paniers, les connections donc voila ! j'ai chercher dans le fofo rien trouver de semblable à mon problème si il y a un prestashopien qui à eu cette mésaventure et qui passe par ce topic ça serait la bienvenue
  10. Salut, Depuis plus de 1 mois je n'ai plus de stats sur la boutique plus d'affichage des visiteurs ect...ceci c'est produit depuis que j'ai installer le module "delete connection" j'ai bien éssayé de réinstaller les modules suivant mais le problème persiste, j'ai mis a jour le calendrier à la date du jours, si vous avez une idée je suis preneur ! - Arthichow - XML/SWF Charts - Google Charts - Récupération des données statistiques Ps: 1.25 Salutations
  11. Bonjour, Pour intégrer une image de fond sur le thème je galère pas possible ! celle ci s'intégre parfaitement sur le thème aucun soucis de ce côter là ! mais la ou cela reste une énigme ce que l'image de fond s'intégre aussi dans l'éditeur page produit et tinymce en général !, c'est à n'y rien comprendre cela fait des heures que j'éssaye pour que cette image de fond ne s'intégrer pas dans l'éditeur tinymce mais rien y fait ! mais vous allez me dire as tu bien intégrer l'image de fond ? bon je dirais que la méthode traditionnelle quoi ! Bon il y a un truc qui ne va pas je ne sais pas à quel endroit mais si vous avec une idée je suis preneur à 1000 % body { background-image: url(../img/ciel.jpg); background-attachment:fixed; font-size: 11px; font-family: "Trebuchet MS", Arial, Sans-Serif; color: #5d717e; text-align:center; } et en ligne #page #page { width: 980px; margin: 10px auto; text-align:left; background-color: #ffffff; background-repeat: no-repeat; background-position: top; } Ps 1.25 thème gloss xampp
  12. Hello, The module works with any version of Prestashop?
  13. CAUTION Post N° 1 module that is downloaded is full of bugs File feedback.php missing buttons "save" and "delete." And there are missing features !! And of the missing functions !!!! is intentionally blocked? Very bizar ! on line 373 I find that the text area for the answer is clear! disabled = "disabled" and line 375 the checkbox to disable message! disabled = "disabled" I do not know why this module is intentionally blocked?
  14. Very bizar! on line 373 I find that the text area for the answer is clear! disabled = "disabled" and line 375 the checkbox to disable message! disabled = "disabled" I do not know why this module is intentionally blocked? I remove disabled = "disabled" text area and disabled = "disabled" the checkbox now I can write an answer, and the checkbox is no longer block for texarea line 373 <td align="left"><textarea disabled="disabled" style="width: 320px; height: 90px; class="rte" name="answer['.$aux[0].']">'.$aux[6].'</textarea></td> for checkbox line 375 <input disabled="disabled" type=checkbox name="display['.$aux[0].']" value="'.$aux[0].'"."'.($aux[7] ? ' checked="checked"' : '').'"/></td> I do not know if there are missing buttons? example the save button when the message is answered in the textarea to comment !
  15. Hello, Need help please! I am on 1.25 I prestashop install the first version of Ciroco05 feedback V1.0. I have a checkbox that is blocked it is gray you can not check for message! in the text area and I can not respond to the comment. I am locally with xampp feedback V1.0 PS 1.25 if Ciroco05 moefree zenith through here! it would be nice to give me an idea to solve this problem. last question thank you! How can I use latest version for maximum PS 1.25 thank you for your patience ! I apologize for my English! I use google translate
  16. Hello, I perform the installation locally with xampp with homefeaturedcarousel V 0.31 PS 1.25 everything works perfectly! If your module is installed perfectly in the back office and you have no one but white display is something missing in module that works perfectly in the File urunxml.php example the path line 132 and the No. 4 line of your category, and forget to empty the cache smarty In case you have display problems 1) Turn off the ad blocker in Firefox or another I've had problems with display module Adblock more 2) Clear the cache smarty 3) Line 1 is missing php after <? becomes <? php there are servers that interprets differently this tag 4) line 8 $ category = new Category (1), add the No. of your category to display a home is the 5) line 132 with xampp verify the path <ImagePath><![CDATA[http://127.0.0.1/yourshop/img/p/'.$products[$i][id_image].'-home.jpg]]></ImagePath> or if your website is in production at the root verify the path <ImagePath> <! [CDATA[http://your-shop.com/img/p/ '. $ Products [$ i] [id_image].'-Home.jpg]]> </ ImagePath> Or is your site to a folder verify the path <ImagePath><![CDATA[http://your-shop.com/prestashop/img/p/'.$products[$i][id_image].'-home.jpg]]></ImagePath> In local with xampp <ImagePath><![CDATA[http://127.0.0.1/yourshop/img/p/'.$products[$i][id_image].'-home.jpg]]></ImagePath> -The animation locally with Xampp does not work on IE (Internet Explorer 8)! For the animation to valid we must put the module on FTP. Test for me and works with: Locally with Xampp test and works with Firfox 12, Safari 5, Google Chrome 16 "(not tested with Opera) IE8 does not work locally with Xampp. -Server works with Internet Explorer 8, Firfox 12, Safari 5, Google Chrome 16 (not tested with Opera) To add context around the module file homefeaturedcarousel.tpl. I add a margin-left and margin-top to position the module. You can add if you want after margin-top, a margin-bottom: -For the selection of edges in border-style: -To choose the color of the border in border-color: -Width of the border in border-width: 1px 1px 1px 1px;( In the order top, Right, Bottom, Left) BORDERS: dotted dashed solid double groove ridge inset ouset <embed src="modules/homefeaturedcarousel/3DCarouselDev.swf" flashvars="xmlprovider=modules/homefeaturedcarousel/files/urunxml.php" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" play="true" loop="true" scale="noscale" wmode="opaque" devicefont="false" bgcolor="#ffffff" name="3DCarouselDev" menu="False" allowfullscreen="false" allowscriptaccess="sameDomain" salign="lt" type="application/x-shockwave-flash" align="lt" height="230" width="530" style="border-color: #cccccc; border-width: 1px 1px 1px 1px; border-style:solid; margin-left: 0px; margin-top: 5px; margin-bottom:5px"> I hope and wish that this module will work for you and I thank the author of this module! This assistance is not big thing but you never know in case it works! Sorry for my english Good luck !
  17. Bonjour, Ce post date un peut si au cas ou tu na pas trouver de solution éssayer d'aller dans la traduction du font office dans outils/traductions/Traductions front office aller ensuite dans la catégorie "Product" ensuite supprimer la phrase Ce produit n'est plus en stock et la remplacer par un vide de la longueur de la phrase, ensuite avec le curseur de la souris cliquer sur bouton droit en le maintenant, dans la case vide et partir du coter gauche de cette case ------------------------------------------------jusqu'a la fin de la phrase qui à été éffacer cela va colorer le vide en BLEU et cliquer en bas de page sur "enregistrer les modifications" Faire de même pour Disponibilité : Je ne sais pas comment est le menu de la traduction ça c'est sur PS 1.25
  18. Merci pour la réponse ! mais résolu c'est le code obtenu par un générateur d'ombre c'est pas compatible avec les blocs j'ai procéder autrement.
  19. [RESOLU] Bonjour, Je suis en train de customiser mon thème et je cherche depuis 2 h à changer le Block imformation pour obtenir une image transparente l'image nommée "Block_header" en png mais rien y fait, et la renommée en gif je n'ai pas obtenu la transparence si quelqu'un passe par ici ça serait hyper sympa de me donner une piste @+ font-family: Helvetica, Sans-Serif; font-weight: bold; font-size: 1.5em; text-align:center; line-height:40px; color: #fff; height: 38px; background: transparent url('../img/block-header.gif') no-repeat top left;
  20. Sous firebug ma colonne de gauche fait 191 px, merci quand même si d'autres soluce je suis preneur ! Au cas ou Nomman ou Atch passait par ici. @+
  21. je n'ai pas de fichier blockmyaccount.css dans le module c'est le bloc myaccount éditer par nomman j'avais bien vérifier dans le fichier css du thème à la ligne 983 div.myaccount .block_content { background: transparent url('../img/block_bg_myaccount.jpg') repeat-x bottom left; border-left: 1px solid #A13100; border-right: 1px solid #A13100; j'avais déja mis mes couleurs auparavent ! mais rien y fait
  22. J'ai suivi ces indications comme cela <!-- Block My Account --> {if $logged} <div class="block myaccount"> <h4><a href="{$base_dir_ssl}my-account.php">{l s='My account' mod='blockmyaccount'}</a></h4> <class="block_content"> <ul class="bullet"> <li><a href="{$base_dir_ssl}history.php" title="">{l s='My orders' mod='blockmyaccount'}</a></li> {if $returnAllowed} <li><a href="{$base_dir_ssl}order-follow.php" title="">{l s='Merchandise return' mod='blockmyaccount'}</a></li> {/if} <li><a href="{$base_dir_ssl}order-slip.php" title="">{l s='Credit slips' mod='blockmyaccount'}</a></li> <li><a href="{$base_dir_ssl}addresses.php" title="">{l s='My addresses' mod='blockmyaccount'}</a></li> <li><a href="{$base_dir_ssl}identity.php" title="">{l s='My personal info' mod='blockmyaccount'}</a></li> {if $voucherAllowed} <li><a href="{$base_dir_ssl}discount.php" title="">{l s='My vouchers' mod='blockmyaccount'}</a></li> {/if} {$HOOK_CUSTOMER_ACCOUNT} </ul> <p class="logout"> <a href="{$base_dir}index.php?mylogout" title="{l s='log out' mod='blockmyaccount'}">{l s='Sign out' mod='blockmyaccount'}</a> </p> </div> </div> Toujours pas de bordure sur les côtés
  23. Bonjour, Je rencontre le même problème pour ajouter des bordures pouvez vous me détailler la marche à suivre, sur le fichier tpl du bloc mon compte de nomman pour ajouter des bordures, il y a un topic la dessus Atch indique qu'il faut ajouter <class="block_content"> après les div je n'ai pas bien saisi cette information à quelle endroit faut il l'ajouter ? merci pour cette info.
  24. Merci de ce pencher sur ce problème Voici le code du tpl <!-- Block My Account --> {if $logged} <div class="block myaccount"> <h4><a href="{$base_dir_ssl}my-account.php">{l s='My account' mod='blockmyaccount'}</a></h4> <ul class="bullet"> <li><a href="{$base_dir_ssl}history.php" title="">{l s='My orders' mod='blockmyaccount'}</a></li> {if $returnAllowed} <li><a href="{$base_dir_ssl}order-follow.php" title="">{l s='Merchandise return' mod='blockmyaccount'}</a></li> {/if} <li><a href="{$base_dir_ssl}order-slip.php" title="">{l s='Credit slips' mod='blockmyaccount'}</a></li> <li><a href="{$base_dir_ssl}addresses.php" title="">{l s='My addresses' mod='blockmyaccount'}</a></li> <li><a href="{$base_dir_ssl}identity.php" title="">{l s='My personal info' mod='blockmyaccount'}</a></li> {if $voucherAllowed} <li><a href="{$base_dir_ssl}discount.php" title="">{l s='My vouchers' mod='blockmyaccount'}</a></li> {/if} {$HOOK_CUSTOMER_ACCOUNT} </ul> <p class="logout"> <a href="{$base_dir}index.php?mylogout" title="{l s='log out' mod='blockmyaccount'}">{l s='Sign out' mod='blockmyaccount'}</a> </p> </div> {else} {if $displayconnexionbox} <div class="block myaccount"> <h4><a href="{$base_dir_ssl}my-account.php">{l s='My account' mod='blockmyaccount'}</a></h4> <div style="border: 0; padding: 7px; text-align: center; widht:100px;"> <form action="authentication.php" method="post"> <div style="text-align: center;"> {l s='E-mail address' mod='blockmyaccount'}<br /> <input type="text" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall'|stripslashes}{/if}"/><br /> {l s='Password' mod='blockmyaccount'}<br /> <input type="password" id="passwd" name="passwd" value="{if isset($smarty.post.passwd)}{$smarty.post.passwd|escape:'htmlall'|stripslashes}{/if}"/><br /><br /> <input type="hidden" name="back" value="{$back|escape:'htmlall':'UTF-8'}" /> <div style="padding: 0px 22px 0px 22px;"><input type="submit" id="SubmitLogin" name="SubmitLogin" value="{l s='Log in' mod='blockmyaccount'}" class="button" /></div> </div> </form> <div style="text-align: center;"> <a href="password.php">{l s='Forgot your password?' mod='blockmyaccount'}</a> </div> </div> </div> {/if} {/if} <!-- /Block My Account --> j'ai editer cette ligne <div style="border: 0; padding: 7px; text-align: center; widht:100px;"> de cette façon pour voir si ça changeait quelque chose <div style="border: 1px; color: #000000; padding: 7px; text-align: center; widht:100px;"> mais rien y fait ! avez vous une idée ? merci Atch dit qu'il faut rajouter class="block_content" après les div je veut bien le croire mais à quelle endroit ?
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More