Everything posted by Foster
- How to install Clicshopping V3
- How to install Clicshopping V3
-
How to install Clicshopping V3
It's weird, Do you tried on your local computer, because I tested the lastest release and I have no problem. Do you use Cpanel ? If yes you can install via Cpanel ClicShopping, it's automatic. Note . All the script is called on CDN, If you have no connection with internet, you wil have a problem. I suppose it's to reduce the code by the developers, Also, you can try something, Find this function and put in comment these elements, One time I used another software with a lot code line on the same domain and I have been a problem /** * Calculate the size of a directory by iterating its contents * @Access public * @Return size if the directory */ Public Static function getDirSize(): string { /* $path = CLICSHOPPING::getConfig('dir_root', 'Shop'); $path = rtrim(str_replace('\\', '/', $path), '/'); $bytestotal = 0; $path = realpath($path); if ($path !== false && $path != '' && file_exists($path)) { foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($path, \FilesystemIterator::SKIP_DOTS)) as $object) { $bytestotal += $object->getSize(); } } */ $bytestotal = ''; return $bytestotal; }
- How to install Clicshopping V3
-
ClicShopping v3.300
Hello, Yes congratulation to the team for this new release. The dashboard has a new script, very light and not use jQuery, It's better like that in my sense. Now all the browser can manage some function. The importance of Jquery start to decrease. FontAwesome has been removed also. Now just to have a bootstrap beta 2, I ask me question. It will no better to have the official release ?
-
How to check data inside field with a form and without jquery
Hello, I am looking something allowing to check the number of character inside a textarea without jquery. There are some solution, but I like the code below because he is very short. It's for some people want to do create a form as contact, feedback, reviews, comment ... It can be useful If the number of character is not reach, a pop up appear on the screen. <form action="mango.php" method="post" id="form12" onsubmit="var text = document.getElementById('checkField').value; if(text.length < 80) { alert('put more info!'); return false; } return true;"> <textarea rows="10" cols="80" maxlength="200" required id="checkField" > </textarea> </form>
-
API for ClicShopping integration with another platform
hello, If you want something simple and the supplier allow that, it's a good option (as google merchent), else you must use the API.
-
ClicShopping installation problem
The file config do not stay in 777, but 444. After every hoster has a specific configuration and for moment a software can be simple to use, another with some difficulties. For me, I tested ClicShopping under Ispconfig and Cpanel, ubuntu debian and there is no problem. As mentionned, there, https://www.clicshopping.org/forum/technical-information/ - ClicShopping - ClicShopping has been tested on these environment.
-
Add an shortcut icon menu inside the header
Hello, Yes, you can. You must create a hook in ibnside the reviews apps. Lootk this code : SItes/ClicShoppingAdmin ... Dashboard .... main.php <?php echo $CLICSHOPPING_Hooks->output('DashboardShortCut', 'DashboardShortCut', null, 'display'); ?> Now look inside product you will see in Hooks directory a files called DashboardShortCut Reply the process inside Module/ClicShoppingAdmin/DashboardShortCut or inside the aps reviews. I do not explain all because I think you must look to understand the application but you have all the process. good code Regards Forster
-
apps catalog import export
Nice tool can help to win time. The latest release has a quick update bases on model, ean, stock and status. Can be installed via the administration on in manual.
-
error (HTTP ERROR 500 )at the end of installation of ClicShopping
It' s important to respect the copyright, Julie, send you the link, I think it's enough for you to know what you can do or not. We are not administrator, but we can help you in function our knowledge
-
error (HTTP ERROR 500 )at the end of installation of ClicShopping
Hello @Robert, Some provider propose let's encrypt as certificate. it's free. Other can propose also paid certificate. If you want to make a secure website for your customer the ssl certificate is necessary. Google look that on your website and also the browser. On local, it's not necessary.
-
Empty image
Hi @Namiko You will find this option in design / Image management.
-
v 3.213 Pre-release How to mak upgrade for newbie
@Catalina, You can upload and push the files inside your test website. If all is ok, you can push on your production. If you want to know the change, use a tool like beyond compare, you can compare the files and see the update.
-
v 3.213 Pre-release How to mak upgrade for newbie
Hello, It's not so difficult to make an upgrade. I look the update, there 2 sql update. in first, go to your phpmyadmin and update the Db. in second, just send the files in your server. Do not forget it's a pre release, some modification can be made the last minute For you it's good to make a test. That's all. My recommendation before that, do the update in your local server, If your have no problem, go in production. About the module, it will have no problem.
-
Service Worker, Manifest and webapp
Hello @Drack In action on the demo, use lighthouse make an audit test.
-
How to block bad bots
For moment, some badbots can very aggressive. There a solution to block this elements via your htaccess ################################## # Bot ################################## #Rules to block bad bods from accessing web pages on your site. #Remove or add more rules as per your needs. BrowserMatchNoCase "Baiduspider" bots BrowserMatchNoCase "SemrushBot" bots BrowserMatchNoCase "Yandex" bots BrowserMatchNoCase "BLEXBot" bots BrowserMatchNoCase "AhrefsBot" bots BrowserMatchNoCase "DotBot" bots BrowserMatchNoCase "Exabot" bots BrowserMatchNoCase "SeznamBot" bots BrowserMatchNoCase "aiHitBot" bots BrowserMatchNoCase "spbot" bots BrowserMatchNoCase "MJ12bot" bots BrowserMatchNoCase "oBot" bots BrowserMatchNoCase "DeuSu" bots BrowserMatchNoCase "ia_archiver" bots BrowserMatchNoCase "MetaURI" bots BrowserMatchNoCase "FlipboardProxy" bots Order Allow,Deny Allow from ALL Deny from env=bots
-
Maximum image Size
Hi @Julie, I don't know, for me I try to download an image by a size in 640px. I think it's enough for the product image description. After, maybe the script allowing to resize the image has a maximum. - Test some image with this resolution 1024, 2048 ... You will see where is the limit. - The second point it also could be the weight of the image.
-
Dashboard Security alert information
Hi @Orphelia, The message is an information. You must make an update about your librairies. In your terminal server, execute this function composer update If you have not access to your server via a terminal, you must do that on your local server and upload on you production server. Note : This update do not require to be in root.
-
New Product Template - Continue learning
Hello @CoucheTard Your logo scare me Yes, you can develop your own modules, Look the code inside the module, you will have some other function than you can use. For example you can integrate the reviews evaluation or you can create something else. For the reviews, you can create another template and put inside. Create another module, or template allow you to maintain more easily your application without to tell you what files I need to change or to look. Of course, if there is an update, you must look inside your own module if you must adapt something. But the best, it to create a new template and inside include the files than you must want to change. Look the template on the marketplace, it will help you.
-
Depth of directories (path) make me cry
Hello, The user do not see that, not sur it will be change for this version The apps are little specific. I agree it's little long, but for me it's not a problem;
-
Vietnamese URL Rewriing
Nice contribution and update for something not always implemented.
-
How to chmod ClicShopping directories manually?
No you do not have to. It's not mandatory You can install composer inside your dev and after if you install a library and develop something (or update the libraries), you can export your dev in production. It's better to check in dev before because when you are in production, and you have an error it's not very nice !! Composer help lot of when you try to develop something with a library like phpmailer (it's including inside ClicShopping). But it's an example. Composer change these files when you make an action with composer. /shop/composer.json /shop/composer.lock /includes/ClicShoping/External/vendor Let me know if you want more information.
-
How to chmod ClicShopping directories manually?
@Julie, In your case, you can not install the apps but the library will not installed. You must make another action via your terminal to finish to install the library. After you can activate the apps. The terminal command is : composer require mylibrary composer update mylibrary composer update (for all library) composer remove mylibrary If you have this message you can not make an update via the administration, you will see just the version installed. @SuperThin, As i Said ClicShopping, it's better for you to make a manual update. You can look the apps accross the admin, but it's better to download and install after Also you can look via Github or via the marketplace. Some hoster make restriction and its not possible to know before to make a test.
-
Composer App
Thank you @ClicShopping, Nice contribution it will help in the future. You warning is very important, it's better to make an update in the development, look if there is a problem and after apply in production.