Jump to content

andre.markus

Members
  • Posts

    15
  • Joined

  • Last visited

Profile Information

  • Location
    Saxony, Germany
  • Activity
    Agency

andre.markus's Achievements

Newbie

Newbie (1/14)

  • First Post Rare
  • Collaborator Rare
  • Week One Done Rare
  • One Month Later Rare
  • One Year In Rare

Recent Badges

1

Reputation

  1. I used this solution: What solved the issue was to open the file /config/smartyfront.config.inc.php and editing the function starting on line 95 function smartyRender($params, &$smarty) { $ui = $params['ui']; if (array_key_exists('file', $params)) { $ui->setTemplate($params['file']); } return $ui->render($params); } into function smartyRender($params, &$smarty) { $ui = $params['ui']; if ($ui !== null) { if (array_key_exists('file', $params)) { $ui->setTemplate($params['file']); } return $ui->render($params); } else { // Handle the case where $params['ui'] is null // You can throw an exception, log an error, or take appropriate action. } }
  2. The problem also exist, if you add to cart (on mobile) -> after closing the cart window in front -> redirect to another product. But only if window.width > 992 px
  3. Same problem here with PS 1.7.8.5 I tried different /themes/core.js files. This is a weird bug from the /themes/core.js-File. And only if window.width < 992 Pixel What the hell...
  4. Hi Ayaffa, did you resolve the problem? I encountered same problem with PS 1.7.8.5
  5. Ok, wenn die Gesamt-MwSt. von Prestashop richtig ist, dann brauch ich meine erechneten (Gesamt-)Versandsteuern nur auf 7% und 19% ins richtige Verhältnis aufteilen und dann halt 2 Zeilen in Steuerdetails ausgeben oder? Ich hab das mal schnell angepasst -> siehe Anhang Bei mir sieht eine Bestellung z.B. dann so aus -> siehe Anhang Was meinst du dazu? Ist mit den hartcodiert 7% / 19 % erstmal nur für DE tauglich, aber doch recht schnell für andere Länder oder Steuersätze angepasst. Grundsätzlich sollte aber der Bug in der Funktion seitens Prestashop behoben werden. invoice.tax-tab.tpl.txt
  6. Hallo eleazar, danke für deine ausführliche Antwort -> du hast Recht. Jedoch: ich hab lediglich den Differenzbetrag des Steueranteils ausgewiesen, in deinem Beispiel dann 2,82€. Nur der Steuersatz mit pauschal dem höchsten wäre falsch und müsste korrekt ausgerechnet werden, oder gleich weglassen, wenn denn der Betrag von 2,82 korrekt ist. (Würde ja eh was krummes dort stehen, z.B. 13% in deinem Fall -> nützt keinem was oder? Oder ist denn durch den Bug die Gesamt-MwSt. auf der Rechnung schon falsch? (invoice.total-tab.tpl -> $footer.total_taxes) Wie gesagt: ich rechne nur $footer.total_taxes - (Summe der Produkt-Steuerbeträge) = Versandsteuerbetrag.
  7. Hallo, ich hab die Lösung selbst in das PDF-Template (pdf/invoice.tax-tab.tpl) reinprogrammiert. Im Anhang ist die Datei (-> umbenennen ohne ".txt") Hier die 2 Ergänzungen in der Datei wenn du es selbst anpassen willst: vorher: {elseif (isset($tax_breakdowns) && $tax_breakdowns)} nachher: {elseif (isset($tax_breakdowns) && $tax_breakdowns)} {assign var=artikelsteuern value=0} vorher: {/foreach} {/foreach} nachher: {* Artikelsteuern addieren: *} {assign var=artikelsteuern value=$artikelsteuern + $line.total_amount} {* Versandsteuersatz ist immer der höchste Artikelsteuersatz! *} {if $line.rate > $versandsteuersatz} {assign var=versandsteuersatz value=$line.rate} {/if} {/foreach} {/foreach} {assign var=versandsteuer value=$footer.total_taxes - $artikelsteuern} <tr> <td class="white">Versandkosten</td> <td class="center white">{$versandsteuersatz} %</td> {if $display_tax_bases_in_breakdowns} <td class="right white"></td> {/if} <td class="right white">{displayPrice currency=$order->id_currency price=$versandsteuer}</td> </tr> invoice.tax-tab.tpl.txt
  8. Hallo Regnidor, hast du schon ein Lösung gefunden für den fehlenden Steueranteil der Versandkosten? Gruß André
  9. Hey joseangel2003, how did you solve the problem? If I modify the code gabdara mentioned, I run into hundreds of code pieces I have to change into "Validate::siLoadedObject..." That is not a good solution for updates. Thanks for a reply! EDIT: Found the problem by deactivating all overrides. So it must be an additional module installed, in my case "prettyurls". In the Dispatcher.php / Line 458 change: if (preg_match('/\?/', $this->request_uri) && preg_match('/productcomments/', $this->request_uri)) to: if (preg_match('/\?/', $this->request_uri) && preg_match('/productcomments/', $this->request_uri) && ($controller != 'AdminModules') ) Explanation: The Backoffice-URL to configure the module contains also the segment "productcomments" like in frontoffice. so prettyurl sets the $controller = "default" in the if-statement -> This breaks up Prestashop The developer of this module is informed. Cheers André
  10. Hallo PS-Fans. Es gibt doch die tolle Funktion des Exportierens gewählten Bestellungen als CSV. Besteht die Möglichkeit, diese Funktion zu duplizieren und mit eigenen festgelegten Spalten (Datenbank-Feldern) zu nutzen? Hintergrund: Es soll eine CSV erzeugt werden die alle Felder für ein Versandetikett (DHL Easylog) bereitstellt. Ich denke von der Grundfunktion bis zum Ziel ist es nicht weit. Jemand einen Ansatz oder eine Idee?
  11. Got same error with PS 1.6.0.8 an solved it Vekia's way! Delete only the cart rows with this select query. Thanks Vekia!
  12. Habs gefunden: Das Modul "EU-Legal" hat mit der Option "Versandkosten-Steuer berechnen" reingehakt. Habs deaktiviert und die Versandkosten netto eingetragen, jetzt klappts
  13. Hallo Fans, ich hab gerade ein Phänomen, dass die Versandkosten beim Bestellabschluss falsch angezeigt werden und zwar ohne die Steuer. Konkret eingestellt 5,-€ mit dt. MwSt (19%) im Warenkorb - korrekt (5€) bei Versandwahl - korrekt (5€) beim Abschluss - falsch: 4,20€ also ohne Steuer. ist das ein Bug??? Ich hab prestashop 1.6.0.8 Anbei ein Screenshot zum Nachvollziehen. ich hoffe jemand kann helfen... Gruß André
  14. Thanks for your tipp! I added some lines to Product.php, which is called from CategoryController to have all data in an sub-array within the variable $product for the product-list.tpl {if isset($product.accessories) && $product.accessories} .. {foreach from=$product.accessories item=accessory name=accessories_list} // same code from product.tpl {/foreach} .. {/if} Quick and dirty but it works!
  15. Hi fans. I have a simple problem: I want to display the product accessoires in the product-list. In the detail view (product.tpl) I find the right part: {if isset($accessories) && $accessories} ... {/if} I copy & paste the part into the product-list.tpl but it seems the variable $accessoires is empty in the list view. Is there a solution to the problem? Cheers André
×
×
  • Create New...