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.

Traumflug

Administrators
  • Content Count

    1,383
  • Joined

  • Last visited

  • Days Won

    39

Traumflug last won the day on January 10

Traumflug had the most liked content!

Community Reputation

675 Excellent

4 Followers

About Traumflug

  • Rank
    Markus Hitter

Recent Profile Visitors

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

  1. 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'); } $this->ajaxDie(json_encode([
  2. Not sure whether this is a good idea. NoCaptchaRecaptcha and nocaptcharecaptcha are two distinct modules, one can have both installed. Any attempt to deviate from the name of the directory on disk might well lead to unexpected behavior in other places.
  3. 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.
  4. 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.
  5. That's intentional, because on small screens, large text would cover the whole image or not even fit on the screen. It's the 'hidden-xs' here: https://github.com/thirtybees/niara/blob/master/modules/homeslider/homeslider.tpl#L18
  6. IIRC it's like 5 images per request. 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.
  7. 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.
  8. Such generic images should come from img/l/.
  9. 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.
  10. Since about a year, these do get removed by the migration module. https://github.com/thirtybees/psonesixmigrator/blob/master/classes/AjaxProcessor.php#L878-L880
  11. Let me repeat: XML files aren't executable, so no threat. Which means, delete them or don't, it doesn't matter.
  12. 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.
  13. Overrides sind selten eine gute Idee. An der markierten Stelle drängt sich doch geradezu ein Hook auf. Wie der, der auch die Symbole für die Kreditkarten anzeigt.
×
×
  • Create New...