Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Posts posted by ClicShopping

  1. Hello,
    The best is crowding there is a module you can use but it's not completely tested

    Crowding does not allow me to insert all the language in free version. That's why I do not push more and I do not find a system enough simple to use it as crowding. And my account is suspended 😞 for that
    Let me know

    Clic On doynload (not github)



  2. Hello @GuillaumeSochon,

    i just change the title and remove your website link, just a better practice. I hope it's fine for you.
    About the Drack report, I will look but I recommend to open an issue on Github. If there is a bug it will be fixed for a next release.
    I looked the log and I see you, something happen with the api.

    After testing, it's important to  update the sql request. It will be implemented on the next release. Do not forget after to actualize your page to see the information


    ALTER TABLE `clic_marketplace_file_informations` CHANGE `is_installed` `is_installed` TINYINT(4) NOT NULL DEFAULT '0';
    ALTER TABLE `clic_marketplace_categories` CHANGE `sort_order` `sort_order` INT(3) NULL DEFAULT '0';
    ALTER TABLE `clic_marketplace_categories` CHANGE `parent_id` `parent_id` INT(11) NOT NULL DEFAULT '0'; 


    • Thanks 1
  3. Hello,

    Can you look this please /includes/ClicShopping/Conf/ElFinderConfig.php

    you must have something like that if you are in localhost

    define('DIR_FS_CATALOG_IMAGES', '/home/www/clicshopping_test/sources/images/');  // path to files (REQUIRED)
    define('DIR_WS_CATALOG_IMAGES', '/clicshopping_test/sources/images/'); // URL to files (REQUIRED)



    If not reinstall your application without the Db installation.

    Let me know.

    Thank you

  4. Good morning,


    Some of you have certainly noticed a change on the logo. Since the 2 last versions, we have set out to put generative artificial intelligence in the application with GPT and OPENAI. The module will certainly evolve in time to integrate other approach like Google Bard for example. We go there in stages.


    For the next version 3.431 a Charbot will be integrated into the application on the front office.

    It will use generative AI to give additional information to the user allowing him to have more information on the product.


    We wanted to go more far including generation conditions for example. But the expected result was not there. We have tried to use text segmentation to reduce the processing time but the limitation obtained is not good.


    This is due to the fact that Mariadb does not have a feature to include a vector inside a table.

    This approach improves treatment time but drastically reducing the number of Token sent to GPT and the cost linked to treatment.


    In addition, proposing a solution whose reaction time and a cost of treatment too much did not seem to us to be careful as an approach.

    Furthermore, like the administration where we use Davinci-003 model, in the front office, we use GPT 3.5 Turbo is a model largely cheaper than Davinci.


    We have included a parameter allowing to manage the chatbot display in the offering front so that you can better manage your budget.

    To complete the next evolution will have updates concerning the GPT including new statistics, a preditive security stock -analyse and an update on customer recommendations.


    Our objective is to be able to offer a new generation of e-commerce platform allowing merchants (small company, medium company) to be able to use artificial intelligence with a budget control, to be able to carry out more impactful communication campaign, marketing and finally to optimize production time, creation of product sheets and increase the sell.


    The work continues and will continue in this orientation in the future.

    • Like 3
    • Thanks 2
  5. ClicShopping allow you to use the generative artificial intelligence with Gpt, there are 2 ways to use this new functionality


    What you do inside ClicShopping with the GenIA

    Across the chat : Use on all pages

    Across the Wysiwyg : Specific request about

      - Products (description - short description - SEO - image gallery)

      - Brands (description - SEO - image)
      - Categories (description - SEO - image)
      - Contact email
      - Newletters
      - Content page (description -  SEO)
    ... All other page use the Wysiwyg
      - SEO in general
     - Request Help with a general chat

    - Front page Chatbot


    In the futur we want to develop and to implement more interactions with the IA like products recommendations, reviews summary ...


    1 - Use the chatbox available in the header
    This approach is useful if you need to ask a specific request, for example for the seo (title, description, keywords)






    2 - Use the wysiwig chatbox available for all descriptions
    This approach will allow you to include a product description easily. You must click on the map icon close the image icon. A dialog box is open and you can insert your question.






    3 - Setting the Artificial Intelligence


    To use this approach, you must configure the API and to include the OpenAI key. Of course you can change some parameters.
    The key is available on OpenIA platform. Just note the API is not free (except for testing during 3 months)




    4 - Front Page Chatbot


    You must activate the chatbot frontpage to use it and set it inside Template/footer. The focus is on product information. It was difficult to propose some others informationswith the generative AI because the consumption is too important for a bad result.


    The problem come from Maria Db, the database does not use the vector approach and when you have a long text to analyze, the vector approach is really useful. We tried with segmentation approach but the result is poor.


    To use generative AI for general condition is really bad idea because the legal approach can be very different on each website including the regulation.



    Documentation :

    if you want more information about the setting configuration, please look there : https://platform.openai.com/docs/quickstart/start-with-an-instruction

    5 - Statistitics


    • dashboard




    • Settings




    5 - More informations are available inside the blog :


    How can GPT help us to improve the productivity and the result inside ClicShopping ?

    SEO and GPT

    Use Artificial Intelligence In Ecommerce



    • Thanks 6
  6. Hello @julie,

    Thank you for your idea, It's now integrating inside the solution. Some screen capture below


    The question must be precise




    The answer from AI :



    the code generated





    Of course, it's not perfect, but it's the beginning.
    The next step is to close this development and we will see if we publish for the next release.


    • Like 4
    • Thanks 3
  7. Little note for the communauty,

    Gpt from OpenAI will be integrated for the next release of ClicShopping.
    I let you to read the blog to understand what you can do with this tool.


    Just a note, we must use the API, and it's free for 3  month. It will be easy to configure GPT


    Let's enjoy with an artificial intelligence

    • Like 6
    • Thanks 3
  8. We have started the next version of ClicShopping and some minor release has been pushed.


    What do we find inside this new version essentially ?


    Php8.2 compatibility and optimized

    Studio editor to edit the template and the css

    Cronjob manager with some tasks included

    API allowing to connect ClicShopping with some other tools as crm, erp across json approach ....

    A new marketplace

    Librairies will updated

    Double authentification

    The new boostrap version


    and some other surprises :)



    • Thanks 3
  9. What is a cronjob ?


    A cronjob is a service that allows a user to automatically execute a script at a specific time.

    For example, you can set a particular PHP script to be automatically executed everyday at midnight.


    How to find the cronjob command ?


    Go to your website admin / tools / Cronjob


    To run all the cron just add in your Cpanel this line :


    wget http://mywebsite.com/index.php?cronjob&runall --read-timeout=5400


    Setup in cPanel :


    Set up cron jobs through cPanel using this procedure:

    Log on to your cPanel Interface.

    Go to 'Advanced' section.

    Click on "Cron Jobs".

    Select the specific time from the lists provided.

    You should enter the command to run in the "Command" field.

    You should make sure to enter the proper command and the full path to the file.

    • Thanks 1
  10. Time-based one-time password (TOTP) is a computer algorithm that generates a one-time password (OTP) that uses the current time as a source of uniqueness. As an extension of the HMAC-based one-time password algorithm (HOTP), it has been adopted as Internet Engineering Task Force (IETF) standard RFC 6238.[1]

    TOTP is the cornerstone of Initiative for Open Authentication (OATH), and is used in a number of two-factor authentication (2FA) systems.


    A Time-Based One-Time Password or TOTP is a passcode valid for 30 to 90 seconds that has been generated using the value of the Shared Secret and system time.


    How it works inside CliShopping,


    You have two options you can activate, one for the administration protection and one on Catalog login. The approach is the same for the both. You insert your email and your are redirected on Topt page QR code. You have just to scan the code with your phone.


    Aministration Login :

    Protection 1  Connexion :

    You must enter you login and password. If it's does not work you must restart. It's security normal process


    Protection 2  Ip identification :

    You Ip is registred everytime you want to try to log inside the administration. After 5 times (you can define), you account is blocked and you must wait to try another time.


    You can also receive an email to know if someone try to connect on you admin


    Protection 3 Double authentification by TOTP: (option)

    This is an option where you can include the TOTP identification. The process is quite simple.


    If you activate the TOTP, the first time when you tried to connect inside the admin, a TOTP password is generated and save inside your database.

    After a QR code appears and you must terminate your identification with the sanc of your QR code and  include the number given by your phone.

    The process compare the TOTP number with your QR code number and allow you to connect or not inside the administration.


    The login

    This the same process as the administration.

    Protection 1  Connexion :

    You must enter you login and password. If it's does not work you must restart. It's security normal process


    Protection 2 Double authentification by Topt : (option)

    Same process as the Administration for the TOTP authentification.


    Conclusion :

    This approach is not a perfect process security but allow you to have something best with a low interference with the action client. It's in coformity with the regulation recommandtion proposed in Europe.


    You can activate this process only for administration or for the catalog. It's independent process.


    For example, Amazon is more restritive about the double identification because you must receive a code on your smartphone. The problem with this approach if you tried to connect with another computer and you do not have your phone, you can not. In other part, with the TOTP process implemented inside the ClicShopping, you can use on every computer.


    To increase the application security and data storage, you always  have a compromise to choose and there is always a repercution on your client. For moment, it can be transparent, another moment, it must do an action.


    Also you can increase again the security to include and antispam App and create different kind to security approach inside different ClicShopping forms.

    The point aborded here is only about the identification.






    • Like 8
  11. Email is part of communication, below different examples how to set email inside ClicShopping


    Example 1 : o2switch.net


    User name : myemail@domain.com
    - Password : email password
    - Server : mail.test.domain.com
    - remove mail. and write only test.domain.com
    - SMTP Port: 26
    - SMTP authentication : true
    - SMTP secured protocol : ssl
    - Emails activation : true



    Example 2 : gmail.com


    - User name : myemail@gmail.com
    - Password : Utilisez le mot de passe du compte de messagerie.
    - Server smtp : smtp.gmail.com
    - remove smtp. and write only gmail.com
    - SMTP Port: 25 ou 465
    - SMTP authentication : true
    - SMTP secured protocol : ssl or Tls
    - Emails activation : true


    • Like 7
  12. When Google or other search engines come to your site to read and store the content in its search index, it will look for a special file called robots.txt. This file is a set of instructions to tell search engines where they can look to crawl content and where they are not allowed to crawl content. We can use these rules to ensure that search engines don't waste their time looking at links that do not have valuable content and avoid links that produce faceted content.


    Why is this important?

    Search engines need to look at and store as many pages that exist on the internet as possible. There are currently an estimated more 4.5 billion web pages active today. That's a lot of work for Google.

    It cannot look and store every single page, so it needs to decide what to keep and how long it will spend on your site indexing pages. This is called a crawl budget.

    How many pages a day Google will index depends on many factors, including how fresh the site is, how much content you have and how popular your site is. Some websites will have Google index as few as 30 links a day. We want every link to count and not waste Google's time.


    What does the suggested Robots.txt file do?

    ClicShopping optimised rules exclude site areas with no unique content but instead redirect links to existing topics. Also excluded are areas such as the privacy policy, cookie policy, log in and register pages and so on. Submit buttons and filters are also excluded to prevent faceted pages. Finally, user profiles are excluded as these offer little valuable content for Google but contain around 150 redirect links. Given that Google has more seconds on your site, these links that exist elsewhere eat up your crawl budget quickly.


    What is the suggested Robots.txt file?

    Here is the content of the suggested Robots.txt file. If your ClicSHoppingis inside a directory, you will need to apply it to the root of your site manually. So, for example, if your community was at /home/site/public_html/myDirectory/ - you would need to create this robots.txt file and add it to /home/site/public_html. It's simple just edit robot.txt and change inside the information


    example of robot.txt

    Note : domain.ltd must be changed by your domain.

    # Rules for ClicSopping (https://www.clicshopping.org)
    User-Agent: *
    # Block pages with no unique content
    Disallow: /Account/LogIn/
    Disallow: /Account/CreatePro
    Disallow: /Account/Create
    Disallow: /Account/PasswordForgotten
    Disallow: /Search/AdvancedSearch/
    Disallow: /Search/Q/
    # Block faceted pages and 301 redirect pages
    Disallow: /*?page=
    Disallow: /*?sort=
    # Sitemap URL
    Sitemap: https://domain.tld/index.php?Sitemap&GoogleSitemapIndex


    • Like 7
  13. The version 3.323 allows to use htaccess to rewrite the url.


    To use this function you must activate in Shop/SEO urls this 2 options


    1 - Use Search-Engine Safe Native URLs


    this option rewrites the url like this :




    2- Use Search-Engine Safe URLs Pro (with htaccess)


    This option rewrites the url like this :




    To use the last option, you must include inside your root an htaccess with this syntax. Of course, it can updated in function of your server.

    note : This option works only on the catalog without customer, if your are logged you will see the url above. It's optimized only for the search engine.

    For apache 2.4

    # url rewiting
    #improve url rewriting
    #work fine without directory https://mydomain.com/test/index.php
    #the rewriting must be activated inside the application
    # uncomment
    <IfModule mod_rewrite.c>
    RewriteEngine On
    DirectorySlash Off
    # Remove WWW
    RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    RewriteRule ^ https://%1%{REQUEST_URI} [R=302,L]
    # Remove Trailing Slashes
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{THE_REQUEST} \s(.+?)//+[?\s]
    RewriteRule ^ %1 [R=302,L]
    # Reroute to index.php
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php/$1 [L]


    • Like 5
  14. Hello,

    Thank you for you comment, it's always welcome.


    Yes you can always use the last image gallery but you must follow this process
    - Do not remove the jquery hooks because the module use jquery - For this version, we do not touch on the module - No pb

    - You must change inside the image gallery these elements :

    edit : pi_products_info_gallery.php

    Inside sql configuration : 'configuration_title' => 'Where do want to display the gallery position ?',

    update by this

    'set_function' => 'clic_cfg_set_boolean_value(array(\'float-end\', \'float-start\', \'float-none\'))',


    Of course, remove and reinstall it.
    I will push when I have a little time a specific module in the marketplace and github community.


    • Like 3
    • Thanks 2
  15. Hello @Rantanplan,


    little late but there an example. You can find this code the apps category

    You can create another if you add information inside the json or you can add inside the includes/Modules directories. Goofd luck


       * @copyright 2008 - https://www.clicshopping.org
       * @Brand : ClicShopping(Tm) at Inpi all right Reserved
       * @Licence GPL 2 & MIT
       * @licence MIT - Portion of osCommerce 2.4
       * @Info : https://www.clicshopping.org/forum/trademark/
      namespace ClicShopping\Apps\Catalog\Categories\Module\Hooks\ClicShoppingAdmin\DashboardShortCut;
      use ClicShopping\OM\Registry;
      use ClicShopping\OM\HTML;
      use ClicShopping\OM\CLICSHOPPING;
      use ClicShopping\Apps\Catalog\Categories\Categories as categoriesApp;
      class DashboardShortCutCategories implements \ClicShopping\OM\Modules\HooksInterface
        protected $app;
        public function __construct()
          if (!Registry::exists('Categories')) {
            Registry::set('Categories', new categoriesApp());
          $this->app = Registry::get('Categories');
        public function display(): string
            return false;
          $output = HTML::link(CLICSHOPPING::link(null, 'A&Catalog\Categories&Categories'), null, 'class="btn btn-primary btn-sm" role="button"><span class="fas fa-list" title="' . $this->app->getDef('heading_short_categories') . '"') . ' ';
          return $output;


    • Like 1
  16. Hello,


    Just for your information, ClicShopping works very fine on php 8.0. I made some little modification and I take time to check the different page.

    All is in good way about php 8.0 TC 03


    Some information below

    ClicShopping Version3.22

    Hôte :localhost (

    Hôte de la base de données :localhost (

    Système d'exploitation :Linux 5.4.0-54-genericBase de données :MySQL 5.5.5-10.4.17-MariaDB-1:10.4.17+maria~focal

    Date du serveur :2020-11-23 09:30:09 +0000 UTC2020-11-23 10:30:09

    Temps de fonctionnement :10:30:09 up 1 day, 18:58, 2 users, load average: 0.45, 1.09, 1.29


    Serveur HTTP :Apache/2.4.41 (Ubuntu)

    Zend version8.0.0RC3 (Zend : 4.0.0-dev)

    • Like 4
    • Thanks 3
  • Create New...

Important Information

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