

e-com
-
Posts
129 -
Joined
-
Last visited
-
Days Won
14
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Posts posted by e-com
-
-
6 hours ago, datakick said:
??? I don't follow....
This urls rewrite rule works properly only for images with jpg extension.
For images with webp extension it does not work. -
8 hours ago, datakick said:
.htaccess rules, nginx settings, watermark module,.... this is deployment issue, not an application one.
That's right, but not really 🙂
https://xyz.com/405/product-url.jpg - is correct
https://xyz.com/405/product-url.webp - is bug -
-
I created new REST API apps: https://developer.paypal.com/
In configuration of module, I entered new CLIENT ID and SECRET keys.
And module communicates correctly with paypal API.
And for sandbox environment, do you also have an error? -
Change PHP to 7.4
Only after upgrading to TB 1.4.0 bleeding edge can you set PHP 8.1And you should run Core Updater again.
-
1
-
-
-
OK, I'll do a PR on github.
-
4 hours ago, wakabayashi said:
What do you think?
I support this idea as much as possible.
With modern browsers, keeping this dual jpg+webp support for archaic browsers is pointless.
Unnecessary generation of terabytes of images to server disk 🙂
-
I found the cause.
In CoreModels and CMSRole classes, tables have utf8mb4_general_ci encoding declared.
Is this necessary?
Can't these tables have utf8mb4_unicode_ci encoding like rest of database?
Performance difference between utf8mb4_general_ci and utf8mb4_unicode_ci is tenths of a microsecond. -
Overwriting CSS of template with your own CSS is the best example of how websites should not be made. Then such pages take an hour to load :)
But if you absolutely must do it, then: Preferences -> Custom code -> Add extra css to your pages -
Too many products in home page modules. Home page is not used to display all products we have in store, just advertising a few or a dozen. These modules do not have pagination so loading thousands 🙂 products takes so long.
In addition, it is a good idea to set PHP 7.4 and memory limit at least 512MB. -
-
2 hours ago, RabbitZzZ said:
Is there another suitable solution for the European VAT regulation? Maybe even with manual validation?
All stores have automatic validation disabled and for new customers they do manual validation:
https://ec.europa.eu/taxation_customs/vies/#/vat-validation
Manual validation is also Russian roulette 🙂 Sometimes you have to click several times before you get validation. Especially for Germany it is tragic. -
I have been doing tests of this EU VIES server using SoapClient.
This server is one big tragedy.
For some countries it sometimes returns a response and sometimes returns an error.
For some countries response times of more than 10 seconds.
It is better to disable this validation service in module, because it is not suitable for stores. -
This setNewConnection() method in Connection class with dozens of bots, this is a laughing stock and not bot detection.
Wanting to do it decently, it would be necessary to implement, for example DeviceDetector library from matomo: -
I have never yet encountered a hosting on which Soap was not installed. If there are such pseudo-hostings, then such a thing should be avoided from afar 🙂
And after Brexit, Northern Ireland code "XI" is missing from getPrefixIntracomVAT() method. -
-
Now there's a error on front office, even though the VAT number is definitely correct:
There is 1 error
VAT number not registered at your tax authorities.Better not to implement this class?
https://github.com/cba85/eu-vat-validation/blob/master/src/Validation.phpI tested it, it works fine.
-
EU VAT number validation has not worked for three days:
VAT number DE285368537 could not get validated due to a validation web service outage (Server error: `POST http://ec.europa.eu/taxation_customs/vies/services/checkVatService` resulted in a `500 Internal Server Error` response: Error 500--Internal Server ErrorAnd VAT number is valid: https://ec.europa.eu/taxation_customs/vies/
Maybe someone knows, what has been changed on EU server?
-
3 hours ago, Havouza said:
Do I need a php package installed also? php-redis
Yes, for example for PHP 8.1 on debian: https://packages.debian.org/en/sid/php8.1-redis
And phpinfo();
-
-
-
Preferences -> SEO & URLs
Edit page: "index"
-
1
-
-
With the number of blockers that Internet users use, these Google Analytics statistics are worthless anyway.
https://www.onaudience.com/files/adblock_report.pdf
Better install Matomo on your server, there is a native module for Matomo (Piwik) in thirty bees.
Question on adjusting Warehouse theme for webp compatibility
in English
Posted
There is a module repository on github: https://github.com/thirtybees/mdimagemagick
But actually this module is completely unnecessary for TB 1.4.0