Jump to content
thirty bees forum

datakick

Administrators
  • Posts

    3,106
  • Joined

  • Last visited

  • Days Won

    479

Everything posted by datakick

  1. You need to increase php memory_limit in your php.ini, 128MB is not enough.
  2. Hi @LucaSabatoUK, does this module work on vanilla ps16? If so, what issues did you encounter? Since we are talking about open source module, could you provide link to github repository? I'll have a look at it in my spare time
  3. That's true, the source images must be high quality. Merchant needs to make sure that the white background does not blend into the image. At this point, it's probably easier to just remove the background altogether, and make it transparent png. Then we could simply show this image on top of any background
  4. I think it's indeed some on-the-fly image manipulation. https://static.toom.de/produkte/bilder/1450502/145050202.png https://static.toom.de/produkte/bilder/1450502/145050202.png?grey=1 This effect can be achieved by imagemagick, for example by using floodfill. For this to work, source images must be in good quality, and have pure white background.
  5. Does this module work on ps16?
  6. @Steve, if your php can't send emails directly, you can always use stmp. Simply enter your credentials for your gmail (or any other) account, and thirtybees will send emails through this email address.
  7. highest 1.6 version, in this case 1.6.1
  8. @Fabsca look into log directory inside your thirtybees installation, there should be file with error log. Let us know the error message
  9. sure, it will be part of the upcoming release. Here's all the commits that are scheduled: https://github.com/thirtybees/thirtybees/compare/1.0.7...1.0.x
  10. @danwarrior could you share link to your course?
  11. Try to change this order by
  12. did you restarted php server after you changed php.ini file?
  13. When downloading modules from github, it's always recommended to download official releases. When you click on big grean clone/download button, you are downloading source code. But that does not mean it's a valid module. Some modules require build process to be performed. Developers often do this for you and publish valid packaged in release tab.
  14. @haylau sure, you can download and use the new version right now. Or you can wait, as it will be part of the next tb release
  15. This is indeed a compatibility problem in thirtybees core. I've filled an issue here: https://github.com/thirtybees/thirtybees/issues/786
  16. @Pilou that's the same hook you already modified, see your first post
  17. @foolab said in [Free Module]Revws - Product Reviews: wait! I didn’t “mess” with templates so much but I always thought that was possible to add a hook from TB/PS backend, and then attach to it what module view you want… it has to be done the other way around instead?! Well, you can surely create a new hook, and transplant existing module's hook to that one. But that won't help you in any way, because this new hook will not be triggered by your theme (unless you have one of those fancy themes that let you to choose what hooks to display where). For normal themes (like community), you will need to edit template file, and call the new hook manually
  18. @Angstony_2 I have no idea, the snippet works just fine on my server, and it does not change search results in any way. I'm using community theme -- what theme do you have? You can try it on my demo server
  19. @Pilou that warning is not really important, you can safely disregard it. It's really strange that it does not work for you. I've just tested it on my installation and it works just fine out of the box. You can troubleshoot this further by editing the hook code, and inserting return statement such as php return '-------------------HERE--------------'; on different places. Start with the very beginning of the hook, so you know that the hook is is actually called by your theme. You should see this in your product page (don't forget to clear cache in Administration > Performace after every edit): If you see this, then edit the hook again, and move it further down the code, just before the first return '';. Clear cache, and check product page again. If you see the same result, it means that hook is prematurely terminated because one of the condition in preceding if statement. If you don't see anything, move it before the next return ''; statement. That should give you the idea what and where goes wrong
  20. You can 1. Disable left column on search page entirely -- go to Preferences > Themes, click on Advanced settings, and uncheck Left column for Search controller. 2. Alternatively, you can invert order of columns using css. One way to do that is this css rule (add it to your global.css file). Note that it will be applied on search page only. css @media (max-width: 768px) { body#search #columns>.row { display: flex; flex-direction: column-reverse; } }
  21. @x97wehner that's actually much more complicated than I thought. Review average is rendered using either displayRightColumnProduct or displayProductButton hooks -- what hook will be used can be selected in module settings page. It's possible to edit your product.tpl template and move one of these hooks to the appropriate place. For example, move this line. The problem with this approach is that these hooks are shared -- many modules can, and usually do, use them to display additional information on product page. So, if you move placement of this hook within template, you will be moving content generated by other modules as well. In other words - you can use this approach only if no other module is using this hook -- you can check in Modules > Positions. For example, in my case, if I move displayProductButtons hook it will affect Block Product Payment Logos module as well. I will add a new dedicated hook to the module for this particular use case. That way, you will be able to call this hook anywhere in the product template, and it will not impact other modules.
  22. I've just attached one small module named revwsrecent to the first post. This module works together with revws module and displays recent reviews on your home page (in tab). It's really very simple module without any configuration or whatnot, but I thought someone might find it useful. You can actually see this module at work on my demo server
  23. You don't need Google Analytics API module -- that one is used to fetch data from google analytics back to your store. It's not really that useful. Just install Google Analytics module, configure it, and you should immediately see visitors in your google analytics account
  24. This is the hook code that renders the subscription form: ``` if (!$this->customerqty || !Configuration::get('PSSTOCKMANAGEMENT') || Product::isAvailableWhenOutOfStock($params['product']->outof_stock) ) { return ''; } $context = Context::getContext(); $idProduct = (int) $params['product']->id; $idProductAttribute = 0; $idCustomer = (int) $context->customer->id; if ((int) $context->customer->id <= 0) { $this->context->smarty->assign('email', 1); } elseif (MailAlert::customerHasNotification($idCustomer, $idProduct, $idProductAttribute, (int) $context->shop->id)) { return ''; } ``` If nothing is rendered, then the only explanations are: 1) hooks is actually not triggered -- please ensure that the module is enabled 2) Product Availability option is disabled in mailalerts module configuration 3) Enable stock management is disabled in Preferences > Products 4) product can be ordered even when out of stock (although this should be bypassed by your modification) 5) user is logged in, and has already submitted mail alert
  25. @Pilou it is syntax error, and that has nothing to do with thirtybees or prestashop. It means that the code could not be parsed by php server There are two possible explanations: - you have made a typo when you copied the code - you run the code on different server with different version of PHP
×
×
  • Create New...