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.


Popular Content

Showing content with the highest reputation since 06/11/2020 in Posts

  1. 15 points
    Hi everyone We know it's now been a while since our first post. While we'd love to have new news to share, we're still waiting for some important documents to continue the negotiations. Someone here mentioned that buying a company can sometimes take months. Unfortunately we're seeing that this may be the case here too. We are eager to pick up the reigns and move TB forward, but will have to ask you all for your continued patience while we sort out all the details of purchasing TB. We're picking up that it could still take many weeks before this thing has been finalised. On the plus side, we do have some info to share: The Core Developer has essentially been finalised and has indicated that he is on board (subject to the sale of TB being concluded and other details, of course). We will reveal who, once everything is sorted. He will be full-time. And you will be more than happy 😉 We plan to move TB forward with continued maintenance and improvements and evolution. Making TB better, by building on its solid foundation and listening to the community. Not ripping it up and starting again. So no plans to change architecture or any crazy Prestashop 1.7 or Symfony ideas. There will be roadmaps, bug fixes, new features, enhancements, support and massive community involvement, feedback and participation. We look forward to finalising the negotiations and purchase of TB. We will provide feedback within the next few months. Hopefully sooner. In the meantime, please keep using and promoting TB. We promise an exciting future for TB ahead. Thanks for all your support 👍
  2. 9 points
    Hi all We understand that a lot of us have been wondering what has been going on and if Thirty Bees will continue. Everyone being quiet hasn't been helping, we know. Please see this post as assurance that we're on it 👍 We can't divulge much at the moment but suffice to say there is currently something in the works. We had hoped to say something to you all sooner. Unfortunately the negotiations has been taking a lot longer than initially expected. However, we feel pretty close and hope to have a proper announcement soon. One of the Core developers is involved so that should be reassuring. Can't say who just yet though. Either way, you'll be happy. For now, keep your fingers crossed, and please continue your contributions in the forum and keep using Thirty Bees. Also, please show your support by liking this post. There is a bright future for TB and we'd love to see your continued involvement, support and participation. More soon. Watch this space!
  3. 6 points
    I am not part of the new team. As the new team doesn't want to give recognition yet, I say something: Because I have private contact to all almost all big contributors of this project, I have quite a clear idea, who the new owner will be (ofc I won't reveal anything to anyone). The new team is not any mysterious investor, who is lacking of tb/ps expierence. If this deal will be done, all TB users will be better of... So please @all: relax 🙂
  4. 3 points
    It is normal tb/ps behavior because orders are tied to carrier_id and if you change carrier info (like tracking link) and want to look at old order than you can get the carrier info from that time. I really ate this behavior because I believe that the only thing matters in orders are the shipping price and this part already being saved in the order table.
  5. 3 points
    Not sure how to answer this. Seen this 'Goodbye' thread, and perhaps some of these spontanously appearing chats? People talked about "plans", but actually meant their personal wishlist. A wishlist-festival! On top a couple of people who tried to switch a few simple knobs in order to pull developers in for their own favor. Working on tb means hearing complaints and unfulfillable wishes every day. "I want this!", "somebody should do that!", "why is this still not done!!1!!!" ... and all for free and yesterday, of course. Somewhere in the depths of Slack is a channel with lots of developers, most at least partially building their business on tb. Same experience there: "when will this be done?", "should do that!!", "why didn't do somebody XY already???" ... and zero contributions from them, not a single line of code. A quite daunting experience, one needs a thick skin to survive in such an environment. Ah. No hesitation to shell out money towards the old PS universe, but not even thinking about investing these bucks into the tb project. I better stay silent here. Perhaps the recent stirrup is a cleaning rain shower for the project. Because there are also these other merchants and developers. Those developers who don't complain, but show up with code. Those merchants who don't lament about free modules not working perfectly, but pay a developer to get these modules there. It's a joy and a satisfying experience to work with them and for them. Thanks to all of them, they move the project forward!
  6. 2 points
    Thanks @wakabayashi for this initiative. It will have to be thoroughly tested before it is integrated to the core, obviously. But hopefully there won't be any showstoppers. One thing that would be nice to implement together with this functionality would be an audit log, so merchants could see why, when, and by whom was the order modified
  7. 2 points
    Das "Sicherheitslücke" schreibe ich mal in Anführungszeichen, denn es geht um Git, das sowieso keine Sicherheitsmechanismen hat. Was nicht ist, kann auch keine Lücke haben. Es geht um das hier: Zehntausende Server deutscher Firmen von Sicherheitsproblem betroffen Es geht da offensichtlich um (zahlreiche) Server, die Git für die Versionierung des Inhalts verwenden und das Git-Repo direkt auf dem öffentlichen Server haben. Sperrt man dieses Repo nicht, ist es öffentlich zugänglich. Damit kann man das Repo auslesen, z.B. die rohen PHP-Dateien. Problem erkennen. Wie im Artikel schon steht, kann man einfach die passende URL versuchen auszulesen: https://meinedomain.de/.git/config Kommt da was anderes als 403 oder 404 zurück, ist das ein Problem. Abhilfe. 1. Das Verzeichnis /.git in Apache/Nginx sperren. 2. (besser) Das Git-Repo anderswo unterbringen und nach Änderungen den Inhalt der Webseite mit FTP oder Rsync hochladen. Natürlich ohne das Verzeichnis .git. Plesk/cPanel und einige andere haben ein Feature, mit dem man Git-Repos "live" machen kann. Jeder Commit in das Repo wird automatisch auf die öffentliche Seite hochgeladen. In wie weit diese Funktion betroffen ist, kann ich nicht sagen. Geheuer war mir das jedoch noch nie, denn beim committen in ein Repo sind Flüchtigkeitsfehler eigentlich an der Tagesordnung, das will man nicht ungeprüft öffentlich haben. Man kann das jedoch auch wie oben beschrieben heraus finden.
  8. 1 point
  9. 1 point
    Hello. Go to the product's price page. Down in the page there is an option called "Add specific price". You can choose to make a percentage discount or just a fixed discount. In frontpage you will see: new price old price
  10. 1 point
    panda is not ready for tb (1.1.x) bleeding edge only manual update im not sure if its work back update to 1.1.0 but you can try it on test store update to tb 1.1.0 -> update panda via st theme editor -> update bleeding edge
  11. 1 point
    I am on TB 1.1.0 I will do a backup before upgrading, but looks fine on my test shop.
  12. 1 point
    Some things would be easier to answer if there was more information on various questions. For example, which TB version, which template, etc. ..... Sometimes it also helps to search the forum ....... Example your question 2 see here:
  13. 1 point
    I fixed it. The install function needs to look like this, to circumvent the problem: public function install() { parent::updateTranslationsAfterInstall(false); return parent::install(); } Also submitted an issue on github: https://github.com/thirtybees/thirtybees/issues/1220
  14. 1 point
    Hello! I've just found out that the example file you can download to copy the headers for combination import is wrong. The second column should be 'Reference' and not 'Attribute'. The error was about group_type, that has to be of one of values: select, radio, color I read in a forum that Prestashop 1.6 has this problem too. I think it would be really great, to understand CSV, that the products listed to be the same that comes in TB as test products. Edit: I attached the same file, just added a new row (the second one). combinations_import.csv
  15. 1 point
    Your .htaccess seems to be fine. Robots.txt on the other way, does not cause 500 errors. Go to your Admin Panel Performance options and Enable debug mode. Then see what 500 hides from you.
  16. 1 point
    Genau. Die 19% von 2019 haben dann eben eine andere interne ID als die 19% von 2021, doch das interessiert bestenfalls Datenbank-Ästheten. Wichtig ist doch, dass der richtige Prozentsatz auf der Rechnung steht.
  17. 1 point
    Das ist kein Fehler, sondern völlig richtig so. Da braucht man auch nichts "reaktivieren". Steigt die Mehrwertsteuer wieder, wird der Steuersatz erneut kopiert, alles ist prima. Keinerlei Grund, in der Datenbank herum zu fummeln.
  18. 1 point
    @Fernando In custom CSS I would go with: body.category-{id_category} .category-info { display: none;} .category-info will hide h1 and description .page-heading.product-listing would hide only h1
  19. 1 point
    Email templates don't have smarty tags. There are only placeholders that will be replaced with *static* content. This means that there can be no loops, no if/else, or other control blocks in the email templates. Which sucks. Replacement content is defined by php code. Usually it is retrieved from existing data (order reference code, customer name, etc...). In some special cases (like here), the content is generated by evaluating smarty template. Template returns static html markup, which is then replaced into the email template.
  20. 1 point
    In controllers/admin/AdminCustomCodeController.php, find the array definition starting with: Configuration::CUSTOMCODE_METAS => [ (probably line 29) To this array definition, add 'maxLines' => 100, This lets this field grow to up to 100 lines. Additional keywords: 'fontSize', 'minLines', 'showPrintMargin', 'enableBasicAutocompletion', 'enableSnippets' and 'enableLiveAutocompletion'. Same applies to the other fields defined in this controller ( = on this page) and to code input fields elsewhere.
  21. 1 point
    Thank you @yaniv14 ...that was the right solution ... great catch!!! 👍👍👍 @wakabayashiyou were very close, its me with so little code understanding not coming to the point ... thank you too! 🙏 So, if someone have a similar problem, this is the final code assembled to conditionally display my module in the right column on both cms categoriy and related cms page by given ID: {if $smarty.get.id_cms || $smarty.get.id_cms_category} {if in_array($id_cms, array(4,13,14,18,19,20,22)) || in_array($smarty.get.id_cms_category, array(2))} {$content|escape:nofilter} {/if} {/if}
  22. 1 point
    try: {if $smarty.get.id_cms_category} {if in_array($smarty.get.id_cms_category, array(2))} {$content|escape:nofilter} {/if} {/if}
  23. 1 point
    Oh nice! That reminds me on my own start with coding. Keep going 😉 I am not sure, what the variable $page_name is. Maybe this is working: {if $smarty.get.id_cms_category} {if in_array($id_cms_category, array(2))} {$content|escape:nofilter} {/if} {/if} I for myself would rather check CmsController and go for something like {if isset($cms_category) && in_array($cms_category->id, array(2))} {$content|escape:nofilter} {/if} But I haven't tested it... Just wrote it 😅 Just when rethinking it. Maybe this is not working, since it's another column. Maybe you have to use $smarty.get.cms_category. Please confirm if some of my lines are working ^^
  24. 1 point
    One more :) I had to change some things to make it work well. I'll send my files, maybe it's useful. 1) In Niara, as I said above, checkboxes didn't appear. Just after radio buttons there is always a <span> tag, unlike Community. If it's not there, the radio button is not shown. this is true in 'Accept terms', select delivery address and in carrier selection. 2) Instead of adding all the functions from order-carrier.js to order-address.js, I added those two files to the override override/controllers/front/OrderController.php public function setMedia() { parent::setMedia(); if ($this->step == 1) { $this->addJS(_THEME_JS_DIR_.'order-address.js'); $this->addJS(_THEME_JS_DIR_.'order-carrier.js'); } } 3) In Step 2, I had an error in js console with updateExtraCarrier (did't find it, as it's in cart-summary.js). I added that function at the end of order-carrier.js. It's really cleaner to have 3 steps, maybe these changes are useful for somebody using Niara. If you find something wrong, please tell me. To use it, just like parents', make backup of your files and uncompress the .zip file in your shops' / 3step-niara.zip
  25. 1 point
    moin zusammen. auf das Risiko, dass dieses Problem bereits lange gelöst ist. 🙂 Für mich sieht das nach ner Kleinigkeit im CSS-Code aus. Soll heissen: Das FAQ-Modul möchte einen breiteren Rahmen zur Anzeige nutzen, als das Theme an der Stelle vorsieht/erlaubt. Ich würde da mit den Webdevelopertools der meistren Browser mir mal den Bereich näher ansehen und feststellen, welcher Parameter, welche Abmessung da zu groß ist. die meisten Tools erlaubern auch das ausprobieren anderer Werte uns sagen Dir auch, in welcher Datei du die Ampassungen vornehmen muss. in diesem Sinne Viele Grüße Klaus / Lockesoft
  26. 1 point
    I don't think you have to worry for now. Such things just take time apparently.
  27. 1 point
    I have a fresh installation of TB that I want to use with an old db. The working installation I have has always had things wrong (ie blog not working) so I do not want the old code base. Im shifting domains completely, with a fresh code base. But I do want my old database. Whats the suggestion here?
  28. 1 point
    Hmm, interesting, for me transparent and non-square images work! I've used transparent category images for several years now on PS, and my product pictures have alwasy been 16:9 (but not transparent) I've just tested it, and I've used a transparent product image, and it shows up transparent on the product page, as expected. Check in the Back office, under Preferences -> Images. There's a setting to "always use PNG" and there's also various setting to change the size and ratio of your images. Of course, it may depend on your theme, I don't think my theme uses the standard image carousel, but instead I have slippry.js
  29. 1 point
    upload your picture use the custom code -> change background css
  30. 1 point
    Use the Core Updater module.
  31. 1 point
    There are (at least) two ways to format prices. One is the way you used. The other way can be found in back office ->Localization -> Currencies -> (edit currency). There one can turn off 'auto format' to get additional options. And even the ability to show one currency with decimals and another one without.
  32. 1 point
    As far as I know he is not. And the deal being worked out is no where around those numbers.
  33. 1 point
  34. 1 point
  35. 1 point
    Earlier this week I was asked for advice on two vulnerabilities somebody assumed to exist on his site. Lo’ and behold, s/he was right both times. For one of them I wrote a blog post, showing how to detect this vulnerability and also a rough sketch on how to fix the server if needed. The Host Header Injection Booboo Detection is quite easy on the command line. Just run this, with <my host> replaced by your actual host: curl -v -H "Host: evil.com" https://<my host> 2>&1 | grep evil.com If the answer contains something with evil.com, the host is vulnerable. Testing should happen on all hosts in the public and with HTTP as well as HTTPS.
  36. 1 point
    Hello. A month ago I saw a store that showed thumbnails of the products listed as you type. I tried to do it, and found this: https://www.prestashop.com/forums/topic/511807-add-images-in-search-bar/ After changing some variable and fields names I managed to make it work, but changing /classes/Search.php. Now I know how to make overrides, here is the explanation for Niara theme. Again if there are changes to make it work better just tell me. First we change one query and then the js code to show the products with the image. 1) copy classes/Search.php to override/classes/ 2) edit override/classes/Search.php, change this line: class SearchCore to class Search extends SearchCore 3) go to this if ($ajax) { ... } and change the whole block to: if ($ajax) { $sql = 'SELECT DISTINCT p.id_product, pl.name pname, cl.name cname, cl.link_rewrite crewrite, pl.link_rewrite prewrite '.$score.', pi.id_image pimg FROM '._DB_PREFIX_.'product p INNER JOIN `'._DB_PREFIX_.'product_lang` pl ON ( p.`id_product` = pl.`id_product` AND pl.`id_lang` = '.(int) $idLang.Shop::addSqlRestrictionOnLang('pl').' ) '.Shop::addSqlAssociation('product', 'p').' INNER JOIN `'._DB_PREFIX_.'category_lang` cl ON ( product_shop.`id_category_default` = cl.`id_category` AND cl.`id_lang` = '.(int) $idLang.Shop::addSqlRestrictionOnLang('cl').' ) INNER JOIN `'._DB_PREFIX_.'image` pi ON ( p.`id_product` = pi.`id_product` AND position = 1 ) WHERE p.`id_product` '.$productPool.' ORDER BY position DESC LIMIT 10'; return $db->executeS($sql, true, false); } Delete every function but the one we changed. At the bottom don't forget to leave a '}' to close the class definition. In order to make TB take the override, delete /cache/class_index.php We've made the query that now contains our product's image. Now we have to show it. Edit /themes/niara/js/modules/blocksearch/blocksearch.js And change this: parse: function(data) { return data.map(function(product) { return { data: product, value: product.cname + ' > ' + product.pname }; }); }, with: parse: function(data) { return data.map(function(product) { return { data: product, value: '<img src="https://YOUR-STORE/img/p/4/2/' + product.pimg + '-Niara_small.jpg" /> ' + product.cname + ' > ' + product.pname }; }); }, Now just type something it the search bar, wait a second and look all the products appear with its images :) Search.php
  37. 1 point
    Well, I could solve the second question, about using one specific carrier for one (or more) cities (in fact postal codes). I followed this post: https://www.prestashop.com/forums/topic/160695-solved-carrier-by-postcode-the-easy-way/ but didn't work, so I'll write my steps. It's my first override, if there is something wrong just tell me, please. 1) Go to Localization -> Zone. Add a new one. In my case I used the name of my city. It could be anything. Remember the Zone ID of this zone, we'll need it. 2) Go to Transport -> Carriers. Create a new carrier, and select just the zone we've just created. Put some price and weight ranges. Select 'most expensive' in out-of-range (It doesn't work if you don't, I don't know why) 3) Copy "classes/Address.php" to "override/classes/Address.php". 4) In line 37 change: class AddressCore extends ObjectModel to: class Address extends AddressCore Add a } in line 353 (at the very end of the function getZoneById() delete lines 39-309 Line 322, function getZoneById($idAddress), we'll add some lines at start. 2450 is the Postal Code of the city you want to use with a specific Carrier (change it with yours). As it's an array, it could be more than one postal code (just separate them with commas). where it says '9', write your new Zone ID public static function getZoneById($idAddress) { $postcode=self::getPostcodeByAddress($idAddress); if(in_array($postcode,array(2450))){ return 9; } else{ Now go just before the function getZoneByAddress, and add this function: /** * Return postcode of address * * @param $id_address Address id * @return integer postcode */ public static function getPostcodeByAddress($id_address){ $row = Db::getInstance()->getRow(' SELECT `postcode` FROM '._DB_PREFIX_.'address a WHERE a.`id_address` = '.(int)($id_address)); return $row['postcode']; } Ready. As we have changed some code, we need to make TB read the changes. Delete /cache/class_index.php Go and try to checkout, it should show the carrier you made specially for our new zone. Address.php
  38. 1 point
    Great! Thank you onem ore time @datakick ! Perfect as always! Can we expect the same amount of differences in other tables aswell? (in this one -4 rows)
  39. 1 point
    Bist Du sicher, dass Du das richtig verstanden hast? Traumflug hat Recht: Alles, was nicht notwendig ist, benötigt eine Einwilligung. woher ich das weiß? Ich arbeite in diesem Bereich.
  40. 1 point
    Your comment is correct. (How do I know? I work in this area.)
  41. 1 point
    Just letting you know guys I have few own modules.. Some of their functionality can be part of TB core like HTTP2 push, fast XML export with configurable schema.. I will share on github with community when Its ready and find spare time.
  42. 1 point
    If you're at fixing stuff, then one thing. Just one small thing I can't watch at... or 2 rather... Pretty please... it hurts me 😞
  43. 1 point
    That was it! Thanks. When it's set I can't login. I had set it a bit prior to uploading the Suite but I was still always logged in, so didn't make the connection.
  44. 1 point
    Ideally there were some standardized ERP connection protocol. Better to implement that than a connector for only a specific ERP suite. Still the idea goes into the right direction. Warehouse handling is a typical task one better outsources to a distinct software, even if it's a software developed by the same project.
  45. 1 point
    No. That's nothing critical, as its only related to "Advanced Parameters/Email/Email subject template" field, which is missing "[{shop_name}] {subject}". You have to add it manually. Now after upgrade, install core updater, update to latest bleeding edge. Apply fixes in Core Updater / Database schema (for developers) (second tab) Install Datakick consistency check module and check with that. Than you are ready to go. It's always good that you do all the upgrades and fixes on spare copy of your live shop, so you can check if everything works as it should.
  46. 1 point
    So I finally got this sussed! Go to Positions ->Click Paypal Modules and this brings up all the hooks associated with. Under DisplayFooterProduct, which hooks modules to the front office product page and this is where you unhook the Paypal module and it removes it from the product page! 😎
  47. 1 point
    I just discovered the lack of TB on Cloudways. Very unfortunate change as it made setting up dev sites super easy. I hope Cloudways themselves continue to function okay as they are a great balance between a shared host and a bare VPS.
  48. 1 point
    Got the same issue, I got this for answer We have stopped supporting Thirtybees from Cloudways console. You can install it manually by creating a custom PHP application, then install Thirtybees in it.
  49. 1 point
  50. 1 point
    I would use the layout from the default theme as a base, then work from there. Starting from scratch is going to kill you because there is so much javascript and smarty you would need to learn to make a theme from scratch. I have a small article on how to compile with our theme, so you can make changes in the scss files and then compile them into your own css files. https://thirtybees.com/developer-blog/editing-theme-css-linux/
  • Create New...