Skip to content
View in the app

A better way to browse. Learn more.

Clicshopping AI, Free generative artificial intelligence e-commerce Open Source , Open Source Store Onlne

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Drack

Members
  • Joined

  • Last visited

Posts posted by Drack

  1. If I can add to the conversation, if you go on Amazon, it can be cool, but do you have the quantity to propose your product? 

    What I am saying, It's important to choose the good orientation, the good investment and test your market.

    In function of your result, you can adjust your goal.

  2. Note to continue the discussion : To see what's happen, you can make a test like that.

    Go to ClicShopping/OM/Mail.php

    change

     protected $debug = 0;

    by

    protected $debug = 2;

     

    After this line :

     

     

    add

    exit;

     

    and to finish send an email and see the result.

     

     

     

     

  3. ·

    Edited by Drack

    Hello @Carole,

    Look the documentation on the blog, it can help you and do not hesitate to put a question.

    About your question, Inside the configuration, you can choose B2B, B2C or both.

    We will help you.

  4. I think, it's better to have not more than your screen width. For example, il you have 10, you will have some statistics on 2 row. 
    It think it's better to focus on what is important for you.
    Inside the dashboard, you also have lot of statistics, it's not important to make the same inside the top dashboard.
     

  5. Yes it look nice.

     

    It enough easy to make another one : Take this file IndexDashboardTopStockWarning and rename it : IndexDashboardTopTest
    Change inside the class and the request

    The file will be like this !

    ........... must be removed and adapted at your needs.

    <?php
      /**
     *
     *  @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\OM\Module\Hooks\ClicShoppingAdmin\Dashboard;
    
      use ClicShopping\OM\CLICSHOPPING;
      use ClicShopping\OM\Registry;
      use ClicShopping\OM\HTML;
    
      class IndexDashboardTopTest {
        protected $db;
    
        public function __construct() {
    
          if (CLICSHOPPING::getSite() != 'ClicShoppingAdmin') {
            CLICSHOPPING::redirect();
          }
    
          $this->db = Registry::get('Db');
        }
    
        public function execute() {
          $Qproducts = $this->db->prepare('select count(*) as count from :table_products
                                          where ..........
                                         ');
    
          $Qproducts->execute();
    
          $number_products_test = $Qproducts->valueInt('count');
    
          if ($number_products_test > 0) {
            $text = CLICSHOPPING::getDef('text_number_products_........');
            $text_view = CLICSHOPPING::getDef('text_view');
    
            $output = '
    <div style="padding-right:0.5rem; padding-top:0.5rem">
        <div class="card bg-warning">
          <div class="card-body">
            <div class="row">
              <h5 class="card-title text-white"><i class="fas fa-bell-slash"  aria-hidden="true"></i> ' . $text . '</h5>
            </div>
            <div class="col-md-12">
              <span h5 class="text-white">' . $number_products_test . '</span>
              <span><small class="text-white">' . HTML::link(CLICSHOPPING::link(null, 'A&...........'), $text_view, 'class="text-white"') . '</small></span>
            </div>
          </div>
        </div>
    </div>
    ';

     

  6. ·

    Edited by Drack

    Thank you for this update.

    If I understand the function, it's possible to have different products length, but inside the shipping all is the same because it need an uniformisation. is it correct ?

    It's like the weight.

     

  7. ·

    Edited by Drack

    Thank you for this update and recommendations.

    I looked the news, to include a status inside a categories, it's a good new for the shop owner to display or not a category.

    Just a question, if the category is on Off, the products inside the categories is displayed or not ?

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.