With 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.
So 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.
Hat super funktioniert! Thank you very much! Ich habe Magento 1.7.0.2
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.
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 🙁
One can “so easy to correct” of course if the file is overwritten later with a, the back contains the error, it would be again in the problem. Best time https://github.com/firegento/firegento-germansetup keep in mind.
Thank you!