Jump to content

Rynraf

Members
  • Posts

    35
  • Joined

  • Last visited

Profile Information

  • Location
    Poland
  • First Name
    Rafał
  • Last Name
    Rynkiewicz

Recent Profile Visitors

769 profile views

Rynraf's Achievements

Rookie

Rookie (2/14)

  • Dedicated Rare
  • Conversation Starter Rare
  • Reacting Well Rare
  • First Post Rare
  • Collaborator Rare

Recent Badges

14

Reputation

  1. I was searching an answer, bceause this error appeared in my store (PS 1.7.7.7)... Strange but this problems looks that was connected with cookie sessions life-time. When I have ths problem in one brower, at the same time in another browser everything works fine. What I did to resolve it? I set much shorter time (12 hours) in BO for cookie lifetime for BO nad for FO. Then I clear browser cache - and works again :)
  2. @pinkdev thank you sooo much! This helped me in this admin login loop case. All other suggestions from the net not helped (switching off checking ip in cookie, clearing cache etc.). I'm curious what could have caused this problem.
  3. The same problem I had in PS 1.7.7.7 One (from few) carrier totally not shown when another carrier was available in the cart. And show only price of this carrier in cart (withou carrier name and without logo, and delivery time description) when this was the only one available carrier. No of above helped me. I just use another carrier, changed its name, logo... everything the same configuration. But as another object of carrier - works. Just this...
  4. Uhhh... I have a solution. Finally! I noticed that in Prestashop many data have two places in database. For example, also this - tracking number. In this tables, in this columns, the same data: ps_orders.shipping_number ps_order_carrier.tracking_number Exactly the same information in two tables. I didn't noticed this earlier. data saved in second table is more important... 😕 P.S. In /classes/Validate.php is function isTrackingNumber. But without defined length of string. This function is called from /classes/order/OrderCarrier.php
  5. I changed field data type in database - this time from 100 to 110 varchar - ps_orders > shipping_number. Cleared cache from backoffice. Still the same effect - in database full longer value but in backoffice order view it's cuted string, still to default 64 characters. I can't find where this value is trimed still to the default 64 chars.
  6. Hi I need to increase shipping number (tracking number) maximum characters size. First - I changed field size in database in ps_orders to varchar 100. Effect: I can save longer tracking number in backoffice on order details page. It saved in database in full length (longer then default 64 chars). But it displays in backoffice still with only first 64 characters. It's somewhere trim, cut to 64 characters. Where? Where can I change, increase displayed size of tracking number? I checked everything... without result Pleease help.
  7. In my case (a little newer PS version) the location of this file is: /mails/_partials/order_conf_product_list.tpl But your advice was also helpfull in finding final location in my PS
  8. Maybe someone (like me) needs another solution. None of the above helped me. What happend in my case and maybe in others too? In my fresh PS 1.7.7 installation in backoffice menu: Design > Image Settings I did not have defined "image settings" - thumbnails dimensions (like small_default, medium_default etc.). I don't know why, because I didn't remove it. List of defined photo thumbnails dimensions was empty. I just defined them, like should be by default, and after that (also at this screen, a little below) I regenerate thumbnails. That's all Works! cart_default / 125 px / 125 px small_default / 98 px / 98 px medium_default / 452 px / 452 px home_default / 250 px / 250 px large_default / 800 px / 800 px category_default / 141 px / 180 px stores_default / 170 px / 115 px The same issue as described at this topic and I copied my answer, because when I was looking for an answer I visted this two topics and noone described solution like I needed. Regards!
  9. Maybe someone (like me) needs another solution. None of the above helped me. What happend in my case and maybe in others too? In my fresh PS 1.7.7 installation in backoffice menu: Design > Image Settings I did not have defined "image settings" - thumbnails dimensions (like small_default, medium_default etc.). I don't know why, because I didn't remove it. List of defined photo thumbnails dimensions was empty. I just defined them, like should be by default, and after that (also at this screen, a little below) I regenarte thumbnails. That's all Works! cart_default / 125 px / 125 px small_default / 98 px / 98 px medium_default / 452 px / 452 px home_default / 250 px / 250 px large_default / 800 px / 800 px category_default / 141 px / 180 px stores_default / 170 px / 115 px
  10. @Anthony IVOL thank you very much for your post. I have Prestashop 1.7. I did earlier in my module what you described: a) At module install step - additional cols in database were added in two tables. b) New field was declared in this two classes - Cart and Order by extending it from module files. c) I changed /classes/checkout/CheckoutD eliveryStep.php as you described. d) I created assigning value from params - from cart to order object and save it in actionCar rierProc ess hook in module. e) Also change in va lidate Order functi o n. @Anthony IVOL , @r4yn0r mentioned about showing this field on fronted. I also mean that you wrote about processing this new value - but of course, on some step, user should have possibility to type this message. How? Where? How to get this value from frontend in PS 1.7? I understand that you later don't show this value. But you need to source this value in some way Please see how I added this new field (a little success) on front in shipping method step: I achieved this by hook DisplayAfterCarrier (with html code from module's tpl file) and hook Header (added by module JS file by addJS controller). And JS code moves this code "higher" on frontend by this code: $('#myID').prependTo('#delivery'); I can't get this value from this field. I can't do it in any way. I tried to use action hooks (ActionCarrierProcess, ActionCartSave, ActionValidateOrder), I tested this attempts by saving data to txt file - just for debug. You skip this part how to present this new field for user and how to get this value Please help, please give some advice
  11. Me to... You can try to use this hooks: displayAfterCarrier and displayPaymentByBinaries. They display your extra content on delivery methods step (below submit button) and on last step with payment methods (also beloew submit button). Using JavaScript you can move this code hihger to present it before submit button. I did this. But... but I can't use, save this values. In PS 1.6 I did this. In PS 1.7 I can't. I will try this: what wrote Anthony IVOL. Because as I see (at screenshots) in this (paid) module fmemodules.com/en/51-custom-fields.html - it's possible in PS 1.7
  12. 1. All right. I have a solution. It's a short code to use it in own module to show in this place additional consent: public function hookTermsAndConditions($params){ $returned_terms_and_conditions = array(); $termsAndConditions = new TermsAndConditions(); $termsAndConditions ->setText($this->l('Text of additional consent...')) ->setIdentifier('myOwnName-agreement') ; $returned_terms_and_conditions[] = $termsAndConditions; return $returned_terms_and_conditions; } But this consent is always obligatory. It looks that's is impossible to set it as optional or I just don't know how to set this.
  13. I would like to add extra consent in checkout on last step. I made this in PS 1.6 but I have problem in PS 1.7. I spent a lot of time searching any answer. All issues are about inputs in registration form. It's important for me to put it for each cart, no for client account. 1. How to add something in this place by module? I have not found find any appropriate hook. Maybe it's possibe by insert some new consent definition directly to database to some table? I have not found. It seems that is only on / off visibility for this agreement. How to add, maybe in different way, some extra condition to approve with possibility to save it after this step? 2. Which hook is right to save this value in PS 1.7 to cart and order? Hook ActionCartSave or / and ActionValidateOrder? Please give me any advice.
  14. I had exactly the same problem. I checked folder permissions via ftp client, database keys at modules tables and inserted in tables values... Nothing helped. This solution works: https://www.prestashop.com/forums/topic/275511-solved-you-dont-have-access-to-configure-this-module/ It's enough to click "configrue" on module after sign in to back office on another administrator account. Just this! I don't know why but this workaround works. I found this topic while I was searching any solution - that's why I write this solution here, for next who will search Regards!
  15. I had exactly the same problem. I checked folder permissions via ftp client, database keys at modules tables and inserted in tables values... Nothing helped. This solution works: https://www.prestashop.com/forums/topic/275511-solved-you-dont-have-access-to-configure-this-module/ It's enough to click "configrue" on module after sign in to back office on another administrator account. Just this! I don't know why but this workaround works. I found this topic while I was searching any solution - that's why I write this solution here, for next who will search Regards!
×
×
  • Create New...