Jump to content

danodas

Members
  • Posts

    7
  • Joined

  • Last visited

Profile Information

  • First Name
    Danut
  • Last Name
    Dascalescu

danodas's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Finally! It works with {State::getNameById({$addresses.invoice->id_state})} THANK YOU SO MUCH!
  2. Nope! Same problem. Thank you anyway for your time! I created a new acount and place a new order. In addresses tab in Front and BackOffice the address is OK (with state). All settings are and were corect. No state output for variable in invoice. Maybe I don't use the right variable. I use {$addresses.invoice->state}. I tried {$addresses.invoice->state_name}, {$addresses.invoice->name}, {$addresses.invoice->sname}, {$addresses.invoice->statename}. If I put {$addresses.invoice->id_state} it write the ID of the state in invoice. But... I realy need the name of the state. It's so frustrating. Everything I have done by my self and I am not a php-html programmer, but this...? I don't know... How can I extract in invoice.tpl the name of the state based on id_state from state table? Can you help me with a script or something. HELP! Same result over and over.
  3. Thank you. I have all the settings ok. The addresses tabs apear OK in BO and FO but not in invoice. I am not using $addresses_tab variable in template. For custom purposes, I use every smarty variable I can in my template. I put the template here, you all can use it. It's for NON VAT Romania shop. The template is here invoice.zip And a picture with the problem is here: As you can see, all variables are resulting ok, except the state, it should be Ex. Neamt or Alabama... Anything.
  4. Prestashop 1.6.1.4 Hi! I have a problem that I can't solve at all for 3 days. I created an invoice template that works for me (in Romania), except that I can not bring the state in this Invoice. I have everything I need there but I tried a lot of combinations for state variable: $address->state, $addresses.invoice->state and others an it brings to me a blank space. Please help me!!! This is the part of the code I use for customer data (city, state, country) and, as I told you, every variable is putted correctly on the invoice, except the one in red, what should be the state of the customer from address. {$addresses.invoice->city},State: {$addresses.invoice->state},{$addresses.invoice->country},<br> ---------------------------------------------------------------------------------------------------------------------------- [sOLVED] The solution was given by tuk66 and is: {State::getNameById({$addresses.invoice->id_state})}
  5. Salutare. I hava a major problem with the site http://conversiecad.ro. After the client add the products to the shopping-cart all discounts are -0,00. After pay button the discounts are OK. In check-out, The quantity of discounts is not OK. If I have 3 same products with quantity discount i believe that at amount should be discount/unity, and at quantity discount i should have 3. Thank you for your help and excuse my bad englush.
  6. Salutare. Am o problema majora cu site-ul http://conversiecad.ro si anume ca dupa ce clientii adauga produsele in cod, toate reducerile din detalii cos (banda ce se deruleaza in jos cand am mouse-ul pe cosul de cumparaturi) apar nominal dar cu valoare 0,00 lei. Dupa ce se apasa Plateste, reducerile apar corect ca si suma in detaliile comenzii. Atasez imagine cu problema pe care o intampin: De asemeni in chec-out, daca am 3 produse de acelasi fel cu reducere, reducerea imi apare ca suma totala si cantitate 1. Nu trebuia ssa fie reducerea /unitate si cantitatea astfel incat total reducere=reducere/unitate * cantitatea? Atasez imagine cu aceasta situatie E destul de frustrant deoarece au fost clienti care m-au sunat si mi-au batut obrazul ca ii pacalesc si chiar nu e asa. Daca testati (ceea ce nu pot sa le cer lor) totul e ok si factura contine aceste reduceri, dar pana acolo... clientul e stapan. Multumesc pentru ajutor sau pareri.
×
×
  • Create New...