Jump to content

Staat Mwst Anzeige im Produkt Detail falsch!?


Recommended Posts

Hallo

Ich habe ein Shop mit 2 verschienden Mwst. einmal 19% und einmal 20%.
Ich habe diese auf 2 Verschieden Staaten gelegt und dies funktioniert auch.

Im Homefeatured Modul werden dann alle Preise in exkl. Mwst angezeigt was ich auch so eingstellt habe für den ganzen Shop. Egal ob ich eingeloggt bin oder nicht, damit immr der gleiche Preis da steht.

Jetzt zum Problem in der Produkt Detail Ansicht steht zwar auch exkl. Mwst was auch richtig ist aber der Preis selbst der ausgegeben wird ist der mit inkl Mwst vom Staat wo man ausgewählt hat (Wen man eingeloggt ist).

Ich will dort aber auch die normale Preis ausgabe in exkl. Mwst ohne das die Staat Mwst. drauf sind.

Kann mir jemand helfen hab hier schon einiges Probiert um den Preis ohne Mwst anzeigen zu lassen, leider erfolglos.

Noch der Code für die Preis Ausgabe im product.tpl:

        

               {if $product->on_sale}


               {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))}
{l s='Price lowered!'}
               {/if}


             {debug}

               {if !$priceDisplay || $priceDisplay == 2}
{convertPrice price=$product->getPrice(true, $smarty.const.NULL, 2)}
                       {l s='tax incl.'}
               {/if}

               {if $priceDisplay == 1}
{convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)}
                       {l s='tax excl.'}
               {/if}


               {if $priceDisplay == 2}



{convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)} {l s='tax excl.'}
               {/if}






Wäre froh wen mir jemand helfen können.

mfg nico

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...