Jump to content

goatee2905

Members
  • Posts

    9
  • Joined

  • Last visited

goatee2905's Achievements

Newbie

Newbie (1/14)

3

Reputation

  1. I need to have prices & VAT calculation with decimals in invoice. Is there any option to have prices without decimals in front office at the same time? I had an idea, to set decimals generally on and hide the strings ",00" in product.tpl, product-list.tpl etc. As I have all prices with 3 digits, I tried it by using |truncate:4:' €' but it doesn't work. Can anybode help me with this?
  2. This module is really great, thanks to this I saved a lot of money for custom modifications. I use the module for selling blinds, as the price is based on square meters and affected by many special attributes. The support is perfect, I became quick response even at night. Recommended for everyone who's looking for price calculation by item length, width, etc.
  3. Já mám čistou novou instalaci 1.5.3 a to je pro mě tedy velký problém. Tak doufám, že se brzo objeví upgrade, budu za něj moc vděčný. PRESTAHOST.CZ právě vydali novou verzi pro 1.5.3 (už jsem to otestoval). DÍKY MOC :-) http://prestahost.eu/prestashop-modules/cs/21-dobirka.html
  4. I fixed it by editing blockcart-json.tpl in modules/blockcart in PS 1.5.2: Change line 38 to this: "name": "{$product.name|truncate:15:'...'|escape:html:'UTF-8'}",
  5. I spent a lot of time looking for solution, why there is no list of purchased products in new order email, sent by module mailalerts - it shows only {products} (Prestashop 1.4.7) I found how to fix it, so maybe this can help someone: The problem is obviously in old template /modules/mailalerts/mails/en/new_order.html. I replaced it with a new one from Mail alert module 2.3 (found here in forum). It fixes wrong format of the email too. Just copy it into /modules/mailalerts/mails/ subdirectory with your language and translate it. new_order.html
  6. You find it in BO > Tools > Translations > ERROR TRANSLATIONS.
  7. Dobrý den, Prestu 1.3.7 používám jen jako katalog zboží s cenami. Chtěl bych, aby se u zboží, které má cenu 0 Kč, zobrazoval místo ceny údaj "CENA NA DOTAZ". U výpisu zboží (product-list.tpl) se mi to povedlo takto: {if $product.price == 0} <tr> <td style="height: 50px"> <div><span class="price" style="display: inline;">Cena na dotaz</span></div> </td> </tr> {else} <tr> <td style="height: 50px"> {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}</td> </tr> {/if} Ale nevím si rady u product.tpl. Zkouším postupovat stejně, ale skončí to tím, že je zbytek stránky od ceny totálně rozhozený. Protože nejsem v PHP zběhlý, prosím o radu. Část souboru product.tpl: <!-- PRICES --> <p class="price" style="text-align: center"> {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 style="color: #646464"> {if !$priceDisplay || $priceDisplay == 2} <span style="color: #d53f43; display: block; font-size: 17px;">{convertPrice price=$product->getPrice(true, $smarty.const.NULL, 2)}</span> {l s='včetně DPH'} {/if} {if $priceDisplay == 1} <span class="price" style="display: inline;">{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> {/if} {if $priceDisplay == 1} <span id="old_price_display">{convertPrice price=$product->getPriceWithoutReduct(true)}</span> {/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}
×
×
  • Create New...

Important Information

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