Standardmäßig wird Magento den Preis ohne die Steuer- und Versandinformation anzeigen. Es fehlt also z.B. “including. 19% VAT. plus. Shipping”.
Dies kann man einfach hinzufügen indem man z.B. Market Ready Germany oder ähnliche für den deutschen Markt erstellte Anpassungen in seinen Magento Shop einspielt.
Natürlich kann man dies aber auch auf anderem Wege lösen, um sich nicht Dinge zu installieren, die man evtl. gar nicht haben will.
Eine nette Möglichkeit wäre die nachfolgende. It consists of the Info “including. [Artikelsteuerklasse-Name], plus. [Link zu] Shipping”.
Um dies z.B. für die Atikeldetail-Seite einzupflegen, kopiert man sich die view.phtml aus dem Standard-Template-Ordner (e.g.. bei RWD app/design/frontend/rwd/default/template/catalog/product) in sein eigenes Template und fügt folgenden Teil z.B. under
<div class ="price-info"> <?php echo $this->getPriceHtml($_product); ?> <?php echo $this->getChildHtml('bundle_prices') ?> <?php echo $this->getTierPriceHtml() ?>
a:
<div class ="tax-info"> <?php $taxClassId = $_product->getTaxClassId(); $taxClass = Mage::getModel('tax/class')->load($taxClassId); echo 'VAT. '.$taxClass->getClassName().'plus. <a href="'.$this->getUrl('shipping').'">Shipping</a>'; ?> </div>
Hiermit wird dann der Name der jeweiligen -dem Produkt zugeordneten- Artikelsteuerklasse (can be contacted at sales > Tax > Article tax brackets and there then just the class “19% Tax” call) and the link to the shipping info displayed.
You could adjust wiefolgt but also, it then looks:
<div class ="price-info"> <?php echo $this->getPriceHtml($_product); ?> <?php echo $this->getChildHtml('bundle_prices') ?> <?php echo $this->getTierPriceHtml() ?> <span class="price-including-tax"> <?php $taxClassId = $_product->getTaxClassId(); $taxClass = Mage::getModel('tax/class')->load($taxClassId); echo 'VAT. '.$taxClass->getClassName().'plus. <a href="'.$this->getUrl('shipping').'">Shipping</a>'; ?> </span> </div>
Then it adjusts the RWD Theme partially better a.
This is certainly not the finest way (one could make the text even translatable) but it is fine enough, not to be indelicate 🙂
Addendum dated 15.02.2017
If you want to have this info in the category,, Here we use the list.phtml from the o.g. Directory. There is then copied
<span class="price-including-tax"> <?php $taxClassId = $_product->getTaxClassId(); $taxClass = Mage::getModel('tax/class')->load($taxClassId); echo 'VAT. '.$taxClass->getClassName().'plus. <a href="'.$this->getUrl('shipping').'">Shipping</a>'; ?> </span>
under
<?php echo $this->getPriceHtml($_product, true) ?>
Attention: This line, there are two times in the file. Once for the list view and once for the Grid view.
Addendum dated 28.09.2017
We have now solved it in a different way, the comfortable and rel. is flexible. Changed, we do not have the list.phtml but the app / design / frontend / rwd / default / template / catalog / product / price.phtml (or what folder Anyway).
We have added the last line it here:
<span class="mwstinfo"><?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('VAT-info')->toHtml() ?></span>
So we load a static block with the code “mwst-info”. This we then created and only
<p>including. Tax, plus. <a href="/shipping">Shipping</a></p>
reingeschrieben. About the CSS class “mwstinfo” then one can make various layout adjustments.
In this way, the control- and shipping info at all locations indicated on the price appears. whether category, Product detail page, Slider… where that is loaded price.phtml everywhere. One can also make very flexible per store view adjustments.
Certainly no highly professional manner but practical and comfortable.
Used in Magento Version 1.9 Comments? Additions? Notes? Gladly!
I have the following, found meaningful logic for us as shippers in the world:
If users not logged = Display incl. Control (So you have to start from shipping to DE and the local taxation)
When users logged = system, the billing country brings (Is created if necessary until the checkout and the control of the configuration of the land (If a country lacks, no taxes on the product or Germany as a fallback Show)