Jump to content
thirty bees forum

yaniv14

Members
  • Posts

    580
  • Joined

  • Last visited

  • Days Won

    24

Posts posted by yaniv14

  1. It looks like DHL has switched to a new API and maybe dropped support for older WSDL

    if you look in there main wsdl page you will see:

    <wsdl:documentation> NOTICE: This WSDL is valid for implementations that are in production prior to 14th March 2021. Please note that there is a new WSDL as part of the latest MyDHL API Developer guide. Please contact your local DHL IT Contact. </wsdl:documentation>

    i am not using dhl so I can't tell much. Good luck

    • Like 1
  2. The reason that your migration fail was not related to thirtybees or prestashop, it was because you add an override with code that not supported by PHP 7.2+.

    I am not familiar with the migration process but I recommend doing it without your overrides (for start), and also after migrate you should continue updating to latest thirtybees version.

    11 hours ago, papagino said:

    Fatal error: Access level to Link::getLangLink() must be public (as in class LinkCore) in /home4/amaxmed1/public_html/override/classes/Link.php on line 192

    regarding this error, I think you have something like: "private function getLangLink(.....)" when should have: "public function getLangLink(.....)"

  3. if you only need it in product page, so you can try adding this code to the bottom of "themes/niara/js/product.js"

    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('per meeter', 'for meter');
        } else if (lang === 'tk') {
    		document.querySelector('.unit-price').innerHTML = document.querySelector('.unit-price').innerHTML.replace('per meeter', 'for meter in tk');
        }
    });

     

  4. 10 hours ago, led24ee said:

    Well for this kind of delivery there is estimated cost. If product cost is about 2000 then there isn't really point is this delivery 110 or 140. At the moment I found that this is also not important so I can live without this. But I need to modify another module. I'm trying this almost 2 days, but still stuck. If anyone can help then I can give more details.

    If its a different module then start a new topic and give more details, and we will try to help.

×
×
  • Create New...