Jump to content
thirty bees forum

yaniv14

Trusted Members
  • Posts

    630
  • Joined

  • Last visited

  • Days Won

    28

Everything posted by yaniv14

  1. classes/ImageManager.php look for function generateImageTypesByEntity also you can check function getSourceImage. this function look for the file existence on the disk.
  2. it seems like those missing images are being generated by pagespeed module or something like that (based on the url). if you have such a module maybe you can try to disable it and see if it helps.
  3. you should use phpmailer module by thirtybees, and yes it is normal behavior for the password field to not show after saved
  4. configure sending email as html
  5. maybe its not indexed. try to reindex it in back office -> preferences -> search
  6. just edit the file your self and replace lines 165-171 with the single line @datakick mentioned
  7. just add img src where ever you want it on the file. <img src="{$link->getImageLink($product.link_rewrite, $product.image->id_image, 'medium_default')|escape:'html':'UTF-8'}">
  8. i dont understand what you mean by default niara medium and not the image of the product. you can choose which thumbnail to show based on your image types. on the sample i sent its taking the medium_default. order history is the page that shows all my purchases history, order-detail is the template that render the order it self (when you click on an order).
  9. yes, inside order-detail.tpl just look for this line <div id="order-detail-content" class="table_block table-responsive"> and after that line you the table. just add another th in the thead and another td to tbody. you will also need to modify the tfoot colspans to match the extra column. dont forget that {$link->getImageLink($product.link_rewrite, $product.image->id_image, 'medium_default')|escape:'html':'UTF-8'} only return the url to the image, so you will need to wrap it inside src tag
  10. you dont need to modify any controller. Order->getProducts() already contains image information. you can just add to your order-detail.tpl {$link->getImageLink($product.link_rewrite, $product.image->id_image, 'medium_default')|escape:'html':'UTF-8'}
  11. did you chaged A record to point to new ip? if you changed nameservers than it can take some time.
  12. if you are running your site on ip address and not domain than you need to modify shop_url table in the DB
  13. did you delete the cache/class_index file?
  14. 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.'); } });
  15. @led24ee it also looks like your matomo module has some broken code. try disabling matomo as well.
  16. 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.'); } })
  17. 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.
  18. you can remove https://levysjewelry.co.il/ from the list as it no longer tb shop.
  19. can you share a link to your site?
  20. @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.
  21. @DRMasterChief Are you using the standard 5 steps of checkout?
  22. Did you try to add an ID to the textarea? <textarea class="form-control" cols="60" rows="6" name="message" id="message"></textarea>
  23. 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
  24. @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
  25. 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
×
×
  • Create New...