Sito Lab Posted March 6, 2012 Share Posted March 6, 2012 ciao a tutti, come da titolo chiedo il vostro aiuto. Come tema uso prestashop_new ho scaricato anche il modulo quantitydiscount ma visualizzo sempre lo sconto invece che il prezzo totale esempio il prezzo è 130 € vedo in quantità sconto -10 € invece vorrei visualizzare 120 € grazie a tutti voi per il vostro aiuto ps di prove ne stò facendo tante ma non succede niente prestashop è 1.4.6.2 Link to comment Share on other sites More sharing options...
vanni92 Posted April 13, 2012 Share Posted April 13, 2012 Salve, ho anche io lo stesso problema. Sarebbe gradita una vostra risposta Saluti Link to comment Share on other sites More sharing options...
Nsfr750 Posted April 14, 2012 Share Posted April 14, 2012 esempio con modulo blockspecial <!-- MODULE Block specials --> <div id="special_block_right" class="block products_block exclusive blockspecials"> <h4><a href="{$link->getPageLink('prices-drop.php')}" title="{l s='Specials' mod='blockspecials'}">{l s='Specials' mod='blockspecials'}</a></h4> <div class="block_content"> {if $special} <ul class="products"> <li class="product_image"> <a href="{$special.link}"><img src="{$link->getImageLink($special.link_rewrite, $special.id_image, 'medium')}" alt="{$special.legend|escape:html:'UTF-8'}" height="{$mediumSize.height}" width="{$mediumSize.width}" title="{$special.name|escape:html:'UTF-8'}" /></a> </li> <li> <h5><a href="{$special.link}" title="{$special.name|escape:html:'UTF-8'}">{$special.name|escape:html:'UTF-8'}</a></h5> <span class="price-discount">{if !$priceDisplay}{displayWtPrice p=$special.price_without_reduction}{else}{displayWtPrice p=$priceWithoutReduction_tax_excl}{/if}</span> {if $special.specific_prices} {assign var='specific_prices' value=$special.specific_prices} {if $specific_prices.reduction_type == 'percentage' && ($specific_prices.from == $specific_prices.to OR ($smarty.now|date_format:'%Y-%m-%d %H:%M:%S' <= $specific_prices.to && $smarty.now|date_format:'%Y-%m-%d %H:%M:%S' >= $specific_prices.from))} <span class="reduction">(-{$specific_prices.reduction*100|floatval}%)</span> {/if} {/if} <span class="price">{if !$priceDisplay}{displayWtPrice p=$special.price}{else}{displayWtPrice p=$special.price_tax_exc}{/if}</span> </li> </ul> <p> <a href="{$link->getPageLink('prices-drop.php')}" title="{l s='All specials' mod='blockspecials'}" class="button_large">{l s='All specials' mod='blockspecials'}</a> </p> {else} <p>{l s='No specials at this time' mod='blockspecials'}</p> {/if} </div> </div> <!-- /MODULE Block specials --> la riga <span class="price">{if !$priceDisplay}{displayWtPrice p=$special.price}{else}{displayWtPrice p=$special.price_tax_exc}{/if}</span> visualizza il prezzo Scontato 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