Jump to content

mr.dipi

Members
  • Posts

    51
  • Joined

  • Last visited

Profile Information

  • Activity
    Other

mr.dipi's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, I'm coming back to issue... Other developers tested the shop and..... All order invoices generated by them were correct. Shipping tax and ect. were calculated good. They created temporary user made 3 orders and all of them had invoice generated correctly. I don't know if it is important but developer is from US. I'm not getting it at all. How it can happen?
  2. Hello, Ok for one invoice it started to work with cache disabled and customert not assgined to groups (mistake on import ) Later when i turned on everything resut came back.. Which tables I should clear to have clean database?
  3. but ps cleaner is removing all values which are there...
  4. Yes I have few modules installed. But on the begining it was working corectly problems started later. I've already contacted ROCK POS developer because it is the biggest module connected to selling which I have. Rest shouldn't have influence on it. Yes I have double entries in order_invoice_tax - I wrote about it in previous post. I added new status - Create Invoice (because I want to choose if I want create invoice for particular order or not because I don't have tu - I can make normal bill) and it is only status with "show invoice to customer" activeted It is working like this now: 1. I place an order 2. new value is added to order_invoice and order_invoice_tax (which is in my opinion not correct) 3. in BO in have order with payment status (for ex. waiting for bank wire) 4. I change status for accept payment 5. I change status to "create invoice" 6. Same value like before is added to order_invoice_tax So in total I have one order_invoice and two order_invoice_tax related. But right now it seems like developer of ROCK POS is doing something (right now ) because problem disappeared - I will write in one hour to check if problem is solved.
  5. status depends on payment method, but I checked all possible and all have "order is paid" unticked / not active "order is paid" I have only in: Payment accepted (few statuses for different payment methods) Shipped Delivered
  6. I cleaned sho by ps cleaner from all old orders and invoices and customers to make sure that everything works corectly. After cleaning everything I spotted one more strange thing: When I place order in main shop it is adding new value in prestaorder_invoice. In test shop it is not happening. In test shop new value appears when I want to create invoice. Mistake is somewhere there. But I have no idea what can cause it.
  7. Jeszcze profilaktycznie dzisiaj wyczyściłem bazę ps cleanerem z zamówień. W momencie gdy składam zamówienie na sklepie głównym od razu pojawia się wpis w tabeli prestaorder_invoice W sklepie testowym wpis pojawia się tam dopiero gdy chcę wygenereować fakturę. Ja nie wiem czy to coś z validation nie będzie jeszcze, albo statusy albo jakieś inne ustawienie o którym zapomniałem Ma ktoś jakieś pomysły bo mi ręce opadają, a spać mi to nie daje.
  8. no dobra do czegoś się dogrzebałem (wracając do problemu z pierwszego posta) Potestowałem trochę i chyba coś mam Jak robiłem test: zainstalowałem czystą kopię presty 1.6.15 na subdomenie. Następnie wgrałem pliki z głównego sklepu i podłączyłem do czystej bazy danych. Mamy więc dwa sklepy na tych samych plikach głównych tylko z różnymi bazami danych (i co za tym idzie statusami zamówień) Moduły są zainstalowane te same. W głównym sklepie gdy dodaję nowe zamówienie pojawia się wpis w tabeli prestaorder_invoice_tax. W tym sklepie posiadam status "Wygeneruj fakturę" który ma jako jedyny generowac fakturę (oczywiście nie jest to status domyślny złożonego zamówienia). Następnie klikam właśnie "wygeneruj fakturę" i w bazie danych pojawia się drugi wpis (!) do tego samego id_order_invoice. id_order_invoice type id_tax amount 11 shipping 32 2.617400 11 shipping 32 2.617400 W czystej kopii sklepu (czystej bazie, te same pliki główne, inne statusy) jak tworzę nowe zamówienie, w tabeli prestaorder_invoice_tax nie pojawia się nic. Wpis pojawia się dopiero gdy zmienię status na "dostarczono" i wtedy generuje się też faktura: id_order_invoice type id_tax amount 2 shipping 1 1.610000 na tej podstawie dochodzę do wniosku że pomieszałem coś przy tworzeniu statusów zamówień (albo coś się pomieszało w bazie danych) Następny test: do czystej kopii sklepu dodałem status "wygeneruj fakturę" który ma generować fakturę po przelączeniu na niego. Wynik jest ten sam - tylko jedna nowa pozycja w bazie danych id_order_invoice type id_tax amount 2 shipping 1 1.610000 3 shipping 1 1.610000 Więc myślę że stąd jest potem błąd z źle wyświetlającym się VAT-em - są dwa wpisy w bazie do tego samego zamówienia. Pytanie zemu się to dzieje i jak to naprawić. Presta nie powinna dodawać wpisu do tabeli prestaorder_invoice_tax w momencie składania zamówienia a dopiero kiedy zmieniam status na "wygeneruj fakturę". Tylko co możemy z tym zrobić (?)
  9. Hello, I think I found the reason - mayby someone will be able to help me now. I did some tests in this way: I've made clean install o 1.6.15 with clean database on test sub domain. I transferd all files from my main shop and conect it to clean database (in this way I have 2 shops with same core files in theory but different databases) In main shop I still have problem which I described in first post. In test shop I don't have this problem (same modules and etc.) Only difference is in statuses - in clean copy I have default statuses, in main shop I hav e some custom statuses (for. ex. create invoice -> only status when invoice should be generated) In main shop when I place an order new element appears in "prestaorder_invoice_tax" and later when I change status to "create invoice" it is adding same values one more time so it looks like this: id_order_invoice type id_tax amount 11 shipping 32 2.617400 11 shipping 32 2.617400 In test shop (clean) when I place order NOTHING appears in the same column. Value appears when I change status to "delivered" (because it is creating an invoice) and later I have only one value connected to this order: id_order_invoice type id_tax amount 2 shipping 1 1.610000 So, if we have same modules, same core files and two different results it seems that somrthing is wrong with statuses or settings of presta which are stored in database. Next test I did: I created new status for test shop - "create invoice" and set it to generate invoice. Result was the same - only one new position in database. id_order_invoice type id_tax amount 2 shipping 1 1.610000 3 shipping 1 1.610000 So I found mistake in database I think. Question is - how it happens and how we can fix it?
  10. dzięki za odpowiedź nie do końca mi o to chodziło, ale ta informacja też się przyda Mi chodziło o widok produktów: normalnie możemy wybrać widok listy lub siatki. U mnie na komórce jakimś cudem zapamiętuje cookies z kompa i jeśli oglądałem jako listę to w widoku pionowym wyświetla pojedyncze produkty (czyli dobrze) ale jak obrócę komórkę to próbuje wyświetlić widok listy co powoduje rozjeżdżanie się szablonu - próbowałem dopasować szablon ale wygląda to na dużo roboty nad czymśczego w sumie nie powinno być czyli w skrócie: chodzi o to żeby na komórce jedynym widokiem listy produktów był widok siatki i inny nie mógł się załączyć Zapomniałe mdodać: Presta 1.6.15
  11. Witam, Czy znacie jakąś możliwość wyłączenia widoku listy na urządzeniach mobilnych (głównie chodzi o komórki)?
  12. aaa ślepota ruska - miałem w block w global.ss display none - dzięki za zmotywowanie aby przeszukać jeszcze raz
  13. Witam, zaczepiłem ten moduł do nowego hook-a który wyświetla mi to w categories.tpl u góry strony. Wszystko fajnie działa do momentu gdy ekran zmniejszy się poniżej 768px w widoku mobilnym - wtedy po prostu znika. Tutaj moje pytanie - gdzie trzeba by coś zmienić żeby to wyświetlało się również w widoku mobilnym. pod kątem css @media z max width 768px sprawdziłem: blocklayered.css global.css product_list.css i nie znalazłem nic co mogłoby wydawać się podejrzane. W widoku normalnym znika w rodzielczości poniżej 690px Macie jakieś propozycje gdzie szukać?
  14. Dobra - znalazłem Dla przyszłych pokoleń: <td> {if ($order_detail.unit_price_tax_excl_before_specific_price)-($order_detail.unit_price_tax_excl_including_ecotax|string_format:"%.2f") >0} -{displayPrice currency=$order->id_currency price=($order_detail.unit_price_tax_excl_before_specific_price)-($order_detail.unit_price_tax_excl_including_ecotax|string_format:"%.2f")} {else} -- {/if} </td>
×
×
  • Create New...