Jump to content

Welele

Members
  • Posts

    174
  • Joined

  • Last visited

Profile Information

  • Location
    spain
  • Activity
    Freelancer

Recent Profile Visitors

4,653,077 profile views

Welele's Achievements

Apprentice

Apprentice (3/14)

  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • One Year In Rare
  • Week One Done Rare

Recent Badges

4

Reputation

  1. Hi I obtain this error when try to save a new transporter Notice en línea 78 en archivo /var/www/vhosts/vivirfelices.com/httpdocs/classes/ImageManager.php [8] Trying to access array offset on value of type bool Notice en línea 79 en archivo /var/www/vhosts/vivirfelices.com/httpdocs/classes/ImageManager.php [8] Trying to access array offset on value of type bool Any idea?
  2. Hi everyone We need edit fields in customer register and we need make dni & vat_number fields conditionals like phone number: at least one required. I tried using sentences like phones (al least one) but doesnt work. {if isset($one_phone_at_least) && $one_phone_at_least} {assign var="atLeastOneExists" value=true} <p class="inline-infos required">** {l s='You must register at least one phone number.'}</p> {/if} Any idea? Best regards
  3. Hola a todos Ncesitamos modificar el registro de los clientes de forma que se les pida uno de los 2 campos: dni ó vat. Si el cliente introduce el vat se le quitan los impuesto y no es obligatorio el dni. Si el cliente introduce el dni no es obligatorio el vat. Es decir, introducir uno de los dos campos, o los 2. Al igual que pasa con los campos de telefono. hemos intentado hacerlo igual para estos dos campos, pero no resulta. {if isset($one_phone_at_least) && $one_phone_at_least} {assign var="atLeastOneExists" value=true} <p class="inline-infos required">** {l s='You must register at least one phone number.'}</p> {/if} alguna idea? Gracias de antemano
  4. Hi Knowband Plugins, thanks for you response. But after apply changes and clear cache I obtain this error: Sorry but no idea about this...
  5. Hi Its possible to hide (not delete) thses fields. When customer is registered insert name & lastmane. Whe register his address, system autofill the fields. That is good, but have any option to hide them? We want theses fields, and keep like required, but its possible to hide and register with autofilled data when address is registered? Best regards
  6. This was my solution: Thinking about how to solve the problem: forcing customer to register his address in customer registration process, I thought of something that is much easier, just redirect customer to the address register just after customer registration. The solution was using the actionCustomerAccountAdd hook, in CustomerPersister.php if ($ok) { $this->context->updateCustomer($customer); $this->context->cart->update(); $this->sendConfirmationMail($customer); Hook::exec('actionCustomerAccountAdd', [ 'newCustomer' => $customer, Tools::redirect('index.php?controller=address') //Redirect after registration ]); } Regards
  7. this post would be perfect and it would be solved if the state field problem was solved. Is anyone capable??? Thanks in advance
  8. Hello again You right! Developer of my theme have an override of these modules. /themes/theme_name/modules/ps_emailsuscription/view/templates/hook/ps_emailsuscription.tpl But we got translation problem about this override because developer change the translation references. Then I have changed again and translation works: but I dont know why they change translation references: Shop.Theme.Global Shop.Forms.labels Why they use these references instead of Modules.Emailsuscription.shop? Using his references tranalation doesnt work... Is it better to apply the translations in the references that they use (Shop.Theme.Global & Shop.Forms.labels)? Where can I apply it? Thanks for response and best regards
  9. Hi We have some problems about translations in several official prestahop modules. For example "ps_emailsuscription": This translation doesnt work. Also I have checked if this term have translations and is good in .tlp (modules/ps_emailsubscription/viwes/templates/hook/ps_emailsubscription.tpl): Why this translation doesnt work? Problem appear in several modules: ps_emailsuscription ps_socialfollow ps_emailsubscription ps_shoppingcart ... Anyone have the same problem? Best regards
  10. This is very sad. Any response in 3 days...
  11. Anyone have the same problem? Problem appear in several modules: ps_emailsuscription ps_socialfollow ps_emailsubscription ps_shoppingcart May be problem is easy to fixed but I dont found it...
  12. Hi We have some problems about translations in several official prestahop modules. For example "ps_emailsuscription": This translation doesnt work. Also I have checked if this term have translations and is good in .tlp (modules/ps_emailsubscription/viwes/templates/hook/ps_emailsubscription.tpl): Why this translation doesnt work?¿ Best regards
  13. Solved! Problem was position of joins. Final query correct is: select C.firstname AS NOMBRE, C.lastname AS APELLIDOS, C.email, A.phone AS TLF1, A.phone_mobile AS TLF2, S.name AS PROVINCIA, count(O.id_order) as PEDIDOS, sum(O.total_paid) as TOTAL_GASTADO, max(O.date_add) as ULTIMO_PEDIDO from ps_customer AS C LEFT JOIN ps_address AS A ON (C.id_customer = A.id_customer) LEFT JOIN ps_state AS S ON (A.id_state = S.id_state) LEFT JOIN ps_orders O on O.id_customer = C.id_customer group by O.id_customer having count(O.id_order)>1 order by 1 DESC Regards
  14. Hi I am trying to get this datas, but I obtain duplicate results in ORDERS and TOTAL_PAID. Can anyone help me please? I get: SELECT count(o.id_order) as ORDERS, sum(o.total_paid) as TOTAL_PAID, max(o.date_add) as LAST_ORDER, c.firstname as NOMBRE, c.lastname as APELLIDOS, c.email, a.address1, a.phone, a.phone_mobile, a.postcode, s.name as STATE FROM ps_state s, ps_customer c JOIN ps_orders o on o.id_customer = c.id_customer JOIN ps_address a on a.id_customer = c.id_customer WHERE s.id_state = a.id_state GROUP BY o.id_customer having count(o.id_order)>0 order by 1 desc Best regards
×
×
  • Create New...