dannyhar Posted October 2 Share Posted October 2 Ma poate cineva ajuta sa reduc numarul de zero-uri? Ar fi mai ok 4, sau 4.00. Link to comment Share on other sites More sharing options...
Andrei H Posted October 3 Share Posted October 3 Salutare, Foloseti un modul pentru a afisa tabelul cu reduceri? Link to comment Share on other sites More sharing options...
dannyhar Posted October 3 Author Share Posted October 3 Salutare! Nu. Link to comment Share on other sites More sharing options...
dannyhar Posted October 3 Author Share Posted October 3 exemplu: https://icetop.ro/peste-fructe-de-mare/fructe-de-mare/midii-intregi-prefierte-4060-ocean-fish-1kg Link to comment Share on other sites More sharing options...
Andrei H Posted October 3 Share Posted October 3 Salutare, Ce versiune de PrestaShop folosesti? Folosesti o tema anume, sau pe cea clasica? Link to comment Share on other sites More sharing options...
dannyhar Posted October 3 Author Share Posted October 3 Prestashop 8.1.7 Folosesc de la Angar Themes. Link to comment Share on other sites More sharing options...
Andrei H Posted October 3 Share Posted October 3 (edited) Salutare, Cel mai probabil, e o mica problema din tema. Eu am testat pe local cu 8.1.7 si tema clasica si nu am aceeasi problema. Daca ai un preprod environment, poti sa faci switch la tema clasica pentru a confirma acest lucru. Cel mai simplu ar fi sa contactezi echipa de development care se ocupa de tema. Poti sa rezolvi problema si sigur. In themes/<nume_tema>/templates/catalog/_partials, ar trebui sa ai un fisier, product-discounts.tpl - trebuie sa-l editezi, sa cauti {$quantity_discount.quantity}, si sa inlocuiesti cu {(int)$quantity_discount.quantity} - cam asa arata acea line de cod in tema clasica: https://github.com/PrestaShop/classic-theme/blob/develop/templates/catalog/_partials/product-discounts.tpl#L40 - din nou, cel mai bine ar fi sa faci modificarile intr-un preprod environment prima data. Daca ai modificat acel fisier, trebuie sa te asiguri si ca in admin la Advanced Parameters -> Performance, optiunea Compilarea sabloanelor Smarty e setata pe Daca au fost actualizate (sau De fiecare data) Edited October 3 by Andrei H (see edit history) Link to comment Share on other sites More sharing options...
dannyhar Posted October 3 Author Share Posted October 3 Am rezolvat. Asta cautam. Valoarea trebuia sa fie in forma integer. Multumesc! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now