Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Posts posted by ClicShopping

  1. ClicShopping allow you to use the artificial intelligence with ChatGpt, there are 2 ways to use this new functionality


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

    The response can be a bit slow.






    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.

    The response can be a bit slow.






    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)




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


    4/ What you do inside ClicShopping with the IA

    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


    In the futur we want to develop and to implement more the interactions with the IA.



    5 - More informations are available inside the blog :


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

    SEO and ChatGPT

    Use Artificial Intelligence In Ecommerce



    • Thanks 5
  2. 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
  3. Little note for the communauty,

    Chat 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 ChatGPT


    Let's enjoy with an artificial intelligence

    • Like 6
    • Thanks 3
  4. 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
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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

    A new version has been released. Some fix has been resolved. Please note this version works on with php > 8.1 and bootstrap.
    The focus has been to integrate boostrap 5 (https://getbootstrap.com/docs/5.0/getting-started/introduction/) and php 8.1

    See the announcement on the index forum to know the date of sub release 3.31x


    I let there the most important change inside the code int the 3.31x
    For the module I recommend you to remove and reinstall, Bootstrap 5 do not use the same syntax. I invite you to update your module on the marketplace in  function the new bootstrap code.

    Lot of code has been changed inside the application.

    ** Please, see the sql_update directory to include the new sql element **


    - fix strict mode php 8.1

    - fix incompatibility with php 8.1 (php 7.4.x do not work now)

    - Some different bug fix

    - Code refactoring

    - Boostrap 5 implementation

    - Add vertical menu in option

    - remove htaccess (see tip and trips on the forum)

    - Replace font Awesome library by bootstrap icon

    - remove customer fax obsolete

    - update sql database (see sql update and update version)

    - remove sensiolabs/security-checker not maintained

    - add a security checker email library via composer

    - reduce jquery dependency by pure javascript

    - add new image gallery in pure js (the other will be push on github)

    - add chartjs without jquery https://www.chartjs.org/



    To upload : https://github.com/ClicShopping/ClicShopping_V3/releases/


    The next minor release will focus to update the libraries, fix the bugs.



    • Like 2
    • Thanks 7
  12. 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
  13. 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
  14. Yes you have right. I will remove that and write little information on that inside the readme

    Thank you for the file, I uploaded and make a test more later. Tk

    Also, You remove your file on github, normal ?

  • Create New...

Important Information

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