Jump to content
thirty bees forum

yaniv14

Members
  • Posts

    581
  • Joined

  • Last visited

  • Days Won

    24

Everything posted by yaniv14

  1. I guess you can do it like that. but if you only interested in the show condition part, than you can take only product.tpl file
  2. This requires modification in the theme -> product.tpl Did you upgraded to v1.0.2 theme also?
  3. The community theme will always be updated to support core changes. So I guess it is the best to use. What I usually do, is creating a new theme based on duplication of community theme.
  4. My guess is that the error is related to that issue: https://github.com/thirtybees/thirtybees/issues/321 That has been fixed but not merged with TB yet. try to manually apply those changes (https://github.com/thirtybees/thirtybees/commit/fff86f1cfb23b45daa531367eecc1f42bfe37ed3)
  5. You can use the same url's in TB like you used to in PS. And maybe you can start making some 301's little by little until you cover/change all your urls. But at the beginning just keep it the same so you won't loose google history.
  6. @mdekker I don't know if you aware to the fact that the duplicated url menu is not added with the migration. On all the migration I did, I had to add it manually.
  7. I always use Google spread sheet to create CSV for import (File -> Download as -> CSV). I find it best to deal with unicode.
  8. Not sure if its a bug, but I am working on a module that connect to new user registration hook (hookActionCustomerAccountAdd) and I have noticed that the $params return all POST data including the password field. I don't know if its ok or not and if someone can use it to fetch users information. Any thoughts?
  9. yaniv14

    Currency format

    In my case the format is just fine (the thousand separator, symbol location and symbol space is perfect). The only thing that I need is to get rid of the decimal points. The shop owner want to show only round numbers not floats (399 and not 399.00).
  10. yaniv14

    Currency format

    @mdekker I have a new shop that I can't go live unless I can display the price without decimal '1050' instead of '1500.00' I've tried modifying displayPrice & commerceguys/intl but with no luck. Can you try point me to a solution? I don't mind having it as an ugly patch because this shop is only for Israel with only one country/currency/language Thanks
  11. No, still same error. I dont know if it helps in anything but, I can see a zip file in cache folder that has only Config.xml. probably the process breaks after. I've only tested theme export on a shop with Hebrew language only (no Eng at all). The same error is on windows and linux (tried your fix on both)
  12. Yes. But one important thing I forgot to mention..... Its only a bug on windows. I've just realized that. because I am always uploading the shop to production once its ready, so I just tested it on linux and its working fine with the logo name.
  13. Like i said before, I didn't notice too many windows only issues with shops i've created. So I guess we can handle each bug at the time. I was able to make the translations work on windows. Tell me what you think. Original function: ``` public static function getEmailHTML($email) { if (defined('PSHOSTMODE') && strpos($email, PSMAILDIR) !== false) { $emailFile = $email; } elseif (PSBASEURI != '/') { $emailFile = strreplace(PS_BASE_URI, '', _PSROOTDIR.'/').$email; } else { $emailFile = PSROOTDIR.$email; } $emailHtml = file_get_contents($emailFile); return $emailHtml; } ``` New function: ``` public static function getEmailHTML($email) { if (defined('PSHOSTMODE') && strpos($email, PSMAILDIR) !== false) { $emailFile = $email; } elseif (PSBASEURI != DIRECTORYSEPARATOR) { $emailFile = strreplace(strreplace('/', DIRECTORYSEPARATOR, PSBASEURI), '', PSROOTDIR.DIRECTORYSEPARATOR).$email; } else { $emailFile = _PSROOTDIR.$email; } if (file_exists($emailFile)) { $emailHtml = file_get_contents($emailFile); } else { $emailHtml = ''; } return $emailHtml; } ```
  14. And what if its not a windows only issue (the mail translations)? I mean it seems to me that the path to the email template is wrong when working inside a sub folder as base uri. Now wamp server always works like that but on production server I never used a folder to install TB or PS. Can you please confirm that translation for email template works when TB installed inside a folder (www.yourdomain.com/shop/) on a linux server.
  15. @mdekker I don't believe that anyone will host a production TB site on windows server. But in my case (and probably for few others) I use wamp server to run local PHP development, and it would be nice to finish it completely locally before uploading it to linux server for production. I dont think there are too many windows bugs (I did more than 30 PS shops in the last 5 years with the same bugs, or worst), and I believe that most off them have a related issue that once fixed in one place will take care on all of them. In my case, I wasn't able to install TB Blog locally, and wasn't able to translate email templates (those are the only 2 things that bothered me on a certain shop I did). I had to do both of them on the production server. I don't know if it will helps but I know that on wamp server you create a folder for the shop, and then PSROOTDIR is like: 'C:\wamp\www\tbshop' But then the PSBASEURI is '/tbshop/'. when looking at the translation controller: $emailFile = strreplace(PS_BASE_URI, '', _PSROOTDIR.'/').$email; i am getting the base uri twice: 1 from the strreplace and the 2nd from the $email (PSMODULEDIR_) I am not sure it this will lead anywhere.
  16. Yes, I know that PHP have it. But are we using is in TB code? DIRECTORYSEPARATOR, PATHSEPARATOR .....
  17. I think you can add in the one page checkout module you are using which module not to pop up in a window. you need to add the paypal to the list of modules.
  18. You can buy a module for that. https://codecanyon.net/item/slider-revolution-responsive-prestashop-module/7140939?s_rank=5 just make sure it compatible with TB
  19. @mdekker I've noticed similar issue on windows with mail translations that seems to be related to path output with backslash and forward slash combined. I think we need to handle directory separators in a way that work both linux & windows globally.
  20. yaniv14

    Mix CSS

    in global.css Lines 3482-3483 should be: border-bottom-left-radius: 20px; border-top-left-radius: 20px; Lines 3497-3498 should be: border-bottom-right-radius: 20px; border-top-right-radius: 20px;
  21. yaniv14

    Mix CSS

    https://www.host-thirty.com/addons/mailserver-antivirus-1-month
  22. yaniv14

    Mix CSS

    On your product page the plus/minus buttons border is wrong
  23. yaniv14

    Mix CSS

    @Havouza you know that each page set its name as id for the body. So basically if you want something for a specific page you can use something like: cms td {something} category td {something else}
  24. yaniv14

    DMCA

    Just google shopping sites in US/Europe. You will probably find a billion. I dont recommend looking at the big ones, like: macys, oldnavy, etc.... I know that eCommerce also indicates about returns, transactions and stuff. and thats why I recommend eCommerce instead of Dropbox
×
×
  • Create New...