Jump to content
thirty bees forum

zen

Members
  • Posts

    421
  • Joined

  • Last visited

  • Days Won

    60

Everything posted by zen

  1. Thank you Traumflug for pointing to this class I didn't know existed, but as you said it is triggered by ajax on back office.. and this directories deep search is kind of using quite some ressources on the server. Mission done for a part of the script, and I also spent some time to figure out how to put results of the progression of each script lunch into the logs panel. Here is this first attempt on one part of the script that works good on my server actually, It is the part that check ALL files recursivly on the server in 'img/p' and check if extensions exists and if the file should be there or not, and if not file is deleted on the server. I had to insert datas into the configuration table in order to start at the same point and to test if the task has been done today already, also if more than one user start the script.. it will be finished by combined ajax request but start at the break point of the 3sec max chunk each time. My testing shop contains 88252 images on the server and it needed 3 Requests of 3 sec each to complete the task, I don't store the 2 sql queries on the begining of the function, it takes 0.5 sec here each time, should I , if yes How ?
  2. Hello, I just finished this module from personnal scripts, I think it might help people using TB, specially after a migration from prestashop or others e-cms. Sometimes it happens that old websites got a huge image directory, this module will check the presence of the images for each product on the server and delete on the database the assigned image to product that is not available on server. Also it will delete all images or files located inside /img/p directories recursivly that have nothing to do there (without the need of deleting all miniatures and images files from back office and recreate thumbnails). I used to rely on presta manager for this task, but it took such a big amount of time and comitment to finish the task... not really satisfying, so that is why I make my own and now want to share with TB community. Please tell me if it works for you, if you have ideas to improve it, to correct the code or anything related to this module. It might also be included in the "TB cleaner" module as well.. what do you think ? I didn't not put it on github, I prefer to expose it here first. thank you in advance for your bug report or reviews. Zen. zentool_images.zip
  3. zen

    Best import module

    On my opinion, I would not recommand too much the software Store Commander for many reasons I rather use "prestashop manager" wich work good with TB, certified. I have a long relationship with SC, his founder and the Support.. so I speak by experience, but everybody is free to decide whatever he wants for his buisness tools. Anyway, for products import I always use the standart csv native import tool, if you have problems on your php version, why not import them on a local computer or another platform for that it's fresh shop installed and working for XML parsing.. you'll always be able to inject them on database afterward or just copy the database from the dev version filled with new products, that is solution without using a software or payed service.
  4. This method works.. but as you have ID in the original link and also short-link.. it possible to avoid this heavy work and overload the htaccess file which is loaded at each connection and refresh of each page, not the best for server performance if you have a lot of categories, if you have only a few one then it's ok to do so. For products rewrite like this it will make so many lines to include in htaccess, better avoid it whenever you can.
  5. But, maybe it's better for SEO to redirect them to the real url of the category with the dispatcher.php, by using id in that url, avoiding changes of short-links. Not sure for that, just a suggestion.. waiting to be clarified by someone who knows better about SEO.
  6. If you want to achieve this in one single line on apache server you can setup a rewrite rule for this in .htaccess file on root directory of the website in order to achieve this : " {category:/}{id}-{rewrite}{-:ean13}.html is what it used to be, but I changed it to {category:/}{rewrite}.html " RewriteRule ^category/([0-9-]+)-([A-Za-z0-9-]+)-([0-9-]+).html category/$2.html [NC,L] So this old link : http://monsite.com/category/548-monurlshorttened-0396076886677.html will be redirect to : http://monsite.com/category/monurlshorttened.html I hope it will help others 🙂
  7. Yes..exactly ..lol So let it get out of beta version, filled with many items 🙂
  8. For RGPD I use the module from a reliable Prestashop contributor : Eolia, it works great and will help you in case you need it. https://eoliashop.com/module-RGPD works good en TB last version available, certified !
  9. I am happy to be able to get this kind of informations and clarity from TB team, I wish you the best and a lot of success ! Thank you for this great fork that help me a lot in providing good eshops for customers, I wish i have more time to help, but i'll keep on posting on github and try to find the time to help on a new cool theme design for everybody. As for using mailchimp, on my opinion I don't like it specially because it's overpriced, sendinblue also.. So I use https://www.mailwizz.com/ on a cheap dedicated server, and it works like a charm for newsletters campaigns, it takes a little bit of time to setup and warm the IPs but it's worth it ! I don't know sendy like others talk about, it might be good too. I offer also my help for testing purpose if you have or gonna make a dedicated section. As for the buisiness model, what about a marketplace for TB certified modules and themes and services, i am sure you'll get benefit that might make it sustainable for 2 or 3 people and maybe more in a longer term. Long Life to ThirtyBees !
  10. I just modified /config/settings.inc and add this line at the bottom for a quick fix : define('TBPRICEDATABASEPRECISION_','2'); 2 decimals is what i needed, that fixed a lot of problems on cart amounts.
  11. Hello, We needed some statistics on our shop about numbers of orders, revenue, etc.. By customers default group so I created this news module stat file : statsgroups and post it on github. Sorry for not mastering github, I make two pull request instead of one with 2 files.. I hope it won't be a problem to merge it. This module is a base start, i might later add more options if it is needed, we'll see. Best regards, Zen
  12. Hello, I just migrate an old 1.5 Presta website into a TB 1.0.3, this is for B2B only. On previous version we used a module that makes a 1% discount coupon if customer choose to pay by CB (CMCIC French Bank), it workd good. On Presta 1.6 and TB, that is going to be more difficult, in fact the developper of the previous module did not work on it for 1.6.. so I bought a module on addons for that.. Module did not work, refund was accepted 20mn later... One more module bought that seems by looking at screenshots that it might do the job.. but unfortunatly it is also not working for CB payment, in the code it seems that dev include special method for alipay only.. and if module is not cheque or bankwire it will not work. I need help on this to find a module that can work with TB and CB payments modules (no Paypal), if you guys have any info on this or have been working on a dedicated module or modifications on the payment module itself.. please answer here then. Best regards, Nicolas
  13. Bonjour à tous les francophones de la communauté ThirtyBees. ça fait un petit moment que je suis l'évolution et vais mettre en production 2 sites B2B sous TB 1.0.3, c'est un plaisir de travailler avec cette solution, à chaque problème technique on a une réponse, rapide et claire !! les modifications proposées sont acceptées sur Github rapidement aussi.. un régal. A plus tout le monde !
  14. OK, @spidawebs .. just pm me when you'll be ready, i'll give you a zip
  15. @spidawebs The theme is done.. but not integrated in 1.1 branch, many changes have been done since that, and optimization from 1.0.x need to be integrated too. If you want I can give you theme archive so you can use it already on 1.0.2 rlz, this will not include Sass source, if that doesn't bother you.
  16. Hello again, I understand that mdekker has MANY things to do, so i'll try to take time to make the new theme on github properly and with a proper Sass source. Now I do have one question on the community theme : there is the sass directory and 2 css directories /stylesheets/ and /css/, what is /stylesheets/ supposed to do ? what is his purpose ?
  17. Hello, I noticed that the community-theme packed on the 1.0.1 TB rlz needed a bit of lifting, so I did few modifications and I wish you will like it : http://demo.zengraph.com/ Please test it as much as possible, and report design problems, bugs for Css or JS I'll try to fix them and maybe pack this theme with the next TB rlz for the Community.
Ă—
Ă—
  • Create New...