Jump to content

Welcome, Guest!

By registering with us, you'll be able to discuss, share and private message with other members of our community.


  • Content Count

  • Joined

  • Last visited

  • Days Won


Posts posted by Traumflug

  1. Unless you're prepared to learn Git command line stuff, the best bet is to use Core Updater, the Bleeding Edge versions. Core Updater follows the repository on Github closely and gets updated automatically; each commit to the Github repository arrives there a couple of minutes later. It's designed behave this way and get used like this.

    This also means: version 1.1.x there as of today isn't the same as 1.1.x last week or next week.

    • Like 1
    • Thanks 1

  2. The leftmost button in the TinyMCE editor reads "Source Code". Click that and you get a source code editor, without any WYSIWYG. One can also switch back and forth between these two views.

  3. 21 hours ago, led24ee said:

    When I place this on 1 there is still two places after dot, but it is rounded.

    That's not intended, there are currencies which actually want no digits after the decimal. Still glad to see this "misbehavior" matches what you want.

    • Like 1

  4. Well, "Number of decimals" rounds to the given decimals, but also doesn't display additional ones. For example, rounding to full Euros works, but also displays it as € 123 rather than € 123.00.

    I'm pretty sure one could add some CSS to always add .00 to prices.

  5. Nice catch. That's when attempting to edit a product in an order in back office, bottommost panel, right?

    I'm just curious how you managed to get this error message, I don't get it. Which kind of PHP is this?

    Anyways, this small patch should fix it:

    diff --git a/controllers/admin/AdminOrdersController.php b/controllers/admin/AdminOrdersController.php
    index b04f824fb9..100813972a 100644
    --- a/controllers/admin/AdminOrdersController.php
    +++ b/controllers/admin/AdminOrdersController.php
    @@ -2710,7 +2710,7 @@ class AdminOrdersControllerCore extends AdminController
             $decimals = 0;
    -        if ($currency->decimals) {
    +        if ($this->context->currency->decimals) {
                 $decimals = Configuration::get('PS_PRICE_DISPLAY_PRECISION');

  6. It'd be pretty complicated to find a precise logic on how to apply such discounts. Where to apply it and where not. Hence the usual solution is to apply discounts either to a single product only, or to the order total.

  7. 21 hours ago, MarcoMCM said:

    It should work because you are fooling only your computer.

    PHP code does quite a number of decisions based on the host name given. To get it working with an IP, at very least Preferences -> SEO & URLs -> Shop domain needs adjustment. Put the IP into there and into SSL domain.

    In case you wonder why thirty bees doesn't figure this automatically: these redirects are needed for multishop, for redirecton HTTP -> HTTPS and such stuff. There are a number of cases where these redirections make sense.

  8. 23 hours ago, Kashir2000 said:

    Images are regenerated in batch of 1 product, right?

    IIRC it's like 5 images per request.

    23 hours ago, Kashir2000 said:

    script was hammering server for same image whole day

    This should be enough proof for the conclusion that there's something wrong with this image. I'd open it in GIMP, export it into a new file and try again.

    • Like 1

  9. 14 hours ago, musicmaster said:

    It amazes me that I cannot find an option in TB to generate only missing images - as Prestashop always had and still has. Am I missing something?

    Maybe you miss that missing images get generated on the fly. Just request them, e.g. by visiting the product page, and they're there.

    • Like 1

  10. This obviously depends on how this other module hides the first module.

    However, the way you describe it, it makes no sense to have one module to add currencies, and another module to revert this. Removing both module sounds more logical.

  11. 2 hours ago, piet said:
    What about TB?

    That's pretty simple to answer. According to the document, vulnerable modules are:

    • autoupdater (confirmed)
    • gamification (perhaps)
    • pscartabandonmentpro (third party)
    • ps_facetedsearch (third party)

    None of these modules ship with thirty bees.

    To find more candidates and confirm a safe state, search for folders with the name 'phpunit'. There should be none and if there is any, delete it with all its content. Code in there is needed for code development, only.

    Command line for those who have shell access:

      find . -type d | grep -i phpunit

    Run this in the shop's root folder, it should create no output.

    • Like 2
    • Thanks 1
  • Create New...