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

Community Reputation

9 Neutral

Recent Profile Visitors

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

  1. zen

    Best import module

    SC means Store commander
  2. zen

    Best import module

    @Pedalman Store Manager supports TB, try it and you'll forget about SC totaly.
  3. zen

    Best import module

    don't you have Bootcamp for windows too ?
  4. zen

    Best import module

    You can test it for free, and then make your own opinion. I think it's the best way to know by yourself.
  5. Yes.. that is something I didn't check on the module.. so you mean it will be a good idea to erase all directories and index.php inside that does not contain any images files or sub-directory ? Let me think about this yes...I'll try to find a way for that. I'll allso test the php cache file.. or the cache mysql request maybe good option too, have to test if it improve the speed. But before I'll finish the commit on github properly because trying to do too fast I thought one function only is better.. it is not : better to do in like in the module in 2 steps : - clean directories and unattended files - clean database from images product that cannot be found on server... each task with 3 sec max exec time with restart when stoped... if first clean is over, the script will lunch the second one..and that only one time per day, does it sounds logic ? I Hope to finish it soon.
  6. zen

    Bulk Price

    Hello, I do have many scripts home-made to synch datas of presta 1.6 and thirtybees for prices, stocks, availablity..etc The principle is simple : someone put a file each day, sometimes each hour, on a ftp directory on the same server (easyier) or another server And that file is treated by the script wich changes datas in the mysql database, and that is started by crontask or pointing to the file in a webbrowser for debug purpose. If you want i can give you basic structure about it.. but you need to understand what to change to make it works on your side. I wish I have time to build a dedicated module for that, it could be usefull for many of us.
  7. I add it on github on the ShopMaintenance class .. not yet.. missed betwen the two scripts.. have to do better
  8. 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 ?
  9. 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
  10. 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.
  11. 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.
  12. 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.
  13. 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 🙂
  14. zen

    The State of thirty bees

    Yes..exactly ..lol So let it get out of beta version, filled with many items 🙂