Jump to content
thirty bees forum

yaniv14

Trusted Members
  • Posts

    620
  • Joined

  • Last visited

  • Days Won

    27

Everything posted by yaniv14

  1. did you chaged A record to point to new ip? if you changed nameservers than it can take some time.
  2. if you are running your site on ip address and not domain than you need to modify shop_url table in the DB
  3. did you delete the cache/class_index file?
  4. if you only care about changing the text when you are in English than you dont need the else condition, assuming that your original text is always in the none English language. you just need to place whatever you want to replace. window.addEventListener('DOMContentLoaded', (event) => { const lang = document.documentElement.getAttribute('lang'); if (lang === 'en-us') { const htmlEL = document.querySelector('.unit-price'); const curHtml = htmlEL.innerHTML; htmlEL.innerHTML = curHtml.replace('/ meeter', 'per meter').replace('tk', 'pc.'); } });
  5. @led24ee it also looks like your matomo module has some broken code. try disabling matomo as well.
  6. you js code is broken window.addEventListener('DOMContentLoaded', (event) => { const lang = document.documentElement.getAttribute('lang'); if (lang === 'en-us') { document.querySelector('.unit-price').innerHTML = document.querySelector('.unit-price').innerHTML.replace('/ meeter', 'per meter'); } else if (lang === 'en-us') { document.querySelector('.unit-price').innerHTML = document.querySelector('.unit-price').innerHTML.replace('tk', 'pc.'); } } you are missing ) at the end, it should be like that window.addEventListener('DOMContentLoaded', (event) => { const lang = document.documentElement.getAttribute('lang'); if (lang === 'en-us') { document.querySelector('.unit-price').innerHTML = document.querySelector('.unit-price').innerHTML.replace('/ meeter', 'per meter'); } else if (lang === 'en-us') { document.querySelector('.unit-price').innerHTML = document.querySelector('.unit-price').innerHTML.replace('tk', 'pc.'); } })
  7. It looks like google analytic module has some broken js code that prevent other js code to run. try disabling the google analytic module, and see if the issue from this ticket is working.
  8. you can remove https://levysjewelry.co.il/ from the list as it no longer tb shop.
  9. can you share a link to your site?
  10. @DRMasterChief I just did a fresh installation with latest version switched to community default theme, did an order with customer message and everything seems to work just fine.
  11. @DRMasterChief Are you using the standard 5 steps of checkout?
  12. Did you try to add an ID to the textarea? <textarea class="form-control" cols="60" rows="6" name="message" id="message"></textarea>
  13. you can check if the message textarea field has the name "message" or you can check the payload (from network tab) sent to the server if "message" is included at some point
  14. @DRMasterChief I have pointed you to the wrong lines in the code. I just took a quick look at the code and it seems like the message initialy saved at checkout under tb_message column. at validateOrder its being fetched from previously saved at checkout, and than being assigned the newly created order id. https://github.com/thirtybees/thirtybees/blob/main/classes/module/PaymentModule.php#L917 at that point also customer_message & customer_thread are being saved. my guess is that your order process is not saving the message. https://github.com/thirtybees/thirtybees/blob/main/controllers/front/OrderController.php#L401 https://github.com/thirtybees/thirtybees/blob/main/controllers/front/ParentOrderController.php#L253
  15. Order message saved in tb_message column. PaymentModule:::validateOrder() is taking care of it. https://github.com/thirtybees/thirtybees/blob/main/classes/module/PaymentModule.php#L653
  16. if you decided to commet out the part of code you mentioned above than you can put the hidden input right above it <input type="hidden" name="gift_message"> {* <p id="gift_div"> ..... </p> *} but also just hidding it with css will to do job just fine <p id="gift_div" style="display: none !important;"> ... </p>
  17. by commenting it out, you are removing the field from the form and thats why you are getting the error message from the server... because its missing 1 of its fields. you can just hide it from display to avoid this problem. like wrapping it with display: none. another option is to comment it out like you did, but add an hidden input field with the same name. like: <input type="hidden" name="gift_message">
  18. try from here https://github.com/thirtybees/blockadvertising/archive/refs/heads/master.zip
  19. regardless the validation in the module that can be fixed to support null value, i suggest you update the carrier required field of delay (i think its called transit time) make sure you have it for all languages
  20. maybe this can help you https://github.com/thirtybees/niara/blob/master/header.tpl#L89
  21. You can place your own javascript file inside your "theme_folder/js/autoload" and the file should be loaded automatically. Just override the entire function like @wakabayashi mentioned and I believe it should work, because Javascript allows overriding functions.
  22. try to disable modsecurity
  23. classes/controller/FrontController.php classes/controller/FrontController.php
  24. It looks like you changed positions of cart module and top menu module.
  25. Working well on php7.4 - smarty 4.1.1
×
×
  • Create New...