Jump to content
thirty bees forum

yaniv14

Members
  • Posts

    599
  • Joined

  • Last visited

  • Days Won

    24

yaniv14 last won the day on December 9 2023

yaniv14 had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

yaniv14's Achievements

  1. 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'}">
  2. 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).
  3. 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
  4. 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'}
  5. did you chaged A record to point to new ip? if you changed nameservers than it can take some time.
  6. if you are running your site on ip address and not domain than you need to modify shop_url table in the DB
  7. did you delete the cache/class_index file?
  8. 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.'); } });
  9. @led24ee it also looks like your matomo module has some broken code. try disabling matomo as well.
  10. 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.'); } })
  11. 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.
  12. you can remove https://levysjewelry.co.il/ from the list as it no longer tb shop.
  13. can you share a link to your site?
  14. @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.
  15. @DRMasterChief Are you using the standard 5 steps of checkout?
×
×
  • Create New...