Právě je 29 bře 2024 01:50

Všechny časy jsou v UTC + 1 hodina




Odeslat nové téma Odpovědět na téma  [ Příspěvků: 35 ]  Přejít na stránku 1, 2, 3, 4  Další
Autor Zpráva
 Předmět příspěvku: PrestaShop 1.5.3.1- odstranění "bez DPH" v objednávce
PříspěvekNapsal: 30 bře 2013 18:08 
Uživatelský avatar

Registrován:
17 dub 2011 20:36
Příspěvky:
54
Dobry den,

mam PS 1.5.3.1 a ve 4. kroku objednavky u vyberu dopravce se mi za castkou dopravy zobrazuje "(bez DPH)".

Nejsem platce DPH, takze to "bez DPH" potrebuji odstranit. V adminu mam v Lokalizace->Taxes-> možnosti daně nastaveno vse na "ne" a danova pravidla mam zakazana.

Chyba bude asi jen v te objednavce, protoze nikde jinde se mi "bez DPH" nezobrazuje.

Dekuji za radu, jak to odstranit.


Přílohy:
ps.jpg
ps.jpg [ 49.64 KiB | Zobrazeno 4855 krát ]
Nahoru
 Profil  
 
 Předmět příspěvku: Re: PrestaShop 1.5.3.1- zobrazuje se "bez DPH" - nejsem plátcem
PříspěvekNapsal: 30 bře 2013 19:13 
C4 podpora
C4 podpora

Registrován:
09 úno 2013 12:11
Příspěvky:
2413
Dobrý den,

v souboru themes/default/shopping-cart.tpl si smažte řádky

Kód:
<tr class="cart_total_price">
               <td colspan="5">{if $display_tax_label}{l s='Total products (tax excl.):'}{else}{l s='Total products:'}{/if}</td>
               <td colspan="2" class="price" id="total_product">{displayPrice price=$total_products}</td>
            </tr>

a změny uložte.

_________________
Filip Kučera
Webhosting C4
http://www.c4.cz/


Nahoru
 Profil  
 
 Předmět příspěvku: Re: PrestaShop 1.5.3.1- zobrazuje se "bez DPH" - nejsem plátcem
PříspěvekNapsal: 30 bře 2013 20:09 
Uživatelský avatar

Registrován:
17 dub 2011 20:36
Příspěvky:
54
Dekuji za pomoc, ale nepomohlo mi to. Po smazani radku, ktere pistete, se "bez DPH" zobrazuje stale, ale za to se mi objevil druhy dopravce, ktereho se mi predtim nepodarilo zobrazit.

Nenapadl by Vas jeste nejaky postup jak to DPH odstranit?

Zde vypisuji cely soubor shopping-cart.tpl

Kód:
{*
* 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 license@prestashop.com 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 <contact@prestashop.com>
*  @copyright  2007-2012 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}

{capture name=path}{l s='Your shopping cart'}{/capture}
{include file="$tpl_dir./breadcrumb.tpl"}

<h1 id="cart_title">{l s='Shopping cart summary'}</h1>

{if isset($account_created)}
   <p class="success">
      {l s='Your account has been created.'}
   </p>
{/if}
{assign var='current_step' value='summary'}
{include file="$tpl_dir./order-steps.tpl"}
{include file="$tpl_dir./errors.tpl"}

{if isset($empty)}
   <p class="warning">{l s='Your shopping cart is empty.'}</p>
{elseif $PS_CATALOG_MODE}
   <p class="warning">{l s='This store has not accepted your new order.'}</p>
{else}
   <script type="text/javascript">
   // <![CDATA[
   var currencySign = '{$currencySign|html_entity_decode:2:"UTF-8"}';
   var currencyRate = '{$currencyRate|floatval}';
   var currencyFormat = '{$currencyFormat|intval}';
   var currencyBlank = '{$currencyBlank|intval}';
   var txtProduct = "{l s='product' js=1}";
   var txtProducts = "{l s='products' js=1}";
   var deliveryAddress = {$cart->id_address_delivery|intval};
   // ]]>
   </script>
   <p style="display:none" id="emptyCartWarning" class="warning">{l s='Your shopping cart is empty.'}</p>
{if isset($lastProductAdded) AND $lastProductAdded}
   <div class="cart_last_product">
      <div class="cart_last_product_header">
         <div class="left">{l s='Last product added'}</div>
      </div>
      <a  class="cart_last_product_img" href="{$link->getProductLink($lastProductAdded.id_product, $lastProductAdded.link_rewrite, $lastProductAdded.category, null, null, $lastProductAdded.id_shop)|escape:'htmlall':'UTF-8'}"><img src="{$link->getImageLink($lastProductAdded.link_rewrite, $lastProductAdded.id_image, 'small_default')}" alt="{$lastProductAdded.name|escape:'htmlall':'UTF-8'}"/></a>
      <div class="cart_last_product_content">
         <p class="s_title_block"><a href="{$link->getProductLink($lastProductAdded.id_product, $lastProductAdded.link_rewrite, $lastProductAdded.category, null, null, null, $lastProductAdded.id_product_attribute)|escape:'htmlall':'UTF-8'}">{$lastProductAdded.name|escape:'htmlall':'UTF-8'}</a></p>
         {if isset($lastProductAdded.attributes) && $lastProductAdded.attributes}<a href="{$link->getProductLink($lastProductAdded.id_product, $lastProductAdded.link_rewrite, $lastProductAdded.category, null, null, null, $lastProductAdded.id_product_attribute)|escape:'htmlall':'UTF-8'}">{$lastProductAdded.attributes|escape:'htmlall':'UTF-8'}</a>{/if}
      </div>
      <br class="clear" />
   </div>
{/if}
<p>{l s='Your shopping cart contains:'} <span id="summary_products_quantity">{$productNumber} {if $productNumber == 1}{l s='product'}{else}{l s='products'}{/if}</span></p>
<div id="order-detail-content" class="table_block">
   <table id="cart_summary" class="std">
      <thead>
         <tr>
            <th class="cart_product first_item">{l s='Product'}</th>
            <th class="cart_description item">{l s='Description'}</th>
            <th class="cart_ref item">{l s='Ref.'}</th>
            <th class="cart_unit item">{l s='Unit price'}</th>
            <th class="cart_quantity item">{l s='Qty'}</th>
            <th class="cart_total item">{l s='Total'}</th>
            <th class="cart_delete last_item">&nbsp;</th>
         </tr>
      </thead>
      <tfoot>
      {if $use_taxes}
         {if $priceDisplay}
         {else}
            <tr class="cart_total_price">
               <td colspan="5">{if $display_tax_label}{l s='Total products (tax incl.):'}{else}{l s='Total products:'}{/if}</td>
               <td colspan="2" class="price" id="total_product">{displayPrice price=$total_products_wt}</td>
            </tr>
         {/if}
      {else}
         <tr class="cart_total_price">
            <td colspan="5">{l s='Total products:'}</td>
            <td colspan="2" class="price" id="total_product">{displayPrice price=$total_products}</td>
         </tr>
      {/if}
         <tr class="cart_total_voucher" {if $total_discounts == 0}style="display:none"{/if}>
            <td colspan="5">
            {if $use_taxes && $display_tax_label}
               {l s='Total vouchers (tax excl.):'}
            {else}
               {l s='Total vouchers:'}
            {/if}
            </td>
            <td colspan="2" class="price-discount price" id="total_discount">
            {if $use_taxes && !$priceDisplay}
               {assign var='total_discounts_negative' value=$total_discounts * -1}
            {else}
               {assign var='total_discounts_negative' value=$total_discounts_tax_exc * -1}
            {/if}
            {displayPrice price=$total_discounts_negative}
            </td>
         </tr>
         <tr class="cart_total_voucher" {if $total_wrapping == 0}style="display: none;"{/if}>
            <td colspan="5">
            {if $use_taxes}
               {if $display_tax_label}{l s='Total gift-wrapping (tax incl.):'}{else}{l s='Total gift-wrapping:'}{/if}
            {else}
               {l s='Total gift-wrapping:'}
            {/if}
            </td>
            <td colspan="2" class="price-discount price" id="total_wrapping">
            {if $use_taxes}
               {if $priceDisplay}
                  {displayPrice price=$total_wrapping_tax_exc}
               {else}
                  {displayPrice price=$total_wrapping}
               {/if}
            {else}
               {displayPrice price=$total_wrapping_tax_exc}
            {/if}
            </td>
         </tr>
         {if $total_shipping_tax_exc <= 0 && !isset($virtualCart)}
            <tr class="cart_total_delivery">
               <td colspan="5">{l s='Shipping:'}</td>
               <td colspan="2" class="price" id="total_shipping">{l s='Free Shipping!'}</td>
            </tr>
         {else}
            {if $use_taxes}
               {if $priceDisplay}
                  <tr class="cart_total_delivery" {if $total_shipping_tax_exc <= 0} style="display:none;"{/if}>
                     <td colspan="5">{if $display_tax_label}{l s='Total shipping (tax excl.):'}{else}{l s='Total shipping:'}{/if}</td>
                     <td colspan="2" class="price" id="total_shipping">{displayPrice price=$total_shipping_tax_exc}</td>
                  </tr>
               {else}
                  <tr class="cart_total_delivery"{if $total_shipping <= 0} style="display:none;"{/if}>
                     <td colspan="5">{if $display_tax_label}{l s='Total shipping (tax incl.):'}{else}{l s='Total shipping:'}{/if}</td>
                     <td colspan="2" class="price" id="total_shipping" >{displayPrice price=$total_shipping}</td>
                  </tr>
               {/if}
            {else}
               <tr class="cart_total_delivery"{if $total_shipping_tax_exc <= 0} style="display:none;"{/if}>
                  <td colspan="5">{l s='Total shipping:'}</td>
                  <td colspan="2" class="price" id="total_shipping" >{displayPrice price=$total_shipping_tax_exc}</td>
               </tr>
            {/if}
         {/if}
         {if $use_taxes}
         <tr class="cart_total_price">
            <td colspan="5">{l s='Total (tax excl.):'}</td>
            <td colspan="2" class="price" id="total_price_without_tax">{displayPrice price=$total_price_without_tax}</td>
         </tr>
         <tr class="cart_total_tax">
            <td colspan="5">{l s='Total tax:'}</td>
            <td colspan="2" class="price" id="total_tax">{displayPrice price=$total_tax}</td>
         </tr>
         {/if}
         <tr class="cart_total_price">
            <td colspan="5" id="cart_voucher" class="cart_voucher">
            {if $voucherAllowed}
               {if isset($errors_discount) && $errors_discount}
                  <ul class="error">
                  {foreach $errors_discount as $k=>$error}
                     <li>{$error|escape:'htmlall':'UTF-8'}</li>
                  {/foreach}
                  </ul>
               {/if}
               <form action="{if $opc}{$link->getPageLink('order-opc', true)}{else}{$link->getPageLink('order', true)}{/if}" method="post" id="voucher">
                  <fieldset>
                     <p class="title_block"><label for="discount_name">{l s='Vouchers'}</label></p>
                     <p>
                        <input type="text" class="discount_name" id="discount_name" name="discount_name" value="{if isset($discount_name) && $discount_name}{$discount_name}{/if}" />
                     </p>
                     <p class="submit"><input type="hidden" name="submitDiscount" /><input type="submit" name="submitAddDiscount" value="{l s='OK'}" class="button" /></p>
                  </fieldset>
               </form>
               {if $displayVouchers}
                  <p id="title" class="title_offers">{l s='Take advantage of our offers:'}</p>
                  <div id="display_cart_vouchers">
                  {foreach $displayVouchers as $voucher}
                     {if $voucher.code != ''}<span onclick="$('#discount_name').val('{$voucher.code}');return false;" class="voucher_name">{$voucher.code}</span> - {/if}{$voucher.name}<br />
                  {/foreach}
                  </div>
               {/if}
            {/if}
            </td>
            {if $use_taxes}
            <td colspan="2" class="price total_price_container" id="total_price_container">
               <p>{l s='Total:'}</p>
               <span id="total_price">{displayPrice price=$total_price}</span>
            </td>
            {else}
            <td colspan="2" class="price total_price_container" id="total_price_container">
               <p>{l s='Total:'}</p>
               <span id="total_price">{displayPrice price=$total_price_without_tax}</span>
            </td>
            {/if}
         </tr>
      </tfoot>
      <tbody>
      {foreach $products as $product}
         {assign var='productId' value=$product.id_product}
         {assign var='productAttributeId' value=$product.id_product_attribute}
         {assign var='quantityDisplayed' value=0}
         {assign var='odd' value=$product@iteration%2}
         {assign var='ignoreProductLast' value=isset($customizedDatas.$productId.$productAttributeId) || count($gift_products)}
         {* Display the product line *}
         {include file="./shopping-cart-product-line.tpl" productLast=$product@last productFirst=$product@first}
         {* Then the customized datas ones*}
         {if isset($customizedDatas.$productId.$productAttributeId)}
            {foreach $customizedDatas.$productId.$productAttributeId[$product.id_address_delivery] as $id_customization=>$customization}
               <tr id="product_{$product.id_product}_{$product.id_product_attribute}_{$id_customization}_{$product.id_address_delivery|intval}" class="product_customization_for_{$product.id_product}_{$product.id_product_attribute}_{$product.id_address_delivery|intval} {if $odd}odd{else}even{/if} customization alternate_item {if $product@last && $customization@last && !count($gift_products)}last_item{/if}">
                  <td></td>
                  <td colspan="3">
                     {foreach $customization.datas as $type => $custom_data}
                        {if $type == $CUSTOMIZE_FILE}
                           <div class="customizationUploaded">
                              <ul class="customizationUploaded">
                                 {foreach $custom_data as $picture}
                                    <li><img src="{$pic_dir}{$picture.value}_small" alt="" class="customizationUploaded" /></li>
                                 {/foreach}
                              </ul>
                           </div>
                        {elseif $type == $CUSTOMIZE_TEXTFIELD}
                           <ul class="typedText">
                              {foreach $custom_data as $textField}
                                 <li>
                                    {if $textField.name}
                                       {$textField.name}
                                    {else}
                                       {l s='Text #'}{$textField@index+1}
                                    {/if}
                                    {l s=':'} {$textField.value}
                                 </li>
                              {/foreach}
                              
                           </ul>
                        {/if}

                     {/foreach}
                  </td>
                  <td class="cart_quantity" colspan="2">
                     {if isset($cannotModify) AND $cannotModify == 1}
                        <span style="float:left">{if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)}{$customizedDatas.$productId.$productAttributeId|@count}{else}{$product.cart_quantity-$quantityDisplayed}{/if}</span>
                     {else}
                        <div class="cart_quantity_button">
                        <a rel="nofollow" class="cart_quantity_up" id="cart_quantity_up_{$product.id_product}_{$product.id_product_attribute}_{$id_customization}_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "add&amp;id_product={$product.id_product|intval}&amp;ipa={$product.id_product_attribute|intval}&amp;id_address_delivery={$product.id_address_delivery}&amp;id_customization={$id_customization}&amp;token={$token_cart}")}" title="{l s='Add'}"><img src="{$img_dir}icon/quantity_up.gif" alt="{l s='Add'}" width="14" height="9" /></a><br />
                        {if $product.minimal_quantity < ($customization.quantity -$quantityDisplayed) OR $product.minimal_quantity <= 1}
                        <a rel="nofollow" class="cart_quantity_down" id="cart_quantity_down_{$product.id_product}_{$product.id_product_attribute}_{$id_customization}_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "add&amp;id_product={$product.id_product|intval}&amp;ipa={$product.id_product_attribute|intval}&amp;id_address_delivery={$product.id_address_delivery}&amp;id_customization={$id_customization}&amp;op=down&amp;token={$token_cart}")}" title="{l s='Subtract'}">
                           <img src="{$img_dir}icon/quantity_down.gif" alt="{l s='Subtract'}" width="14" height="9" />
                        </a>
                        {else}
                        <a class="cart_quantity_down" style="opacity: 0.3;" id="cart_quantity_down_{$product.id_product}_{$product.id_product_attribute}_{$id_customization}" href="#" title="{l s='Subtract'}">
                           <img src="{$img_dir}icon/quantity_down.gif" alt="{l s='Subtract'}" width="14" height="9" />
                        </a>
                        {/if}
                        </div>
                        <input type="hidden" value="{$customization.quantity}" name="quantity_{$product.id_product}_{$product.id_product_attribute}_{$id_customization}_{$product.id_address_delivery|intval}_hidden"/>
                        <input size="2" type="text" value="{$customization.quantity}" class="cart_quantity_input" name="quantity_{$product.id_product}_{$product.id_product_attribute}_{$id_customization}_{$product.id_address_delivery|intval}"/>
                     {/if}
                  </td>
                  <td class="cart_delete">
                     {if isset($cannotModify) AND $cannotModify == 1}
                     {else}
                        <div>
                           <a rel="nofollow" class="cart_quantity_delete" id="{$product.id_product}_{$product.id_product_attribute}_{$id_customization}_{$product.id_address_delivery|intval}" href="{$link->getPageLink('cart', true, NULL, "delete&amp;id_product={$product.id_product|intval}&amp;ipa={$product.id_product_attribute|intval}&amp;id_customization={$id_customization}&amp;id_address_delivery={$product.id_address_delivery}&amp;token={$token_cart}")}">{l s='Delete'}</a>
                        </div>
                     {/if}
                  </td>
               </tr>
               {assign var='quantityDisplayed' value=$quantityDisplayed+$customization.quantity}
            {/foreach}
            {* If it exists also some uncustomized products *}
            {if $product.quantity-$quantityDisplayed > 0}{include file="./shopping-cart-product-line.tpl" productLast=$product@last productFirst=$product@first}{/if}
         {/if}
      {/foreach}
      {assign var='last_was_odd' value=$product@iteration%2}
      {foreach $gift_products as $product}
         {assign var='productId' value=$product.id_product}
         {assign var='productAttributeId' value=$product.id_product_attribute}
         {assign var='quantityDisplayed' value=0}
         {assign var='odd' value=($product@iteration+$last_was_odd)%2}
         {assign var='ignoreProductLast' value=isset($customizedDatas.$productId.$productAttributeId)}
         {assign var='cannotModify' value=1}
         {* Display the gift product line *}
         {include file="./shopping-cart-product-line.tpl" productLast=$product@last productFirst=$product@first}
      {/foreach}
      </tbody>
   {if sizeof($discounts)}
      <tbody>
      {foreach $discounts as $discount}
         <tr class="cart_discount {if $discount@last}last_item{elseif $discount@first}first_item{else}item{/if}" id="cart_discount_{$discount.id_discount}">
            <td class="cart_discount_name" colspan="3">{$discount.name}</td>
            <td class="cart_discount_price"><span class="price-discount">
               {if !$priceDisplay}{displayPrice price=$discount.value_real*-1}{else}{displayPrice price=$discount.value_tax_exc*-1}{/if}
            </span></td>
            <td class="cart_discount_delete">1</td>
            <td class="cart_discount_price">
               <span class="price-discount price">{if !$priceDisplay}{displayPrice price=$discount.value_real*-1}{else}{displayPrice price=$discount.value_tax_exc*-1}{/if}</span>
            </td>
            <td class="price_discount_del">
               {if strlen($discount.code)}<a href="{if $opc}{$link->getPageLink('order-opc', true)}{else}{$link->getPageLink('order', true)}{/if}?deleteDiscount={$discount.id_discount}" class="price_discount_delete" title="{l s='Delete'}">{l s='Delete'}</a>{/if}
            </td>
         </tr>
      {/foreach}
      </tbody>
   {/if}
   </table>
</div>

{if $show_option_allow_separate_package}
<p>
   <input type="checkbox" name="allow_seperated_package" id="allow_seperated_package" {if $cart->allow_seperated_package}checked="checked"{/if} />
   <label for="allow_seperated_package">{l s='Send the available products first'}</label>
</p>
{/if}
{if !$opc}
   {if Configuration::get('PS_ALLOW_MULTISHIPPING')}
      <p>
         <input type="checkbox" {if $multi_shipping}checked="checked"{/if} id="enable-multishipping" />
         <label for="enable-multishipping">{l s='I want to specify a delivery address for each individual product.'}</label>
      </p>
   {/if}
{/if}

<div id="HOOK_SHOPPING_CART">{$HOOK_SHOPPING_CART}</div>

{* Define the style if it doesn't exist in the PrestaShop version*}
{* Will be deleted for 1.5 version and more *}
{if !isset($addresses_style)}
   {$addresses_style.company = 'address_company'}
   {$addresses_style.vat_number = 'address_company'}
   {$addresses_style.firstname = 'address_name'}
   {$addresses_style.lastname = 'address_name'}
   {$addresses_style.address1 = 'address_address1'}
   {$addresses_style.address2 = 'address_address2'}
   {$addresses_style.city = 'address_city'}
   {$addresses_style.country = 'address_country'}
   {$addresses_style.phone = 'address_phone'}
   {$addresses_style.phone_mobile = 'address_phone_mobile'}
   {$addresses_style.alias = 'address_title'}
{/if}

{if ((!empty($delivery_option) AND !isset($virtualCart)) OR $delivery->id OR $invoice->id) AND !$opc}
<div class="order_delivery clearfix">
   {if !isset($formattedAddresses)}
   {if $delivery->id}
   <ul id="delivery_address" class="address item">
      <li class="address_title">{l s='Delivery address'}</li>
      {if $delivery->company}<li class="address_company">{$delivery->company|escape:'htmlall':'UTF-8'}</li>{/if}
      <li class="address_name">{$delivery->firstname|escape:'htmlall':'UTF-8'} {$delivery->lastname|escape:'htmlall':'UTF-8'}</li>
      <li class="address_address1">{$delivery->address1|escape:'htmlall':'UTF-8'}</li>
      {if $delivery->address2}<li class="address_address2">{$delivery->address2|escape:'htmlall':'UTF-8'}</li>{/if}
      <li class="address_city">{$delivery->postcode|escape:'htmlall':'UTF-8'} {$delivery->city|escape:'htmlall':'UTF-8'}</li>
      <li class="address_country">{$delivery->country|escape:'htmlall':'UTF-8'} {if $delivery_state}({$delivery_state|escape:'htmlall':'UTF-8'}){/if}</li>
   </ul>
   {/if}
   {if $invoice->id}
   <ul id="invoice_address" class="address alternate_item">
      <li class="address_title">{l s='Invoice address'}</li>
      {if $invoice->company}<li class="address_company">{$invoice->company|escape:'htmlall':'UTF-8'}</li>{/if}
      <li class="address_name">{$invoice->firstname|escape:'htmlall':'UTF-8'} {$invoice->lastname|escape:'htmlall':'UTF-8'}</li>
      <li class="address_address1">{$invoice->address1|escape:'htmlall':'UTF-8'}</li>
      {if $invoice->address2}<li class="address_address2">{$invoice->address2|escape:'htmlall':'UTF-8'}</li>{/if}
      <li class="address_city">{$invoice->postcode|escape:'htmlall':'UTF-8'} {$invoice->city|escape:'htmlall':'UTF-8'}</li>
      <li class="address_country">{$invoice->country|escape:'htmlall':'UTF-8'} {if $invoice_state}({$invoice_state|escape:'htmlall':'UTF-8'}){/if}</li>
   </ul>
   {/if}
   {else}
      {foreach $formattedAddresses as $address}
         <ul class="address {if $address@last}last_item{elseif $address@first}first_item{/if} {if $address@index % 2}alternate_item{else}item{/if}">
            <li class="address_title">{$address.object.alias}</li>
            {foreach $address.ordered as $pattern}
               {assign var=addressKey value=" "|explode:$pattern}
               <li>
               {foreach $addressKey as $key}
                  <span class="{if isset($addresses_style[$key])}{$addresses_style[$key]}{/if}">
                     {if isset($address.formated[$key])}
                        {$address.formated[$key]|escape:'htmlall':'UTF-8'}
                     {/if}
                  </span>
               {/foreach}
               </li>
            {/foreach}
            </ul>
      {/foreach}
      <p class="clear" />
   {/if}
</div>
{/if}
<p class="cart_navigation">
   {if !$opc}
      <a href="{if $back}{$link->getPageLink('order', true, NULL, 'step=1&amp;back={$back}')}{else}{$link->getPageLink('order', true, NULL, 'step=1')}{/if}" class="exclusive standard-checkout" title="{l s='Next'}">{l s='Next'} &raquo;</a>
      {if Configuration::get('PS_ALLOW_MULTISHIPPING')}
         <a href="{if $back}{$link->getPageLink('order', true, NULL, 'step=1&amp;back={$back}')}{else}{$link->getPageLink('order', true, NULL, 'step=1')}{/if}&amp;multi-shipping=1" class="multishipping-button multishipping-checkout exclusive" title="{l s='Next'}">{l s='Next'} &raquo;</a>
      {/if}
   {/if}
   <a href="{if (isset($smarty.server.HTTP_REFERER) && strstr($smarty.server.HTTP_REFERER, 'order.php')) || isset($smarty.server.HTTP_REFERER) && strstr($smarty.server.HTTP_REFERER, 'order-opc') || !isset($smarty.server.HTTP_REFERER)}{$link->getPageLink('index')}{else}{$smarty.server.HTTP_REFERER|escape:'htmlall':'UTF-8'|secureReferrer}{/if}" class="button_large" title="{l s='Continue shopping'}">&laquo; {l s='Continue shopping'}</a>
</p>
   {if !empty($HOOK_SHOPPING_CART_EXTRA)}
      <div class="clear"></div>
      <div class="cart_navigation_extra">
         <div id="HOOK_SHOPPING_CART_EXTRA">{$HOOK_SHOPPING_CART_EXTRA}</div>
      </div>
   {/if}
{/if}



Nahoru
 Profil  
 
 Předmět příspěvku: Re: PrestaShop 1.5.3.1- zobrazuje se "bez DPH" - nejsem plátcem
PříspěvekNapsal: 30 bře 2013 20:46 
Uživatelský avatar

Registrován:
17 dub 2011 20:36
Příspěvky:
54
Bohuze ani toto nepomohlo :-(


Nahoru
 Profil  
 
 Předmět příspěvku: Re: PrestaShop 1.5.3.1- zobrazuje se "bez DPH" - nejsem plátcem
PříspěvekNapsal: 30 bře 2013 21:27 
Uživatelský avatar

Registrován:
17 dub 2011 20:36
Příspěvky:
54
Dekuji za snahu, ale takto to mam nastavene od zacatku...


Nahoru
 Profil  
 
 Předmět příspěvku: Re: PrestaShop 1.5.3.1- zobrazuje se "bez DPH" - nejsem plátcem
PříspěvekNapsal: 30 bře 2013 21:43 
C4 podpora
C4 podpora

Registrován:
09 úno 2013 12:11
Příspěvky:
2413
Dobrý den,

pokud vše máte nastaveno správně i v administraci, tak jděte do /themes/default/order-carrier.tpl a celý soubor nahraďte

Kód:
{*
* 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 license@prestashop.com 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 <contact@prestashop.com>
*  @copyright  2007-2012 PrestaShop SA
*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
*  International Registered Trademark & Property of PrestaShop SA
*}
{if !$opc}
   <script type="text/javascript">
   //<![CDATA[
      var orderProcess = 'order';
   var currencySign = '{$currencySign|html_entity_decode:2:"UTF-8"}';
   var currencyRate = '{$currencyRate|floatval}';
   var currencyFormat = '{$currencyFormat|intval}';
   var currencyBlank = '{$currencyBlank|intval}';
   var txtProduct = "{l s='product' js=1}";
   var txtProducts = "{l s='products' js=1}";
   var orderUrl = '{$link->getPageLink("order", true)}';

   var msg = "{l s='You must agree to the terms of service before continuing.' js=1}";
   {literal}
   function acceptCGV()
   {
      if ($('#cgv').length && !$('input#cgv:checked').length)
      {
         alert(msg);
         return false;
      }
      else
         return true;
   }
   {/literal}
   //]]>
   </script>
{else}
   <script type="text/javascript">
      var txtFree = "{l s='Free!'}";
   </script>
{/if}

{if isset($virtual_cart) && !$virtual_cart && $giftAllowed && $cart->gift == 1}
<script type="text/javascript">
{literal}
// <![CDATA[
   $('document').ready( function(){
      if ($('input#gift').is(':checked'))
         $('p#gift_div').show();
   });
//]]>
{/literal}
</script>
{/if}

{if !$opc}
   {capture name=path}{l s='Shipping'}{/capture}
   {include file="$tpl_dir./breadcrumb.tpl"}
{/if}

{if !$opc}
   <div id="carrier_area">
{else}
   <div id="carrier_area" class="opc-main-block">
{/if}

{if !$opc}
   <h1>{l s='Shipping'}</h1>
{else}
   <h2><span>2</span> {l s='Delivery methods'}</h2>
{/if}

{if !$opc}
   {assign var='current_step' value='shipping'}
   {include file="$tpl_dir./order-steps.tpl"}
   
   {include file="$tpl_dir./errors.tpl"}
   
   <form id="form" action="{$link->getPageLink('order', true, NULL, "multi-shipping={$multi_shipping}")}" method="post" onsubmit="return acceptCGV();">
{else}
   <div id="opc_delivery_methods" class="opc-main-block">
   <div id="opc_delivery_methods-overlay" class="opc-overlay" style="display: none;"></div>
{/if}

<div class="order_carrier_content">

{if isset($virtual_cart) && $virtual_cart}
   <input id="input_virtual_carrier" class="hidden" type="hidden" name="id_carrier" value="0" />
{else}
   <h3 class="carrier_title">{l s='Choose your delivery method'}</h3>
   
   <div id="HOOK_BEFORECARRIER">
      {if isset($carriers) && isset($HOOK_BEFORECARRIER)}
         {$HOOK_BEFORECARRIER}
      {/if}
   </div>
   {if isset($isVirtualCart) && $isVirtualCart}
      <p class="warning">{l s='No carrier needed for this order'}</p>
   {else}
      {if $recyclablePackAllowed}
         <p class="checkbox">
            <input type="checkbox" name="recyclable" id="recyclable" value="1" {if $recyclable == 1}checked="checked"{/if} />
            <label for="recyclable">{l s='I agree to receive my order in recycled packaging'}.</label>
         </p>
      {/if}
   <div class="delivery_options_address">
   {if isset($delivery_option_list)}
      {foreach $delivery_option_list as $id_address => $option_list}
         <h3>
            {if isset($address_collection[$id_address])}
               {l s='Choose a shipping option for this address:'} {$address_collection[$id_address]->alias}
            {else}
               {l s='Choose a shipping option'}
            {/if}
         </h3>
         <div class="delivery_options">
         {foreach $option_list as $key => $option}
            <div class="delivery_option {if ($option@index % 2)}alternate_{/if}item">
               <input class="delivery_option_radio" type="radio" name="delivery_option[{$id_address}]" onchange="{if $opc}updateCarrierSelectionAndGift();{else}updateExtraCarrier('{$key}', {$id_address});{/if}" id="delivery_option_{$id_address}_{$option@index}" value="{$key}" {if isset($delivery_option[$id_address]) && $delivery_option[$id_address] == $key}checked="checked"{/if} />
               <label for="delivery_option_{$id_address}_{$option@index}">
                  <table class="resume">
                     <tr>
                        <td class="delivery_option_logo">
                           {foreach $option.carrier_list as $carrier}
                              {if $carrier.logo}
                                 <img src="{$carrier.logo}" alt="{$carrier.instance->name}"/>
                              {else if !$option.unique_carrier}
                                 {$carrier.instance->name}
                                 {if !$carrier@last} - {/if}
                              {/if}
                           {/foreach}
                        </td>
                        <td>
                        {if $option.unique_carrier}
                           {foreach $option.carrier_list as $carrier}
                              <div class="delivery_option_title">{$carrier.instance->name}</div>
                           {/foreach}
                           {if isset($carrier.instance->delay[$cookie->id_lang])}
                              <div class="delivery_option_delay">{$carrier.instance->delay[$cookie->id_lang]}</div>
                           {/if}
                        {/if}
                        {if count($option_list) > 1}
                           {if $option.is_best_grade}
                              {if $option.is_best_price}
                              <div class="delivery_option_best delivery_option_icon">{l s='The best price and speed'}</div>
                              {else}
                              <div class="delivery_option_fast delivery_option_icon">{l s='The fastest'}</div>
                              {/if}
                           {else}
                              {if $option.is_best_price}
                              <div class="delivery_option_best_price delivery_option_icon">{l s='The best price'}</div>
                              {/if}
                           {/if}
                        {/if}
                        </td>
                        <td>
                        <div class="delivery_option_price">
                           {if $option.total_price_with_tax && !$free_shipping}
                              {if $use_taxes == 1}
                                 {convertPrice price=$option.total_price_with_tax} {""}
                              {else}
                                 {convertPrice price=$option.total_price_without_tax} {""}
                              {/if}
                           {else}
                              {l s='Free!'}
                           {/if}
                        </div>
                        </td>
                     </tr>
                  </table>
                  <table class="delivery_option_carrier {if isset($delivery_option[$id_address]) && $delivery_option[$id_address] == $key}selected{/if} {if $option.unique_carrier}not-displayable{/if}">
                     {foreach $option.carrier_list as $carrier}
                     <tr>
                        {if !$option.unique_carrier}
                        <td class="first_item">
                        <input type="hidden" value="{$carrier.instance->id}" name="id_carrier" />
                           {if $carrier.logo}
                              <img src="{$carrier.logo}" alt="{$carrier.instance->name}"/>
                           {/if}
                        </td>
                        <td>
                           {$carrier.instance->name}
                        </td>
                        {/if}
                        <td {if $option.unique_carrier}class="first_item" colspan="2"{/if}>
                           <input type="hidden" value="{$carrier.instance->id}" name="id_carrier" />
                           {if isset($carrier.instance->delay[$cookie->id_lang])}
                              {$carrier.instance->delay[$cookie->id_lang]}<br />
                              {if count($carrier.product_list) <= 1}
                                 ({l s='product concerned:'}
                              {else}
                                 ({l s='products concerned:'}
                              {/if}
                              {* This foreach is on one line, to avoid tabulation in the title attribute of the acronym *}
                              {foreach $carrier.product_list as $product}
                              {if $product@index == 4}<acronym title="{/if}{if $product@index >= 4}{$product.name}{if !$product@last}, {else}">...</acronym>){/if}{else}{$product.name}{if !$product@last}, {else}){/if}{/if}{/foreach}
                           {/if}
                        </td>
                     </tr>
                  {/foreach}
                  </table>
               </label>
            </div>
         {/foreach}
         </div>
         <div class="hook_extracarrier" id="HOOK_EXTRACARRIER_{$id_address}">{if isset($HOOK_EXTRACARRIER_ADDR) &&  isset($HOOK_EXTRACARRIER_ADDR.$id_address)}{$HOOK_EXTRACARRIER_ADDR.$id_address}{/if}</div>
         {foreachelse}
         <p class="warning" id="noCarrierWarning">
            {foreach $cart->getDeliveryAddressesWithoutCarriers(true) as $address}
               {if empty($address->alias)}
                  {l s='No carriers available.'}
               {else}
                  {l s='No carriers available for the address "%s".' sprintf=$address->alias}
               {/if}
               {if !$address@last}
               <br />
               {/if}
            {/foreach}
         </p>
      {/foreach}
   {/if}
   
   </div>
   <div style="display: none;" id="extra_carrier"></div>
   
      {if $giftAllowed}
      <h3 class="gift_title">{l s='Gift'}</h3>
      <p class="checkbox">
         <input type="checkbox" name="gift" id="gift" value="1" {if $cart->gift == 1}checked="checked"{/if} />
         <label for="gift">{l s='I would like my order to be gift-wrapped.'}</label>
         <br />
         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
         {if $gift_wrapping_price > 0}
            ({l s='Additional cost of'}
            <span class="price" id="gift-price">
               {if $priceDisplay == 1}{convertPrice price=$total_wrapping_tax_exc_cost}{else}{convertPrice price=$total_wrapping_cost}{/if}
            </span>
            {if $use_taxes}{if $priceDisplay == 1} {l s='(tax excl.)'}{else} {l s='(tax incl.)'}{/if}{/if})
         {/if}
      </p>
      <p id="gift_div" class="textarea">
         <label for="gift_message">{l s='If you wish, you can add a note to the gift:'}</label>
         <textarea rows="5" cols="35" id="gift_message" name="gift_message">{$cart->gift_message|escape:'htmlall':'UTF-8'}</textarea>
      </p>
      {/if}
   {/if}
{/if}

{if $conditions AND $cms_id}
   <h3 class="condition_title">{l s='Terms of service'}</h3>
   <p class="checkbox">
      <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="checked"{/if} />
      <label for="cgv">{l s='I agree to the Terms of Service and will adhere to them unconditionally.'}</label> <a href="{$link_conditions}" class="iframe">{l s='(Read Terms of Service)'}</a>
   </p>
   <script type="text/javascript">$('a.iframe').fancybox();</script>
{/if}
</div>

{if !$opc}
   <p class="cart_navigation submit">
      <input type="hidden" name="step" value="3" />
      <input type="hidden" name="back" value="{$back}" />
      {if !$is_guest}
         {if $back}
            <a href="{$link->getPageLink('order', true, NULL, "step=1&back={$back}&multi-shipping={$multi_shipping}")}" title="{l s='Previous'}" class="button">&laquo; {l s='Previous'}</a>
         {else}
            <a href="{$link->getPageLink('order', true, NULL, "step=1&multi-shipping={$multi_shipping}")}" title="{l s='Previous'}" class="button">&laquo; {l s='Previous'}</a>
         {/if}
      {else}
            <a href="{$link->getPageLink('order', true, NULL, "multi-shipping={$multi_shipping}")}" title="{l s='Previous'}" class="button">&laquo; {l s='Previous'}</a>
      {/if}
      {if isset($virtual_cart) && $virtual_cart || (isset($delivery_option_list) && !empty($delivery_option_list))}
         <input type="submit" name="processCarrier" value="{l s='Next'} &raquo;" class="exclusive" />
      {/if}
   </p>
</form>
{else}
   <h3>{l s='Leave a message'}</h3>
   <div>
      <p>{l s='If you would like to add a comment about your order, please write it below.'}</p>
      <p><textarea cols="120" rows="3" name="message" id="message">{if isset($oldMessage)}{$oldMessage}{/if}</textarea></p>
   </div>
</div>
{/if}
</div>
.

_________________
Filip Kučera
Webhosting C4
http://www.c4.cz/


Nahoru
 Profil  
 
 Předmět příspěvku: Re: PrestaShop 1.5.3.1- odstranění "bez DPH" v objednávce
PříspěvekNapsal: 30 bře 2013 21:59 
Uživatelský avatar

Registrován:
17 dub 2011 20:36
Příspěvky:
54
Skvele, funguje to. Mockrat dekuji!


Nahoru
 Profil  
 
 Předmět příspěvku: Re: PrestaShop 1.5.3.1- odstranění "bez DPH" v objednávce
PříspěvekNapsal: 10 dub 2013 14:19 

Registrován:
10 dub 2013 12:25
Příspěvky:
10
dobry den, mela bych podobny dotaz. jelikoz se mi v kosiku spatne zobrazuji ceny u jednotlivych radku tak bych si to rada upravila viz foto. poradite mi prosim?


Přílohy:
kosik_smazat dph a nektere radkz.JPG
kosik_smazat dph a nektere radkz.JPG [ 30.5 KiB | Zobrazeno 4770 krát ]
Nahoru
 Profil  
 
 Předmět příspěvku: Re: PrestaShop 1.5.3.1- odstranění "bez DPH" v objednávce
PříspěvekNapsal: 10 dub 2013 15:12 
C4 podpora
C4 podpora

Registrován:
09 úno 2013 12:11
Příspěvky:
2413
Dobrý den,

pokud chcete tyto řádky smazat, tak na Vašem FTP si v souboru themes/default/shopping-cart.tpl smažte řádky

Kód:
<tr class="cart_total_delivery"{if $total_shipping_tax_exc <= 0} style="display:none;"{/if}>
                  <td colspan="5">{l s='Total shipping:'}</td>
                  <td colspan="2" class="price" id="total_shipping" >{displayPrice price=$total_shipping_tax_exc}</td>
               </tr>


a

Kód:
<tr class="cart_total_price">
            <td colspan="5">{l s='Total (tax excl.):'}</td>
            <td colspan="2" class="price" id="total_price_without_tax">{displayPrice price=$total_price_without_tax}</td>
         </tr>
         <tr class="cart_total_tax">
            <td colspan="5">{l s='Total tax:'}</td>
            <td colspan="2" class="price" id="total_tax">{displayPrice price=$total_tax}</td>
         </tr>
.

Po odstranění těchto řádků by se v košíku již neměly informace zobrazovat, v objednávce zůstane jen Celkem za zboží.

Pokud chcete přidat do závorky 21% DPH, tak si ve stejném souboru změňte řádky

Kód:
<tr class="cart_total_price">
               <td colspan="5">{if $display_tax_label}{l s='Total products (tax incl.):'}{else}{l s='Total products:'}{/if}</td>
               <td colspan="2" class="price" id="total_product">{displayPrice price=$total_products_wt}</td>
            </tr>



na

Kód:
<tr class="cart_total_price">
               <td colspan="5">{if $display_tax_label}{l s='Celkem za zboží  (s DPH 21%):'}{else}{l s='Total products:'}{/if}</td>
               <td colspan="2" class="price" id="total_product">{displayPrice price=$total_products_wt}</td>
            </tr>

_________________
Filip Kučera
Webhosting C4
http://www.c4.cz/


Nahoru
 Profil  
 
 Předmět příspěvku: Re: PrestaShop 1.5.3.1- odstranění "bez DPH" v objednávce
PříspěvekNapsal: 10 dub 2013 15:50 

Registrován:
10 dub 2013 12:25
Příspěvky:
10
dekuji za pomoc,uz tam jsou jen radky ktere chci. je mozne tam jeste doplnit tech 21% a u poštovneho smazat dph?


Nahoru
 Profil  
 
Zobrazit příspěvky za předchozí:  Seřadit podle  
Odeslat nové téma Odpovědět na téma  [ Příspěvků: 35 ]  Přejít na stránku 1, 2, 3, 4  Další

Všechny časy jsou v UTC + 1 hodina


Kdo je online

Uživatelé procházející toto fórum: Žádní registrovaní uživatelé a 0 návštevníků


Nemůžete zakládat nová témata v tomto fóru
Nemůžete odpovídat v tomto fóru
Nemůžete upravovat své příspěvky v tomto fóru
Nemůžete mazat své příspěvky v tomto fóru
Nemůžete přikládat soubory v tomto fóru

Hledat:
Přejít na:  
cron
FTP Uploader
Staňte se naším zákazníkem!
Hledáme kolegy
PrestaShop partneři

Seznam všech partnerů

PrestaShop Hosting
Návody pro C4

© 2009-2024 ČESKÝ WEBHOSTING s.r.o. Kontaktní e-mail: forum@c4.cz
Diskuzní fórum využívá technologie: phpBB, phpBB-SEO.com, phpBB.cz