Everything posted by Patrick
-
Background image
Try something like this : <div class="lozad" data-background-image="image.png" data-srcset="image.png 1000w, image-2x.png 2000w"></div>
-
PHP 7.4 - report if you see a problem
@Carole, Install on your local server php 7.4 and test you application. If everything works fine, you can go in production.
-
Spam Protection
Hello Dartagnan, No I do not think, but you can develop your own module inside the AntiSpam Apps, You have just look how this modules is made and add what you want inside. After, I use this module for long time now, and it works perfectly. No need to add a recaptcha.
-
Shipping Delivery Dates
Hi @CoucheTard, Inside the Configuration (do not remeber exactly), I think you have an option where you can specify this information (look shipping)
-
Hooks and Header Tags
The difference : Hooks can not be removed or put offline (except if you make something inside apps for example) Hooks can not have option than you can activate (except if you make something inside apps for example) Hooks can display or make action on your website --> bootstrap is inside a hooks, it better that to include inside a header tag. Header_tag Yyou can choose if you want to put in header or footer You can activate or deactivate You can install or not You can make some different option There is more flexibility than a hooks? --> google analytics is better to be included inside header tag Which use ? Depend what you want to do. If you want to include some options, header tags is better. In summary
-
Maximum image Size
Just a little note, The parameters allow to resize images but also when your upload an image to make a new image. The problem is when the image is too big in upload (weight or size). I looked the sript image_resample, I do not see anything about this problem, no maximum. Maybe the php librairy ?
-
Dashboard Security alert information
@ClicShopping, I just check and activated the module on the dashboard. Thank you to have included this nice feature. It helps to maintain an application, very good idea !
-
demo.clicshopping.org is not which is at master of GitHub.com
http://localhost/clicshopping/shop/index.php/Account/LogIn http://localhost/clicshopping/shop/index.php?Account&LogIn That's the normal process, if you change ? or & it come back to the index page. If you are with the rewriting enable, you must respect the basic url approach and the standard inside the web url process Nothing for me particular.
-
demo.clicshopping.org is not which is at master of GitHub.com
I can not reproduce your problem. Everything works fine. What the link do you click to have this result because the are 2 links, on in the header and one in the footer. All works fine.
-
demo.clicshopping.org is not which is at master of GitHub.com
Hello, The default theme is the same for all version, after the template made is to help you to make you own more easily or to create your own module. Do you activate the rewrite SEO in Configuration/Store ? Without SEO : http://mysite/shop/index.php?Account&LogIn With SEO : http://mysite/shop/index.php/Account&LogIn demo with seo : https://demo.clicshopping.org/demo/index.php/Search/AdvancedSearch ==> correct no ? https://demo.clicshopping.org/demo/index.php/Products/Description/canon-eos-5d/products_id-8 https://demo.clicshopping.org/demo/index.php/Products/Featured - index.php/Account/LogIn in demo below login form is 2 register forms while source code index.php/Account&LogIn is 1 form only. ==> 2 because there is one for customer in B2C and 1 with B2B, the approach is different, depending what you want exactly. You can remove one if you want. (if I understand your question) ==> If you do not litke this, you can create your own login form if you want. How to change breadcrumb Index » ClicShopping » Favorites to ClicShopping » Favorites : my shop in homepage so, Index in breadcrumb with "Index" is an abundance. Look the files in ClicShopping/Service/Shop/Breadcrumb and comment (choose your line) this $CLICSHOPPING_Breadcrumb->add .... For the catalog image I do not understand your question, You have not use rm command, if you do that you can erase all the website if you are in the root ? Note : ClicShopping evolve day to day with minor version if bugs are discover. The system allow you to upgrade without to change anything inside the code if you follow the best pratice. Do not change classe : use the Custom Directory, u se Hooks, create new template, new module think it is not enough for production now ==>I think you do not very well the solution, take time. I hope this explanation is not to complicate. Look the documentation : https://www.clicshopping.org/forum/forum/8-documentation/ Best pratice : https://www.clicshopping.org/forum/forum/18-best-pratices-tip-trips-and-training/ blog : https://www.clicshopping.org/forum/blogs/blog/3-clicshopping/
-
PHP 7.4 - report if you see a problem
A nice function apear inside php 7.4 : Preload : https://wiki.php.net/rfc/preload It can increased the speed of the website, not a little . But the problem, every time you change something inside a file, you must restart the server because everything is push in memory. https://andrewdavis.me/post/introduction-to-php-7-4-preload/ Note : when I wil install php 7.4, I will make some test also !
-
A menu item does not display
If I understand your question, you will find this in Configuration/Shipping
-
What are B2B features?
Hello, ClicShopping is not a marketplace, it's a tool allowing to create different group with a specific price. The people can not include their own product for this moment. This function must be developped. I do not see something like that for moment on the marketplace.
-
Security alert on PHP 7 information
More information below. If you are on a server, you must make an update. English : https://www.zdnet.com/article/nasty-php7-remote-code-execution-bug-exploited-in-the-wild/ French (other site) : https://www.generation-nt.com/php-7-decouverte-faille-dangereuse-simplissime-exploiter-actualite-1969928.html
-
Webp compability browser
Some people do not have a server or do not have something to install this. But It will be interesting what's happen with clicshopping and if your performance are really increased in comparaison with a standard installation and with htaccess. On my website with page rank I am on 96%.
-
Vietnamese URL Rewriing
@SuperThin Nice, look the lastest update on github. I will go and there is an update. You can tell us if it work or not
-
Vietnamese URL Rewriing
You have another solution is to enter the prodcut name without accent. I do not know if in your language it's important or not.
-
Re-pricing
If you want to update the price in function the competitor, in this case it's better to use a scrapping system or IA application. Amazon propose different tools for that. If your product has lot of competitors, it's important to follow them, make report and take decision to follow or not.
-
Paypal or stripe
I think it's important to know Paypal is a leader and some people use it. Stripe is a good application more easy to use, in my sense. But on my website I use 3 differents payment, like that, the people can choose the best for them. Note : the process is the same for the shipping.
-
How to chmod ClicShopping directories manually?
I confirm, That I do, first in my dev and after in my prod.
-
How to translate into new language
If you change by the administration, the data is saved in db and cache. I do not think inside the language (test and look) . You an try also with chmod 777 language directory and sub and check. In this case, if you reset the language, you lost all your modification. When you install a new apps, it read the language file and bring into cache and db.
-
How to translate into new language
Just to understand more : Do you see the Vietnamese language in Editor ? Do you see the Vietnamese icon on your catalog ? (do you click on this icon to create the cache for this language) Could you tell us the vietnamese language parameters (in configuration/Other) ? Do you change the chmod Work in 777 with all the subdirectories ? try to delete in Works/Cache all the language and update your catalog (click on all languages icon)
-
PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array
Do you install check upgrade dashboard ? Maybe is that. Test the same action on the demo and report
-
PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array
Hello, Could you tell us, the action has you make or research ? It can help to debug or see if an apps /modules is not correct. Note : this apps is experimental and must be again improved. It works with Github and there are lot of limitation dur to Github.
-
How to translate into new language
Hello, Indeed it seems there is a bug, I able to update a language but one language. The other way is to create a directory inside sources/languages/Vietnam Copy all the english and directory files in vietnam after edit every files and translate into vietnam Do not forget to create the directory inside Configuration / other language andcheck if english is your default language. After you can put in off the french