Jump to content


Popular Content

Showing content with the highest reputation since 10/13/19 in all areas

  1. 6 points
    Included in 3.2111 new release who fix some bug indentified in 3.2110.
  2. 6 points
    hello @SuperThin, Could you test (on several specific world) this please and tell me if it work ? in includes/Shop/RewriteUrl.php - change the function by this. In it's work it will be added on next update. I take different work on your website, and seems now ok inside the the url Thank you for your comment @SuperThin /** * Remove url accent * @param $str * @param string $charset * @return null|string|string[] */ protected function getSkipAccents(string $str, string $charset = 'utf-8'): string { if (!extension_loaded('intl')) { throw new Exception('intl module not loaded'); } else { $transliterator = \Transliterator::create('Any-Latin; Latin-ASCII'); $str = $transliterator->transliterate(mb_convert_encoding(htmlspecialchars_decode($str),$charset, 'auto')); } $str = htmlentities($str, ENT_NOQUOTES, $charset); $str = preg_replace('#&([A-za-z])(?:acute|cedil|caron|circ|grave|orn|ring|slash|th|tilde|uml);#', '\1', $str); $str = preg_replace('#&([A-za-z]{2})(?:lig);#', '\1', $str); $str = preg_replace('#&[^;]+;#', '', $str); $str = preg_replace('/[^A-Za-z0-9\-]/', '', $str); // Removes special chars return $str; }
  3. 5 points
    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.
  4. 5 points
    Hooray! protected function removeVNeseAccents ($str){ $unicode = array( 'a'=>'á|à|ả|ã|ạ|ă|ắ|ặ|ằ|ẳ|ẵ|â|ấ|ầ|ẩ|ẫ|ậ', 'd'=>'đ', 'e'=>'é|è|ẻ|ẽ|ẹ|ê|ế|ề|ể|ễ|ệ', 'i'=>'í|ì|ỉ|ĩ|ị', 'o'=>'ó|ò|ỏ|õ|ọ|ô|ố|ồ|ổ|ỗ|ộ|ơ|ớ|ờ|ở|ỡ|ợ', 'u'=>'ú|ù|ủ|ũ|ụ|ư|ứ|ừ|ử|ữ|ự', 'y'=>'ý|ỳ|ỷ|ỹ|ỵ', 'A'=>'Á|À|Ả|Ã|Ạ|Ă|Ắ|Ặ|Ằ|Ẳ|Ẵ|Â|Ấ|Ầ|Ẩ|Ẫ|Ậ', 'D'=>'Đ', 'E'=>'É|È|Ẻ|Ẽ|Ẹ|Ê|Ế|Ề|Ể|Ễ|Ệ', 'I'=>'Í|Ì|Ỉ|Ĩ|Ị', 'O'=>'Ó|Ò|Ỏ|Õ|Ọ|Ô|Ố|Ồ|Ổ|Ỗ|Ộ|Ơ|Ớ|Ờ|Ở|Ỡ|Ợ', 'U'=>'Ú|Ù|Ủ|Ũ|Ụ|Ư|Ứ|Ừ|Ử|Ữ|Ự', 'Y'=>'Ý|Ỳ|Ỷ|Ỹ|Ỵ', ); foreach($unicode as $nonUnicode=>$uni){ $str = preg_replace("/($uni)/i", $nonUnicode, $str); } return strtolower($str); } protected function getSkipAccents(string $str, string $charset = 'utf-8'): string { return $this->removeVNeseAccents($str); } Done!
  5. 4 points
    Hello, To react at this topic, I pushed a new minor version with all the composer libraries updated. This version has some update like ckeditor, Elfinder and some fix. If you have not included new composer library, you can easily update your solution else you must make the command composer unpdate inside the Shop directory or where you can find the composer.json in the ClicShopping root directory.
  6. 4 points
    Just a little note. PHP 7.4 is out soon (end of this month) and bring lot of new features or deprecated features. I will start to stest ClicShopping under php 7.4 soon If you see something report on Github (ClicShopping, Official and community) the error or the bug. If you have time.
  7. 4 points
    The menu can have different function For example if you want to create a marketplace you have 2 choices Create the menu in manual mode Create the menu via the apps automatically Manual is not recommended on this case when you create an apps because the administrator must do a manual action on the menu and after install the apps with the instructions. Like all menu has a specific code. It s possible to re-organise the menu if you do not appreciate. Access to this menu allow you to know the good code and id for a programmer when he creates a new apps inside the menu of his choice. The best is to look inside the Configure directory the different files (Install and Delete) the approach. About the modules inside the catalog (template), you have nothing to do.
  8. 3 points
    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/
  9. 3 points
    Fixed. Just is it possible to report a bug on this page. It's better to manage than this bug that the forum : https://github.com/ClicShopping/ClicShopping_V3/issues
  10. 2 points
    This forum cannot attach files or images. So, I will upload to Google Drive and share a link. I sent you a PM.
  11. 2 points
    @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.
  12. 1 point
    @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 !
  13. 1 point
    @Foster, @ClicShopping, Thank you for your explanation and you quick response.
  14. 1 point
    @ClicShopping, Nice to see you ! Thank you for your reaction and explanation.
  15. 1 point
    If you have the latest version, you will inside the products module, Insert inside your products template this code <?php echo $total_reviews; //echo HTML::stars('4'); for test ?>
  16. 1 point

    Version 1.0.0


    New design theme and based on an affect on the product If you have included new modules, you must update in consequence your files and css You must just copy the files that you want change inside the template cool_effect directory. This module contains - The css - The modules Via the installation system administration ClicShopping Technical Prerequisites: None License : GPL 2 - MIT Modules: - Compatibility: >= version 3.0 - Multi languages Recommendation and documentation specific use : The module create a new directory inside the template directory All the new modules inserted inside the Default template will work with cool_effect template. If you must make an update, please, copy the files inside the cool_effect template. Implementation: - Copy the All Diretories inside Shop expcept ModuleInfosJson - Copy the template_cool_effect.json into ClicShopping/Work/Cache/Github (manual installation) - In your administration : Design / Configuration / Configuration : Change the website theme Download Github download : https://github.com/ClicShoppingV3Community/template_cool_effect/archive/master.zip Github : https://github.com/ClicShoppingV3Community/template_cool_effect.git Note : All the options inside modules are not included in the template. You must update in consequence what you wish. All informations about the ClicShopping Download ClicShopping : https://github.com/ClicShopping/ClicShopping_V3/archive/master.zip Community : https://www.clicshopping.org Software : https://github.com/ClicShopping Official add on : https://github.com/ClicShoppingOfficialModulesV3 Community add on : https://github.com/ClicShoppingV3Community trademark License info : https://www.clicshopping.org/forum/trademark/


  17. 1 point
    Hello, yes you can change. look the Blog, you will find all the information : https://www.clicshopping.org/forum/blogs/entry/5-secure-clicshopping/
  18. 1 point
    Hello, Another with cool effect : https://miketricking.github.io/bootstrap-image-hover/
  19. 1 point
    Hello, i do not exactly what you want to do, but look this page, it can help you. https://mdbootstrap.com/docs/jquery/css/hover-effects/
  20. 1 point
    Hello, @Patricks describe well what you must make and also take time to learn and test. About the demo and master, the demo show you how to use different themes but the default is the same than you have on Github, after you can change some setting inside modules ou default configuration or apps. For the demo, I just created a specific theme and put just the file need to be change but you also can create your own module and call your own template. Note, the default template is the "referent" for the files, if you create a new template with new module and change after in other template without this module, errors can appear. You can resolve that if you bring you new module inside the default template. The new template override just the files in the default template. Limit all the css must copied in the new template
  21. 1 point
    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.
  22. 1 point
    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 !
  23. 1 point
    Thank you for this report : Some information there : https://kinsta.com/blog/php-7-4/ Official page : https://wiki.php.net/rfc#php_74
  24. 1 point
    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.
  25. 1 point
    Hello, ClicShopping is a young solution, some improvment can again make, That's why some people can contribute, help, develop new module to increase the solution. That's the goal.
  26. 1 point
    Hello @SuperThin, Welcome. Some peope here are not have a big coders, as me, I try to help if I can. See you on the forum
  27. 1 point
    Hello @CoucheTard, Welcome on this forum. Just little advise to you. Look the tutorial, it will help you some nice video are present. Also, take time to read the forum, i am sur you will find a answer about a question or a problem. If not, some people here will be happy to help you.
  28. 1 point
    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.
  29. 1 point
    Oups ! Ok I see miss a inside the san. look in Shop/URls this function : getSkipAccents Now if you do want you must change something inside this function. The best is to override this function. Copy the files in Custom/Sites/Shop After, you can change this function like you wish.
  30. 1 point
    Not sur to understand : When I click on I have Sản phẩm từ nuôi ong https://nongsankhanhhoa.vn/index.php/Sn-phm-t-nuoi-ong/cPath-30 https://nongsankhanhhoa.vn/index.php/Sn-phm-t-nuoi-ong/cPath-30/language-en https://nongsankhanhhoa.vn/index.php/Sn-phm-t-nuoi-ong/cPath-30/language-vi The url are correct, no problem on that.
  31. 1 point
    Hello @SuperThin, That I know you have : /ClicShopingAdmin/includes/languages /Shop/Sources/languages/ /includes/ClicSHopping/Apps/Catalog/MyApps/Languages I think you can find the elements inside the Apps. Look Catalog, Orders, Tools. If you do not find, the best is to make a search inside the files, take the terms, You will found the files.
  32. 1 point
    Wrong Github URL, it must be https://github.com/ClicShoppingV3Community/template_grocery NOT https://github.com/ClicShoppingV3Community/template_alibaba
  33. 1 point
    When accessing Configuration => Location & taxes => Zones to: 1. Toggle status a zone in list, if we move to a page (not page 1) and click tick icon, after status changed, list page wil be page 1. So, paging function has a problem. Check https://demo.clicshopping.org/demo_test/ClicShoppingAdmin835/index.php?A&Configuration\Zones&Zones&2page=2&cID=73 2. Type a country (such as France in search bar) to filter zones belong to this country, if there are more than 1 page, if you choose page 2, 3, etc,... it will not go to the page, it will load page 1 of list zone page and all zone will be counted. Eg.: with France as example, at the end of page "Display 1 to 20 (on 107)", you cannot see 21 to 107 because when click to paging icon, it will not drive you to correct page as you expect.
  34. 1 point
    I am learning to use Git. If have any bugs, I post to GitHub. Thank you very much!
  35. 1 point
    @SuperThin Just a question when you will are finish to translate ClicShopping in Vietnamese, Are you agree to share your work ? If yes, just contact me by mail, i will explain you the process.
  36. 1 point
    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.
  37. 1 point
    Hello I make an update about the composer who can create automatically an htaccess in shop directory and when you install application and the site is not accessible. I change the json configuration to resolve that. About chmod if your hoster do not allow to include new file or create new directory. You must do that manually. For you the most important directory and sub directory are : Includes/clicshopping/work in 777 and sub Sources/images in 777 and image The chmod can be changed with your ftp Check also is your hoster accept composer (commande). Now, if you want install a payment for example, composer is required in your server. If the automatic install do not work you have no choice to download the apps you make an install manually in your case You have some tutorials on the website to do that how to install in manual an apps The best is to have a local website, to install local and after to export in your server. I hope it can help you to resolve your problem.
  38. 1 point
    I think the article must be important and need to consume lot of time Know your target audience original content and not copy Sell the benefits about the product Avoid using filler words Tell a story Don’t forget to optimize your product pages You can look this article : https://tinuiti.com/blog/ecommerce/product-descriptions/
  39. 1 point
    Just for information Look the files /includes/ClicShopping/Work/log/error...txt If you have file like that, you will see the error.
  40. 1 point
    Hello, This tutorial allow you to create a cron to save your db in daily. if you want to change the delay, you can use this site to help you : https://crontab-generator.org/ Inside your server create a files : saveCronTabDb.sh with execute right (chmod 755) #!/bin/bash DB_USER='MyUserName' DB_PASS='MyPassword' DB_HOST='localhost' DB_NAME='MyTable' mysql -u${DB_USER} -p${DB_PASS} -h${DB_HOST} $DB_NAME < "/var/www/xxx/xxx/web8/web/myDbdirectory/myDbfilesToSave.sql" Now you can create your crontab with this command: In this case all the 21hr everyday * */21 * * * /var/www/xxx/xxx/web1/private/saveCronTabDb.sh > /var/www/xxx/xxx/web1/private/cron.log To test your cron : sh saveCronTabDb.sh To see your cron sudo crontab -l Ah do not forget to protect your directory with an htaccess # Disable directory browsing Options -Indexes <Files .htaccess> Order allow,deny Deny from all </Files>
  41. 1 point
    Maybe there is a problem with MySQL v5.7 @MG86 but with MariaDB, everything works fine. I have not been a problem to install ClicShopping. The video inside the tuto is a good idea.
  42. 1 point
    Go to Marketing Banner Manager, you will find that you want.
  43. 1 point
    This tuto allow to make an app quickly without knowledge. Inside you will have important element to use and change to create a new app. you must after updated inside your need. - First download a App name New_Template on Github and follow these instructions (https://github.com/ClicShoppingOfficialModulesV3/apps_catalog_new_template) - Copy the app New_Template inside your includes/Apps/Catalog directory - Rename the directory New_Template by MY_NEWS_APP (name of your new application) - Replace all these terms in my MY_NEWS_APP directory : Please respect the syntax lower and uppercase. it's very important. - NewTemplateAdmin by MyNewAPPAdmin - new_template by my_new_app - New_Template by My_New_APP - NEW_TEMPLATE by MY_NEWS_APP - NT BY MA ==> becarefull when you make that. - _nt_ by _ma_ Rename directories and files - New_Template.php by My_New_App.php - new_template.php by my_new_app.php - NT.php by MA.php - NT by MA - Inside this directory Sites\ClicShoppingAdmin\Pages\Home\Actions\Configure - edit Install.php - Update in consequence. - Update the language files Note These directories has been inserted to help you. If you don't need, you can remove. - Remove Classes directories if you don't have need. - Remove Hooks language and Products directory if you don't have need. Don"t forget to update your clicshopping.json If you need specific classes, create a specific directories ClicShoppingAdmin for the admin and Shop for the catalog. now you are ready, you can find some apps to help you to continue your development on Github : https://github.com/ClicShoppingOfficialModulesV3 Now you ready to install you new app. https://www.mydomain.net/shop/ClicShoppingAdmin/index.php?A&MY_NEWS_APP


  • Create New...

Important Information

By using this site, you agree to our Terms of Use