Jump to content
thirty bees forum

toplakd

Silver member
  • Posts

    755
  • Joined

  • Last visited

  • Days Won

    42

Posts posted by toplakd

  1. Yes, $definition was redefined in my override and bottom line was missing.

    That missing line was the cause of my error when updating, and preventing database schema to add this column 🙂

    'display_name'         => ['type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCarrierName', 'required' => true, 'size' => 64],

     

  2. @wakabayashi

    You could try to delete your overrides one by one if you have any for admin area. To see which one is causing the problem.

    I'm updating my live site now as I had to make some small updates to my carrier overrides which generated error when updating

    767521917_Screenshot2022-04-27at08-55-17CoreUpdater.thumb.png.15f07ade36f2b24d559fb6cedf134655.png

    Coreupdater didn't add that column, neither displayed option in database schema due to missing line in my override 🙂

    I do all my updates on backup copy of shop first, to eliminate all the possible issues (mostly no issues) and to check if my overrides work 🙂

  3. Its related with line 3122-3123 in AdminProductsController.php

    if (($price == -1) && ($reduction == 0)) {
     $this->errors[] = Tools::displayError('No reduction value has been submitted');

    If reduction is not newly set or changed within current product editing/saving the error comes up.
    Until fix you can outcomment line 3123 so you will be able to at least save the products.

    • Like 1
    • Thanks 1
  4. I use recaptcha which creates own override of ContactController.php

    However this override is not working together with my other override which I used to disable the sending of "Your message has been correctly sent" email when making contact through contact form.

    I added // comment at the line 235 in original ContactController.php file at the moment, but would like to move that to the override file together witch recaptcha.

    my line 235:

                            ) // || !Mail::Send($this->context->language->id, 'contact_form', ((isset($ct) && Validate::isLoadedObject($ct)) ? sprintf(Mail::l('Your message has been correctly sent #ct%1$s #tc%2$s'), $ct->id, $ct->token) : Mail::l('Your message has been correctly sent')), $varList, $from, null, null, null, $fileAttachment, null, _PS_MAIL_DIR_, false, null, null, $contact->email)

     

  5. Today I wanted to change some info in my HTML block when I noticed that I can't edit Custom blocks anymore.

    So I thought they were corrupted and deleted them.

    Then I realized I can also not create new ones 🙂

     

    Made module reset, deleted, new install. Still not working.

    So I decided to test it on totally clean thirty bees install, and it works on stable 1.3 version.

    Then I proceeded with upgrade to the latest bleeding edge and it stopped working.

    Reverted back to stable 1.3 and it works again.

     

    So something has been changed in bleeding edge as one can not edit or add the html blocks.

    Blocked loading mixed active content “http://thbees.com/index.php?controller=trigger&ts=1637851750”


    @datakick

  6. Thank you for your quick answer.

    As I already have override on that file due to encoding error for Slovenian language ( 'sl' => 'dejavusans',)

    so I just made additional change for english language to helvetica ('en' => 'helvetica',)

    and that reduced the english generated PDF from 501k to 45k.

    Thank you quick solution, that was all I needed.

     

    30 minutes ago, datakick said:

    'příliš žluťoučký kůň

    Didn't spot one yet 🙂

     

  7. Today I came across new problem, my Carrier added an option where I have to upload the Invoice (proforma invoice) when creating shipping order.

    However, the generated PDF from thirty bees is too big as they have maximum size limit.

    Is there an option to make some override for the PDF output quality?

     

    Thank you.

    Dejan

  8. This is my setup:

    taxes-1.png.4e8e766297dcff54bb165d373b305f89.png

     

    When clicking on EU Standard rules, there are all Standard rate taxes for all EU Countries

    677853573_Screenshot2021-11-01at10-57-21TaxRulesEditEUStandardRatesALZARacing.thumb.png.078d03c31c72ce6b63bf3109e07c7640.png

     

    And this is how its set in product/price for the product with standard tax rate.
    I don't have any product with reduced tax rates.

    1566678792_Screenshot2021-11-01at10-57-44ProductsEditXLX2fanmountingbaseALZARacing.png.cf43b0761a5ca43c21ccb29cb900ffe5.png

     

    So the correct tax is then added based on customers shipping location and it's working flawlessly.

    Yes, you can also use the integrated EU Tax for virtual products.

    Yes, you will need to change all the products for the new tax rules to apply.

    No, end prices with tax will not be the same for every EU country as each country has different tax rate.

    • Like 3
  9. Make rounding on each item.

    As you use only 2 decimals you don't see the correct price for single item after tax is added.

    Rounding on each line calculates the 12x product price, with all decimals not only the 2 you see,

    and it then rounds the line total to 2 decimals.

     

×
×
  • Create New...