Jump to content
thirty bees forum

wakabayashi

Silver member
  • Posts

    1,950
  • Joined

  • Last visited

  • Days Won

    148

Everything posted by wakabayashi

  1. Yes, it's no core functionality. I agree. But as a module it's very interesting IMO. On all social media plattforms it's becoming "normal" that you tag products on posts/images/videos. Maybe I can do that one day, but won't promise anything as I have already a lot of "projects" open 😉 In general I am making good progress on the image rewrite. I am now testing things with Beesblogmodule. With my rewrite almost all custom image stuff can be dropped there. Instead you just define this in BeesBlogPost::$definition: 'images' => [ 'beesblogposts' => [ 'inputName' => 'post_image', 'path' => _PS_IMG_DIR_.'beesblog/posts/', 'imageTypes' => [ ['name' => 'beesblog_post', 'width' => 800, 'height' => 500] ] ] ] It's going to be a lot of fun (almost no work) as a dev to use images 😎 Merchants will have consistent webp support 😏
  2. How do you like me now? 🤣 Ok, there are still a lot of issues left in scenes. But the video shows that this hidden feature is not completly death 🤭 scenes.webm
  3. Did anyone ever use scenes sucessfully? I mean years back... This seems to be horribly broken since years. But actually I would like this feature 😕 Anyone (@e-com) interested in bringing this back? Help needed... 🤕 I can not even find any saving process of the table tb_scene_products!? Edit: I just made some progess on this 🤓
  4. That's right. This is one of the things, I was working on a few weeks ago. Unfortunately I got interrupted by other jobs and private stuff. But I will go back on this very soon 😏
  5. With that unclear information, you will never get a reasonable answer... Please provide examples, details or links 😉 For jolisearch you would have to contact the module dev.
  6. I guess, you have tested some stuff and have an old file on the server. Is this possible? If yes. I could imagine, that you have something like echo $variable or print_r($variable)
  7. wakabayashi

    ChatGPT

    @e-com I hope, you are making progress on this 😊 I guess you have access to GPT-4, right? Is it much better in practice than GPT-3 or is it overhyped right now?
  8. Ok finally I am getting back to coding / tb-work 🥵 Actually I agree with all your examples, but isn't my PR at least giving a bit more options to get accurate numbers? Nothing is worse than before, but instead you can at least create a simple system: 0.5% + €0.25 Before this was only possible for payments. Now it's also possible for shipping. In general we can argue till death, how much detailed settings we want to have in configs. Accounting can get complex, as I will demonstrate later in this post. IMO we should not try to become an acocunting software, but give merchants an approximation of their profits. In my example I calculate for all orders a profit and display it on the order detail page. Let me show you a (fictive) example: We use this now since 2-3 months. It's sick what we learned about our gains. Never thought that before. Not sure if there is any interest to include this in core. It could also be a functionality of a module. In ASM we have some kind of tracking. But you are right: it's hard to calculate a precise order profit, especially when prices are changing. When I was studying econmics it was also kind of a "hot" topic. Imagine such an process (it happens in my store): You buy product-x for 30€ from your supplier. You set the selling price to 45€. It's inflation and the supplier raises his wholesale price to 50€. - You sell your item for 45€ to customer 1. You reorder one item and set the selling price to 70€. You sell the item for 70€ to customer 2. What is your gain of the first order with customer 1? I don't know, what practice (and tax law) say. But the answer can be tricky imo. A lot of people would say, you made a gain of 15€. Ok then let's calculate the second order. This gain is: 70€-50€ = 20€. So total gain: 15€ + 20€ = 35€. I throw in, that you actually lost 5€ by the first order. Don't believe it? Ok let's imagine the same story like this: Same. Same. You react immediately and raise the price to 70€. Customer 1 doesn't buy the product now (it's too expensive in his opinion). You don't reorder. Same. What was the gain for the first order? Well its 0 as customer 1 didn't buy anything. What is your gain with customer 2: 70€ - 30€ = 40 €. Total gain: 0€ + 40€ = 40€. Oops 🙈 As I argued above: we lost 5€ with the first order 😅 Ok I admit: my story is also not always true. Third story goes like this: Same. Same. - Same. Now you say: fuck you supplier. I don't reorder with this wholesale price (as maybe nobody will pay 70€). What is your gain by first order? Obviously 15€. So your gain of order 1 depends basically on your decision, if you will reorder or not. Anybody is welcomed to bring up arguments against my point - it's in my opinion a very interesting topic. @datakick I saw now your comment on github. I have no problem to use such a system. I agree, that the idea of saving parameters with a time frame is a bit more clean and flexible. I believe it's main advantage is in backward compatibility. You can always change this values to improve your dashboard values. While I saw this as a disadvantage, it's an advantage (but only combined with the time frame ofc)! But there is currently no table, that can handle it, right? Let's keep the technical discussion on github. 😉
  9. I don't use Mollie anymore, so I can't say 🙃
  10. I don't know. I am also not sure, what this would help 🙈 As long as I am happy with turnstile/cloudflare I will support this module.
  11. Do you have the folger \img\tmp?
  12. Sorry for my late reply. Unfortunately I am very busy right now with internal stuff. I will reply to this in 1-2 weeks. Please keep it open till my answer 🙂
  13. wakabayashi

    ChatGPT

    Yeah there is a lot of sceptism about AI. Probably rightly so. But what has it to do, if a merchant uses AI as a tool? When talking about text generation: either the text is good or not...
  14. wakabayashi

    ChatGPT

    I don't think this will be that binary (yes/no). They also stated somewhere: as long as your texts are good, they have no problems with it. But if "good" means above average, you either have to use AI better than competitors or you should make manual corrections. I plan the latter. Always read the text from AI and rewrite it a little, so it gets even better 😏 What I also notice: I generate 5 texts from AI for the same product. In each text a like some parts and some I don't... Also want to say: these things can change so quickly. Each advise today can be wrong tomorrow. Maybe it takes only 2-3 an AI writes better than 95% of copywriters 😳
  15. wakabayashi

    ChatGPT

    Thanks a lot for your explanation. I can feel you and I am very interested in your experiences in this field - keep us updated 🤗 We did this in the past. Sometimes you find a good copywriter to a reasonable price. But soon their prices raises as they get too many work offers. But you have to spend hours/days to find such a guy on a plattform like Fiverr. Others write worse than a 14 children. But ok now the game is anyway played differently 😅 This is the only thing I don't understand in your post. Where does the 5k tokens come from? I don't think, you want a description of 4000 words or so!? Does it just take multiple tries, to get a result back, that you like? Edit: Btw... Are you a merchant yourself? I always thought you would be a dev 🙈
  16. wakabayashi

    ChatGPT

    Meta Title and Meta descriptions aren't always taken into account, thats true. Our site seem to have quite a good reputation at google and they take our input often 1 to 1. But actually that's exactly the reason why I want to start with such fields: they aren't that important. Category descriptions are read by real customers. So you have to make sure, that there is no bullshit in the text 😅 For me it would be too risky to take the GPT text 1 to 1 atm. I don't have any tokens yet. Do you have? Do you have an approximate value, what a category description text costs?
  17. wakabayashi

    ChatGPT

    Will you make this module public? Atm I don't want to use it 100% that way (maybe for meta descriptions yes). Not having to start from zero, to using ChatGPT would be super cool 😀
  18. I have had this idea too. But for our store it's not a top priority, that's why I never have looked deeper into it. I can only say, that I would do it, like you: saving the translation "normally" in BO and refresh when the main language is updated. Deepl is probably the best translation. So your plan sounds good to me 😉
  19. This was my first idea. I thought, that size 1500 would be a benefit, but yeah this is probably a detail. My main point was, to prevent the scaling down of the actual object on an image. Both solutions wil work for this purpose 🙂
  20. I am not totally sure, if I understand you right. My idea was something like $widthOfRetinaImage = min(2*$imageType['width'], $widthOfSourceFile); $widthOfRetinaImage = max($imageType['width'], $widthOfRetinaImage); So that the width is always between $imageType['width'] and 2*$imageType['width'], but no blurry happens. Was that your idea too?
  21. I agree on your post. Your ideas are good. Some of them might be up to modules, others are part of the core. You are also right with this 😅
  22. Hm but the image is scaled down in browser afterwards. I agree that scaling up (blurry) and then scale them down afterwards is very stupid. But not doing it means, that the actual object of the image becomes smaller. IMO this is worse, than the other... Here you see what I mean: https://thirtybees.genzo.ch/de/coffee-and-tea/Coffee/coffee-beans. On not so large displays, it's just having a lot of white ^^ Well ok, at least I know now, that I haven't broke it 😃
  23. Still working day and night on this. Always find new stuff, that looks messy and can be simplified. Atm I have created a system, that even Product Images can be generated by Link::getGenericImageLink(). Image urls look like: /products/17-Niara_large/tea-cans2x.webp /categories/4-Niara_category/Coffee2x.webp /categories/thumb/4-Niara_medium/Coffee2x.webp Tests will show, if this is a bad idea or if its great to reduce code complexity. I believe, that way we will gain some new possibilities: We can quite easily give the merchants rewrite options for image urls In the long run we can (probably) add new image entites. This means that a module could use the core to generate thumbnails as well. But now something happened to me, which I need some feedback. Are retina images currently working? I don't use this setting on my live store, but played with it right now. Please check out the following to links: https://thirtybees.genzo.ch/products/19-Niara_thickbox/tea-cans.webp https://thirtybees.genzo.ch/products/19-Niara_thickbox/tea-cans2x.webp It basically adds just white space around the image (probably due to a not big enough source image). Does the current system work like this as well? Looks wrong to me, but I am not totally sure.
  24. While trying to continue the rewrite and adding configuration selects, I noticed, that we have a general problem in image proccessing. Especially in this category controller. Cause normally when you upload an imageFile, you expect, that all imageTypes are generated for this imageFile. All entities do it like that. Only AdminCategoryController does missuse this concept: Here an imageFile upload is linked (hardcoded) to a specific imageType. I don't like this at all. And it doesn't make super much sense, that we have this on categories but not on manufacturers and suppliers (both missing link_rewrite btw). I will try to rewrite this, so that we generate all imageTypes for 'image' and 'thumb' in AdminCategoryController. If it works, it would also be no big deal to add a second image upload for other product listing pages as manufacturer or suppplier. My ultimate goal is actually to have a consistent proccess over all entityTypes. In a perfect world we would probably even have ps_image for all entityTypes (but yeah that's not gonna happen soon).
×
×
  • Create New...