Jump to content

cortese14

Members
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Activity
    User/Merchant

cortese14's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Ciao, ho installato l'ultima versione disponibile ma se accendo al backend da mobile mi viene visualizzato questo messaggio Oh no! La versione mobile di questa pagina non è ancora disponibile. Si prega di utilizzare un computer desktop per accedere a questa pagina, fin quando non sarà stata adattata ai dispositivi mobili. Grazie.
  2. Hi, i have a list of accessory in bottom of page with normal price. I would also see the discounted price. <div class="price"> {if $priceDisplay != 1} {displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc} {/if} </div> {/if} this code show the old price of product (not accesory) <p id="old_price"{if (!$accessory->specificPrice || !$accessory->specificPrice.reduction) && $group_reduction == 0} class="hidden"{/if}> {if $priceDisplay >= 0 && $priceDisplay <= 2} {hook h="displayProductPriceBlock" product=$accessory type="old_price"} <span id="old_price_display">{if $accessoryPriceWithoutReduction > $accessory.price}{convertPrice price=$accessoryPriceWithoutReduction}{/if}</span> <!-- {if $tax_enabled && $display_tax_label == 1}{if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if}{/if} --> {/if} </p>
  3. I resolve, {foreach from=$categoryProducts item='categoryProduct' name=categoryProduct} {if $smarty.foreach.categoryProduct.iteration eq 6} {break} {/if}
  4. How to limit the number of product of this module ? (prestashop 1.6) I have this code: {if count($categoryProducts) > 0 && $categoryProducts !== false} <section class="blockproductscategory"> <h3 class="productscategory_h3 ">{l s='Related Products' mod='productscategory'}</h3> <div id="productscategory_list" class="clearfix"> <ul class="related-product"> {foreach from=$categoryProducts item='categoryProduct' name=categoryProduct} <li class="product-box item"> <a href="{$link->getProductLink($categoryProduct.id_product, $categoryProduct.link_rewrite, $categoryProduct.category, $categoryProduct.ean13)}" class="lnk_img product-image" title="{$categoryProduct.name|htmlspecialchars}"> <img class="img_1" src="{$link->getImageLink($categoryProduct.link_rewrite, $categoryProduct.id_image, 'small_default')|escape:'html':'UTF-8'}" alt="{$categoryProduct.name|htmlspecialchars}" /> </a> <div class="related-content"> <h5 class="product-name"> <a href="{$link->getProductLink($categoryProduct.id_product, $categoryProduct.link_rewrite, $categoryProduct.category, $categoryProduct.ean13)|escape:'html':'UTF-8'}" title="{$categoryProduct.name|htmlspecialchars}">{$categoryProduct.name|truncate:54:'...'|escape:'html':'UTF-8'}</a> </h5> {if $ProdDisplayPrice AND $categoryProduct.show_price == 1 AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} <p class="price_display"> <span class="price{if isset($categoryProduct.specific_prices) && $categoryProduct.specific_prices} special-price{/if}">{convertPrice price=$categoryProduct.displayed_price}</span> {if isset($categoryProduct.specific_prices.reduction) && $categoryProduct.specific_prices.reduction && $categoryProduct.specific_prices.reduction_type == 'percentage'}<span class="price-percent-reduction small">-{$categoryProduct.specific_prices.reduction * 100}%</span>{/if} {if isset($categoryProduct.specific_prices) && $categoryProduct.specific_prices}<span class="old-price">{displayWtPrice p=$categoryProduct.price_without_reduction}</span>{/if} </p> {else} <br /> {/if} {hook h='displayProductListReviews' product=$product} </div> </li> {/foreach} </ul> </div> </section> {/if}
  5. with <p><a onclick="ajaxCart.add( $('#product_page_product_id').val(), $('#idCombination').val(3), true, null, $('#quantity_wanted').val(), null);">Add to cart</a></p> $('#idCombination').val(3) not work
  6. with this code: <p><a onclick="ajaxCart.add(product_id=735, attribute_id=43, true, null, quantity=1, null);">Add to cart</a></p> display this message you already have the maximum quantity available for this product
  7. I insert th cart button in cms page but the combination id select not work: <p><a onclick="ajaxCart.add(product_id=735, combination_id=43, true, null, quantity=1, null);">Add to cart</a></p> with combination_id=0 it working. The id 43 is properly configured what' the tag?
  8. è un problema del tema ed in particolare nella pagina product.tpl ed in alcuni casi in product.js. Molto probabilmente sarà un piccolo errore di programmazione. Purtroppo non sono riuscito a capire precisamente dove si trova il problema, al momento non ho tempo per soffermarmi sul codice. Per risolvere il problema prendete il tema di default e copiate la parte tra i tag <!-- prices --> e sostituitela con quella del vostro tema. In questo modo perdete eventuali modifiche di stile ma nulla di grave o irrimediabile. Se il problema persiste sostituite tutta la pagina product.js in /js/ del vostro tema. Eventualmente fate delle prove in locale. Se avete voglia di approfondire confrontate le parti di codice e fateci sapere
  9. yes, of course, this is a theme error, in another theme the string is correct
  10. In what file did you find that string? themes/xxxx/category-tree-branch.tpl And did you do an upgrade or a new install? new install And what PS version? 1.5
  11. I fixed the error, i changed this string: <li{ifisset($last)&&$last=='true'}class="last"{/if}> width <li {if isset($last) && $last == 'true'}class="last"{/if}> The problem in the code are the spaces. I don't know the origin ...
×
×
  • Create New...