Magento – German Setup “plus. %s WST., plus. Shipping”

PictureWith the latest version (1.2.3) of German Setup Magento comes a small problem for all store operators, have a shop, the prices in the frontend plus tax and shipping indicating. Behind the price is only

Plus. %s WST., plus. Shipping

The price information comes from the price_info.phtml which is / German setup in the folder app / design / frontend / base / default / template to find. This changed a little from the previous version to this. In the latest version the problem was not yet available.

A quick and easy way to solve the problem, is the old price_info.phtml to use.

The new version contains the following code:

<?php $shippingCostUrl = Mage::helper( 'German setup' )->getShippingCostUrl() ?>
<?php if( !empty( $shippingCostUrl ) && $this->getIsShowShippingLink() ): ?>
    <?php if( $this->getIsIncludingTax() == Mage_Tax_Model_Config::DISPLAY_TYPE_EXCLUDING_TAX ): ?>
        <?php if( $this->getIsIncludingShippingCosts() ): ?>
            <span class="tax-details"><?php echo $this->__( 'Excl. %s Tax', $this->getFormattedTaxRate() ) ?><span class="tax-separator">, </span><span class="shipping-cost-details"><?php echo $this->__( 'incl. <a href="%s">Shipping Cost</a>', $shippingCostUrl ) ?></span>
        <?php else: ?>
            <span class="tax-details"><?php echo $this->__( 'Excl. %s Tax' ) ?><span class="tax-separator">, </span><span class="shipping-cost-details"><?php echo $this->__( 'excl. <a href="%s">Shipping Cost</a>', $shippingCostUrl ) ?></span>
        <?php endif ?>
    <?php elseif( $this->getIsIncludingTax() == Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX ): ?>
        <?php if( $this->getIsIncludingShippingCosts() ): ?>
            <span class="tax-details"><?php echo $this->__( 'Incl. %s Tax', $this->getFormattedTaxRate() ) ?><span class="tax-separator">, </span><span class="shipping-cost-details"><?php echo $this->__( 'incl. <a href="%s">Shipping Cost</a>', $shippingCostUrl ) ?></span>
        <?php else: ?>
            <span class="tax-details"><?php echo $this->__( 'Incl. %s Tax', $this->getFormattedTaxRate() ) ?><span class="tax-separator">, </span><span class="shipping-cost-details"><?php echo $this->__( 'excl. <a href="%s">Shipping Cost</a>', $shippingCostUrl ) ?></span>
        <?php endif ?>
    <?php elseif( $this->getIsIncludingTax() == Mage_Tax_Model_Config::DISPLAY_TYPE_BOTH ): ?>
        <?php if( $this->getIsIncludingShippingCosts() ): ?>
            <span class="tax-details"><?php echo $this->__('incl. <a href="%s">Shipping Cost</a>', $shippingCostUrl) ?></span>
        <?php else: ?>
            <span class="tax-details"><?php echo $this->__('excl. <a href="%s">Shipping Cost</a>', $shippingCostUrl) ?></span>
        <?php endif ?>
    <?php endif ?>
    <?php if ($this->getIsShowWeightInfo()): ?>
        (<?php echo $this->__('Shipping Weight %s', $this->getFormattedWeight()) ?>)
    <?php endif ?>
<?php else: ?>
    <?php if( $this->getIsIncludingTax() == Mage_Tax_Model_Config::DISPLAY_TYPE_EXCLUDING_TAX ): ?>
		<span class="tax-details"><?php echo $this->__( 'Excl. %s Tax', $this->getFormattedTaxRate() ) ?></span>
    <?php elseif( $this->getIsIncludingTax() == Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX ): ?>
		<span class="tax-details"><?php echo $this->__( 'Incl. %s Tax', $this->getFormattedTaxRate() ) ?></span>
    <?php endif ?>
<?php endif ?>

The old version of this:

<?php $shippingCostUrl = Mage::helper('German setup')->getShippingCostUrl() ?>
<?php if (!empty($shippingCostUrl) && $this->getIsShowShippingLink()): ?>
	<?php if ($this->getIsIncludingTax() == Mage_Tax_Model_Config::DISPLAY_TYPE_EXCLUDING_TAX): ?>
	    <?php if ($this->getIsIncludingShippingCosts()): ?>
    	    <span class="tax-details"><?php echo $this->__('Excl. %s Tax, incl. <a href="%s">Shipping Cost</a>', $this->getFormattedTaxRate(), $shippingCostUrl) ?></span>
        <?php else: ?>
            <span class="tax-details"><?php echo $this->__('Excl. %s Tax, excl. <a href="%s">Shipping Cost</a>', $this->getFormattedTaxRate(), $shippingCostUrl) ?></span>
        <?php endif ?>
	<?php elseif ($this->getIsIncludingTax() == Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX): ?>
        <?php if ($this->getIsIncludingShippingCosts()): ?>
    	    <span class="tax-details"><?php echo $this->__('Incl. %s Tax, incl. <a href="%s">Shipping Cost</a>', $this->getFormattedTaxRate(), $shippingCostUrl) ?></span>
        <?php else: ?>
    	    <span class="tax-details"><?php echo $this->__('Incl. %s Tax, excl. <a href="%s">Shipping Cost</a>', $this->getFormattedTaxRate(), $shippingCostUrl) ?></span>
        <?php endif ?>
	<?php endif ?>
<?php else: ?>
	<?php if ($this->getIsIncludingTax() == Mage_Tax_Model_Config::DISPLAY_TYPE_EXCLUDING_TAX): ?>
    	<span class="tax-details"><?php echo $this->__('Excl. %s Tax', $this->getFormattedTaxRate()) ?></span>
    <?php elseif ($this->getIsIncludingTax() == Mage_Tax_Model_Config::DISPLAY_TYPE_INCLUDING_TAX): ?>
    	<span class="tax-details"><?php echo $this->__('Incl. %s Tax', $this->getFormattedTaxRate()) ?></span>
    <?php endif ?>
<?php endif ?>

In direct comparison, one can see, that seems a nicer differentiation of tax and shipping costs should be sought. In the old version were both still called together:

Excl.. %s Tax, incl. <a href="%s">Shipping Cost</a>

in the new version they are separated.

PictureSo you take the old version, nor must the German locale might best be adapted and the FireGento_GermanSetup.csv to the line

"Excl.. %s Tax, excl. <a href=""%s"">Shipping Cost</a>","plus. %s WST., plus. <a href=""%s"">Shipping</a>"

Then it works to update FireGento.

Used in Magento Version 1.7. Ask, Comments, Proposals? Us directly or as a comment.

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

5 comments on “Magento – German Setup “plus. %s WST., plus. Shipping””

  1. The error is in the 5. Line of the file:
    from
    __( 'Excl. %s Tax' ) ?>, __( 'excl. Shipping Cost', $shippingCostUrl ) ?>
    should
    __( 'Excl. %s Tax', $this->getFormattedTaxRate() ) ?>, __( 'excl. Shipping Cost', $shippingCostUrl ) ?>
    will.

  2. How it looks from the after update, you can simply change the file so? If the error for several months is known why not correct the guys and bring an update to I do not understand 🙁

Leave a Reply

Your email address will not be published. Required fields are marked *