Jump to content

Schnitzer

Members
  • Posts

    8
  • Joined

  • Last visited

Profile Information

  • Activity
    Freelancer

Schnitzer's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. @VitorDeSouza: Sorry, jeevanoss came first.
  2. Hello fellows, I need some help to modify my checkout, so it shows a nice tax breakdown at the end, similar to the one in the PDF module. Here's the story: My shop (Prestashop 1.5.4.1, German language) sells food and non-food products. Food-Products are taxed 7% VAT, Non-Food is at 19% VAT. If my shopping cart contains products from both categories, it should display the total tax for each tax-group. This means instead of just displaying Total incl. VAT Total excl. VAT Total Tax, I it also needs to to display these: Total 7% VAT Total 19% VAT The funny thing is, that prestashop alread has a nice tax-breakdown. But only in the PDF module: /pdf/invoice.tax-tab.tpl <!-- TAX DETAILS --> <table style="width: 100%"> <tr> <td style="text-align: left; background-color: #CCC; color: #000; padding-left: 10px; font-weight: bold; width: 40%">{l s='Tax Detail' pdf='true'}</td> <td style="text-align: right; background-color: #CCC; color: #000; padding-left: 10px; font-weight: bold; width: 20%">{l s='Tax Rate' pdf='true'}</td> {if !$use_one_after_another_method} <td style="text-align: right; background-color: #CCC; color: #000; padding-left: 10px; font-weight: bold; width: 20%">{l s='Total Tax Excl' pdf='true'}</td> {/if} <td style="text-align: right; background-color: #CCC; color: #000; padding-left: 10px; font-weight: bold; width: 20%">{l s='Total Tax' pdf='true'}</td> </tr> {if isset($product_tax_breakdown)} {foreach $product_tax_breakdown as $rate => $product_tax_infos} <tr style="line-height:6px;background-color:{cycle values='#FFF,#EEE'};"> <td style="width: 40%">{l s='Products' pdf='true'}</td> <td style="width: 20%; text-align: right;">{$rate} %</td> {if !$use_one_after_another_method} <td style="width: 20%; text-align: right;"> {if isset($is_order_slip) && $is_order_slip}- {/if}{displayPrice currency=$order->id_currency price=$product_tax_infos.total_price_tax_excl} </td> {/if} <td style="width: 20%; text-align: right;">{if isset($is_order_slip) && $is_order_slip}- {/if}{displayPrice currency=$order->id_currency price=$product_tax_infos.total_amount}</td> </tr> {/foreach} {/if} Here's what the PDF looks like: So this is where you come in, bringing the tax breakdown into the checkout. For more details just contact me, I'm happy to walk you through via Skype or email. I'm looking forward to your response!
  3. Danke, das war auch schon gesetzt. Also die Mehrwertsteuer wird ja schon angezeigt, nur eben als Gesamtsumme der MwSt. Bei einem gemischten Warenkorb mit 7% und 19% sollen die Steuersätze getrennt zusammengefasst werden. Wie auch in der PDF Rechnung. Ist das möglich?
  4. Hallo eleazar, Danke für die schnelle Antwort! Oh tatsächlich, die Auflistung in der PDF Rechnung hab ich übersehen.. Das bringt mich schonmal ein ganzes Stück weiter. Danke auf für den Hinweis auf dein Tutorial. Jetzt müssen die Steuerdetails noch in der shopping_cart.tpl Datei implementiert werden, damit es auch im Warenkorb so angezeigt wird. Ich habe gerade mal versucht die $product_tax_breakdown foreach-Schleife aus dem PDF-Template in die shopping_cart.tpl einzubinden, aber das array scheint für dieses Template leider nicht definiert zu sein. Hast Du da nen Vorschlag?
  5. Hallo, mein Shop (PrestaShop 1.5.4.1 mit Germanext) soll sowohl Lebensmittel zu 7% MwSt. als auch andere Waren mit 19% verkaufen. Wenn ich "Zur Kasse gehe" (one page checkout) bekomme ich leider nur eine Auflistung der Gesamtpreise: inkl. MwSt. exkl. MwSt. MwSt. Gesamt Da ich aber ja gemischte Steuersätze habe, müssten die 7% und 19% Gesamtsummen ja getrennt aufgeschlüsselt werden. Also so: inkl. MwSt. exkl. MwSt. 7% MwSt. Gesamt 19% MwSt. Gesamt Wie komme an diese Daten heran? Gesamt Steuern werden in der shopping_cart.tpl ja über diesen Befehl geladen. {displayPrice price=$total_tax} Gibt es einen Befehl wie: {displayPrice price=$total_tax.rate_1} oder gibt es evtl. Module, die diese Kalkulation übernehmen? (Für die PDF Rechnung habe ich dieses hier schon entdeckt: http://addons.prestashop.com/en/billing-invoicing-prestashop-modules/2011-m4-pdf-extensions.html )
  6. Thanks a lot, Pascal! Changing the browser to Chrome did the trick! I checked with Firefox in simple mode with disabled plugins, but the problem persists. If it helps: I was using Firefox 22.0 on Mac OS 10.7.5 (Lion) when the bug appeared. (I tested 23.0.1 too, but the bug is still there)
  7. Hi Pascal, thanks for your reply! I did as you say, but it still doesn't work. Although I do get a position column, I do not get controls or a drag-and-drop zone :-/ Am I probably missing something? Here's a screenshot for clarification:
  8. Hi, i've come across a weird issue in 1.5.4.1: I would like to change the standard order of my products in a certain category, but there are no controls for doing that. I've changed preferences / products -> Standard Sorting to position inside category (Ascending) and I'm viewing the catalog in category filter. Instead of looking like this: http://www.prestasho...attach_id=65657 My window looks like this: I'd be glad for any help!
×
×
  • Create New...