-
Posts
1,990 -
Joined
-
Last visited
-
Days Won
164
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Everything posted by wakabayashi
-
It's not a big secret, what my store is 😅 https://www.spielezar.ch But as I said. I am not making a living as coder or theme designer 😉 I can not say, why no real theme designer is doing it.
-
I guess thats these are the numbers, where it's starting to be interesting. But how to get 500 users buying your theme? 🙂 I don't know much about the details as I am not living for designing themes. It also depends where the designer is from.
-
That's basically what I did. I don't remember how long it took me, but surely 2-3 years (with breaks involved). For an open source project with modules/plugins it is very hard to build a good theme. There is not only design, but also a lot of technical aspects (speed, seo and so on). A lot of merchants expect a theme to be 100-200$ and then they are fine for 10 years. Imo that's no more realistic these days. I see a lot of SaaS, that have a higher pricing per month...
-
Getting controller and id_entity by url
wakabayashi replied to wakabayashi's question in Technical help
Great! I am not yet on bleeding edge. But this sounds amazing for my purpose! Actually it's also kind of a shortcode usage 🙂 -
Is it somehow possible to get the controller name and id_entity by throwing an url? I want something like: function getControllerAndId($url) { // Use $url somewow $dispatcher->getController(); } I want to use this in a module... The idea is to recognize posted urls by customers in FrontOffice as product links and replace them. For example: www.domain.ch/category/productXY I want: Controller=ProductController id_product=352
-
This is a little confusing to me. Once there is jpg and once webp 🥵 But ok, as we can drop it anyway, we won't have this issue in future 👍
-
I went live my branch of consistent webp images. In general it works well. But I just found another big issue, but I want someone to confirm. I need someone, that uses webp and google search console. Please open an url in google search console and check the html of the crawled page. Is there webp or jpg used? @datakick Do you think we need to keep this browserSupport? https://github.com/thirtybees/thirtybees/blob/e6ca6b43d5235c80c1ebeff087ece88fd4541c83/classes/ImageManager.php#L881 In alot of usages it causes troubles. You have to adjust all ajax calls for webp support and it seems that crawlers might fall to it.
-
@datakick I have just installed consitency module and used it a little. Very useful! But I noticed some "issues": Carrier with ID 28 is not associated with any shops. This carrier is not showing up for me in BO. Not surprising as the column deleted equals 1. Image with ID 4284 is not associated with any shops. This message is correct, but it would be helpful to show the id_product as well. Otherwise a newbie can't fix it IMO. Don't forget to add alternative images extension in the image test, once we offer it. A few days ago I have switched my live shop to webp. 😋
-
@datakick thanks a lot for this detailed answer! I was aware of the table issue, but I guess I understood the message wrong. It's not about an exception handler? It's about registering displayLeftColumn and not having the function hookDisplayLeftColumn() right? I can tell you, that this issue arises in my cases differently, than you maybe expected. This modules had this hooks registered. But then I removed them. Does the inconsistency check happen during installing/updating process? Cause for some modules I just deleted the function without doing a new installation. Maybe this is a problem? I guess I can just unhook this module under "positions" or calling unregisterHook() ... Oh I will test your consistency module. 😋 I am already a big fan of the collect logs module. IMO it would be much more helpful, if such warnings would be added to collect logs instead of the normal log. In the normal log you must be Sherlook Holmes to distingue between logs and issues.
-
I am not sure, how many of you are aware, that the core logs can slow down your shop drastically. I am optimizing my site these days and kind of analyze all chains of code. I suddenly noticed, that a huge table (215k rows in my case) of "ps_log" slowed my shop for around 300ms. After truncating this table I have now kind of 500ms instead of 800ms. This is kind of sick 🙃 The reason is mainly this one: https://github.com/thirtybees/thirtybees/blob/main/classes/Hook.php#L564
-
ThirtyBees 1.5 OFFICIAL is here!
wakabayashi replied to the.rampage.rado's topic in Announcements about thirty bees
Great update post @the.rampage.rado -
Yes that sounds logical. Cause also here: the warehouse is not the same. Do you want the split up? And why do you have some entries with asm and some without?
-
Every year again 😅 I finally understood what in my case brought up this order splitting. It's missing entries in warehouse_product_location table. It happened for me, if we are adding combinations or deleting combinations. Not sure, if it's a bug in core or if it came to bad overrides on my side. Maybe someone else can confirm, if he has this issue too due to combinations.
-
The issue is in public function isParentCategoryAvailable($idShop) in Category Class. IMO it doesn't join the category correctly. I have 3 shops. (id_shop=3 is the default one). But in ps_category I have some entries, that have id_shop_default=1 (don't ask me how I can even controll this as an user). In this case isParentCategoryAvailable($idShop) returns false, even if a category is associated to shop with id_shop=3. https://github.com/thirtybees/thirtybees/blob/main/classes/Category.php#L2427 Should be changed to: ->join(Shop::addSqlAssociation('category', 'c', true, null, true)) This is a very edge case, which explains why I am probably the only one suffering from it 🙄
-
Thats what I thought. That's why I asked here and didn't open a github issue. I will investigate this further, to understand, why it happens.
-
Ok likely the id_parent is not always set, when editing a category. Maybe it's related to multistore. 😶🌫️
-
Do you have also issues when saving categories? I had this in my teststore. Now I have it also in the live store. I just saved a category X and now the tree in BO is completly broken. I can't find them anymore there... @datakick is the complexity with level_depth, nleft, nright, is_root_category any good for? To me this looks overcomplex and that's why it's no wonder, that its kind of broken.
-
Yes, since I use cloudflare turnstile all my spam problems (over the website) are gone.
-
I was working on this recently as well. What I do: Only load the conversion pixel on the confirmation page, then submit it and on next page refresh delete all the cookies again. Like that you have the conversions, but you basically don't let the big sites track your users on your site. If this is a clever or a nonsense solution, is up to priority. I also don't know, how negatively it affects retargeting stuff. I believe in general one has to decide, if we want to protect customer data or get the best results from ads. To have both in perfection is probably not possible.
-
Bist du sicher @Occam? Ich verstehe den Text gleich wie @30knees. Technisch würde ich sagen, dass der reverse DNS zum Problem wird. Da kann man mit herkömmlichen Mitteln (soviel ich weiss) nur eine Domain hinterlegen. Somit wird das problematisch. Aber ok, bin kein Experte rund um Server... Da frage ich mich gerade, ob ich dieselben Probleme bekommen werde als Multishop User trotz eigenem Server 🙈 Naja wird bei mir eh bald Geschichte sein mit Multistore...
-
@datakick I am working again a bit on this as my shop relaunch comes closer. Today I checked, how rewrite rules should look like and generated them quickly. This works fine for me: rewrite ^/categories/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/c/$1-$2.webp break; rewrite ^/categoriesthumb/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/c/thumb/$1-$2.webp break; rewrite ^/genzoportallink/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/genzo_portal/links/$1-$2.webp break; rewrite ^/manufacturers/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/m/$1-$2.webp break; rewrite ^/scenes/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/scenes/$1-$2.webp break; rewrite ^/scenesthumb/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/scenes/thumbs/$1-$2.webp break; rewrite ^/stores/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/st/$1-$2.webp break; rewrite ^/suppliers/([0-9]+)-([^\s/]+)/([^\s/]+)\.webp$ /img/su/$1-$2.webp break; rewrite ^/products/([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$1$2$3.webp break; rewrite ^/products/([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$1$2$3$4.webp break; rewrite ^/products/([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$1$2$3$4$5.webp break; rewrite ^/products/([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$1$2$3$4$5$6.webp break; rewrite ^/products/([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.webp break; rewrite ^/products/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.webp break; rewrite ^/products/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.webp break; rewrite ^/products/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.webp$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.webp break; You see genzoportallink is just a module from myself, that uses the ObjectModel image definition. Still some stuff left, that need to be fixed: The multistore thing with different themes and with different sizes for same imageType The gathering and include of objectModelFiles that use $definition['images']. Probably other stuff as well, but on my shops things look quite good 😳 😏
-
Order status showing on order detail page but not on order overview page
wakabayashi replied to 30knees's question in Technical help
Have you checked the error_logs? You need this module "Collect PHP Logs" to be installed... -
Order status showing on order detail page but not on order overview page
wakabayashi replied to 30knees's question in Technical help
It happens when something fails. The current_state couldn't be saved. But likely through an expection, that is not related to order states. You should check error_logs.