Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation since 11/22/18 in all areas

  1. 14 points
    Quick video about the process installation of ClicShopping :
  2. 12 points
    Like you can see, the 3.12 is out. Some files have been updated or improved. the 3.12 has been out because they have a security fix on jquery. We have updated also some script. To update ClicShopping : If you have modified the template default directory, it's better to use a beyond compare If you use another template directory, you nothing to do except to compare you have modified files to see if there is an update or not. Have a good day
  3. 11 points
    Hello Everybody, Follow the announcement, we will happy to present you the pre release 3.20. if you comment do not hesitate. During this month we will update the apps and look your comments. Enjoy
  4. 11 points
    Hi everybody You will find inside the zip a folder called update in the root. Open it and include the DB modification. Before to make that, look inside your DB if you have not these fields. Else, if you have installed modules use the products table, you must make an update . The most impact is inside ClicShopping, I recommend you to make before your update, a copy of your version and make the upgrade. If you have o problem, it's cool, else you can make a comment here. About the modules (free and paid) header_menu :slimmenu, upcomming products header_tag : grdp, analytics, facebook pixel, twitter_card, apps : antispam, frontpage_specials, favorites, featured, image, manufacturer modules_products_info : also_purchased, products_related, reviews, download This is the most of apps and modules impacted by the update. Note : the paid modules will be updated today
  5. 10 points
    this capsule explains how to install the "minimalistic header multi template module" module in clicshopping. For more information you can go on the market place :https://www.clicshopping.org/forum/files/file/168-modules-page-header-multi-template-minimalistic/
  6. 9 points
    Hello, I have just created a new product new template. The approach is very basic and you can if you want to include some features inside like flash discount, qty, stock ... How it works, Inside directory template_html, create new files like template_boostrap_simple.php and insert this code below. You can copy this files in other template directory if you want to have a new design. I take the orginal design, but if you want to change the css parameters, It's better to create a new css. what do you think ? <?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/ * */ use ClicShopping\OM\CLICSHOPPING; ?> <div class="col-md-<?php echo $bootstrap_column; ?> col-md-<?php echo $bootstrap_column; ?>"> <div class="card-deck-wrapper" itemprop="itemListElement" itemscope="" itemtype="https://schema.org/Product"> <div class="card-deck"> <div class="card card-footer"> <div> <div class="col-md-6 float-md-left"> <div class="ModulesFrontPageBoostrapColumn6Image"> <?php echo $products_image; ?></div> </div> <div class="col-md-6 float-md-right"> <div class="ModulesFrontPageBoostrapColumn6Title"><h3><a href="<?php echo $products_name_url; ?> "><?php echo $products_name; ?></a></h3></div> <div class="separator"></div> <div class="separator"></div> </div> </div> <div class="separator"></div> <div class="hr"></div> <div> <ul class="list-inline"> <div class="ModulesFrontPageBoostrapColumn6TextPrice" itemprop="offers" itemscope itemtype="https://schema.org/Offer"><?php echo CLICSHOPPING::getDef('text_price') . ' ' . $product_price; ?></div> </ul> </div> </div> </div> <div class="separator"></div> </div> </div> the result :
  7. 8 points
    this capsule explains how to install the "hooks orders batch" module in clicshopping. For more information you can go on the market place : https://www.clicshopping.org/forum/files/file/21-hooks_orders_batch/
  8. 7 points
    this capsule explains how to install the "Flash Sales" module in clicshopping. For more information you can go on the market place : https://www.clicshopping.org/forum/files/file/165-modules-products-comparison/
  9. 6 points
    this capsule explains how to install the "apps customers guest customer" module in clicshopping. For more information you can go on the market place :https://www.clicshopping.org/forum/files/file/63-apps-guest-customer/
  10. 6 points
    this capsule explains how to install the "bootstrap front page caroussel" module in clicshopping.
  11. 6 points
    this capsule explains how to install the "contact us map " module in clicshopping. For more information you can go on the market place : https://www.clicshopping.org/forum/files/file/157-modules-contact-us-map/
  12. 6 points
    this capsule explains how to install the "Extra Field" module in ClicShopping. For more information, you can go on the marketplace : https://www.clicshopping.org/forum/files/file/5-quantities-discount/
  13. 6 points
    hello @Reflex I made a little video for you about the banner creation process :
  14. 6 points
    @Patrick, Yes and no, some elements have been updated but with jquery fix, it was better to make an update.
  15. 6 points
    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> ';
  16. 6 points
    An example : $CLICSHOPPING_ProductsLength->convert($products_dimension_depth, $products_length_class_id, 2) In this case, all the products_dimension_depth will be converted in cm. You can also use the default unit (can be defined in configuration store)
  17. 6 points
    Hello @Patrick, The product length has been introduced because some shipping module takes the length (ups, postcanada, boxtal, fedex ..) You can define different length in function your need. When you create a new shipping app, you can convert the length in function of characteristics of the service. For example, in France, we use the cm but in USA, this is the inch. If you have your length in cm, you can convert automatically in inch . Some others updates resolve bug fix.
  18. 5 points
    Version 3.20 pre-release is now out. Some improvements have been made inside the code concerning the previous version 3.11 This pre-release is make to identify bugs. It's recommended to use with php 7.3 version. We hope to make the full release at the end of this month. Update some script like phpmailer, jquery, ckeditor, el finder on the latest version - Refactoring and reformat code - Some bugs fix identified fixed - Started the function typage - The db now use utf8mb4 (see the tools Db to convert your database) - Strict php mode coding (will be full the next release) - Override the shop classes by the custom directory - Allow to use the Custom directory to create new page - Updated for IPV6 - For moment, the focus will be to update the marketplace official version apps As the plan, we continue to improve the code, identified new bugs. The next version will be full compatibility with php 7.4. Upgrade : If you use the 3.11, copy the files and update your database with the sql update (see update.txt) Be careful, if you have modified the Default template. Use a file comparison tool to make your update Note : Thank you for Maxime for this work about the tutorials video : https://github.com/ClicShopping/ClicShopping_V3/archive/master.zip Admin demo access : https://demo.clicshopping.org/demo_test/ClicShoppingAdmin835 Catalog demo : https://demo.clicshopping.org/demo/ Tutorials : https://www.clicshopping.org/forum/forum/18-best-pratices-tip-trips-and-training/ Details articles : https://www.clicshopping.org/forum/blogs/blog/3-clicshopping/ Download ClicShopping : https://github.com/ClicShopping/ClicShopping_V3/archive/master.zip
  19. 5 points
    Tutorial about how to configure double taxes system (QC, Canada) in ClicShopping. Quebec settings have been taken because it's little more complex to take 1 tax but the process is little the same.
  20. 5 points
    Nice idea for the newbiz. Thre is a specific tutorial on the blog. https://www.clicshopping.org/forum/blogs/entry/4-clicshopping-installation-process/
  21. 5 points
    @Victorious, I will help you, it's very simple to make a new file. You mus create 6 files modules_footer/fo_footer_my_template.php modules_footer/content/fo_footer_my_template.php language/english/modules/modules_footer/fo_footer_my_template.php language/french/modules/modules_footer/fo_footer_my_template.php css/english/modules/modules_footer/fo_footer_my_template.php css/french/modules/modules_footer/fo_footer_my_template.php (if it used) Below an example, make that quickly, it can have litle error inside the files. The most important files (after you can make the other) modules_footer/fo_footer_my_template.php <?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/ * */ use ClicShopping\OM\Registry; use ClicShopping\OM\CLICSHOPPING; class fo_footer_my_template { public $code; public $group; public $title; public $description; public $sort_order; public $enabled = false; public $pages; protected $rewriteUrl; public function __construct() { $this->code = get_class($this); $this->group = basename(__DIR__); $this->title = CLICSHOPPING::getDef('module_footer_my_template_title'); $this->description = CLICSHOPPING::getDef('module_footer_my_template_description'); $this->rewriteUrl = Registry::get('RewriteUrl'); if ( defined('MODULES_FOOTER_MY_TEMPLATE_STATUS') ) { $this->sort_order = MODULES_FOOTER_MY_TEMPLATE_SORT_ORDER; $this->enabled = (MODULES_FOOTER_MY_TEMPLATE_STATUS == 'True'); $this->pages = MODULE_FOOTER_MY_TEMPLATE_DISPLAY_PAGES; } } public function execute() { $CLICSHOPPING_Template = Registry::get('Template'); $CLICSHOPPING_Customer = Registry::get('Customer'); $CLICSHOPPING_PageManagerShop = Registry::get('PageManagerShop'); $CLICSHOPPING_Db = Registry::get('Db'); if ( MODE_VENTE_PRIVEE == 'false' || (MODE_VENTE_PRIVEE == 'true' && $CLICSHOPPING_Customer->isLoggedOn() )) { // change pages_id = 55 by your id $Qpages = $CLICSHOPPING_Db->prepare('select pd.pages_title, p.links_target from :table_pages_manager p, :table_pages_manager_description pd where p.status = 1 and ( p.customers_group_id = :customers_group_id or p.customers_group_id = 99) and p.pages_id = pd.pages_id and p.pages_id = 55 '); $Qpages->bindInt(':customers_group_id', (int)$CLICSHOPPING_Customer->getCustomersGroupID() ); $Qpages->execute(); $content = HTML::link($this->rewriteUrl->getPageManagerContentUrl($Qpages->valueInt('pages_id')), $Qpages->value('pages_title'), 'target="' . $Qpages->value('links_target') . '"') $content_width = (int)MODULE_FOOTER_MY_TEMPLATE_CONTENT_WIDTH; $my_template_footer = '<!-- footer page manager start -->' . "\n"; ob_start(); require($CLICSHOPPING_Template->getTemplateModules($this->group . '/content/footer_my_template')); $my_template_footer .= ob_get_clean(); $my_template_footer .='<!-- footer page manager end -->' . "\n"; $CLICSHOPPING_Template->addBlock($my_template_footer, $this->group); } } public function isEnabled() { return $this->enabled; } public function check() { return defined('MODULES_FOOTER_MY_TEMPLATE_STATUS'); } public function install() { $CLICSHOPPING_Db = Registry::get('Db'); $CLICSHOPPING_Db->save('configuration', [ 'configuration_title' => 'Do you want activate this module ?', 'configuration_key' => 'MODULES_FOOTER_MY_TEMPLATE_STATUS', 'configuration_value' => 'True', 'configuration_description' => 'Do you want activate this module in your shop ?', 'configuration_group_id' => '6', 'sort_order' => '1', 'set_function' => 'clic_cfg_set_boolean_value(array(\'True\', \'False\'))', 'date_added' => 'now()' ] ); $CLICSHOPPING_Db->save('configuration', [ 'configuration_title' => 'Please select the width of the module', 'configuration_key' => 'MODULE_FOOTER_MY_TEMPLATE_CONTENT_WIDTH', 'configuration_value' => '12', 'configuration_description' => 'Select a number between 1 and 12', 'configuration_group_id' => '6', 'sort_order' => '1', 'set_function' => 'clic_cfg_set_content_module_width_pull_down', 'date_added' => 'now()' ] ); $CLICSHOPPING_Db->save('configuration', [ 'configuration_title' => 'Sort order', 'configuration_key' => 'MODULES_FOOTER_MY_TEMPLATE_SORT_ORDER', 'configuration_value' => '10', 'configuration_description' => 'Sort order of display. Lowest is displayed first', 'configuration_group_id' => '6', 'sort_order' => '4', 'set_function' => '', 'date_added' => 'now()' ] ); $CLICSHOPPING_Db->save('configuration', [ 'configuration_title' => 'Indicate the page where the module is displayed', 'configuration_key' => 'MODULE_FOOTER_MY_TEMPLATE_DISPLAY_PAGES', 'configuration_value' => 'all', 'configuration_description' => 'Select the page where the module is displayed.', 'configuration_group_id' => '6', 'sort_order' => '5', 'set_function' => 'clic_cfg_set_select_pages_list', 'date_added' => 'now()' ] ); } public function remove() { return Registry::get('Db')->exec('delete from :table_configuration where configuration_key in ("' . implode('", "', $this->keys()) . '")'); } public function keys() { return ['MODULES_FOOTER_MY_TEMPLATE_STATUS', 'MODULE_FOOTER_MY_TEMPLATE_CONTENT_WIDTH', 'MODULES_FOOTER_MY_TEMPLATE_SORT_ORDER', 'MODULE_FOOTER_MY_TEMPLATE_DISPLAY_PAGES' ]; } } modules_footer/content/footer_my_template.php <div class="col-md-<?php echo $content_width; ?> moduleFooterMyTemplater"> <span class="moduleFooterMyTemplate"> <span class="footerMyTemplate"><?php echo $content; ?></span> </span> </div>
  22. 5 points
    Thank you @Patrick, I will write a tuto about the Apps during the week. I think it's better for people does not have some knowledge and want to try to create an App.
  23. 4 points
    Llltle released are out. Just little bug discover and adjustment because the end of this month about the fix released.
  24. 4 points
    this capsule explains how to install the Colissimo french Post Multi Pickup in ClicShopping. For more information you can go on the market place : https://www.clicshopping.org/forum/files/file/156-apps-shipping-colissimo-point-relais/
  25. 4 points
    quick video about banners in ClicShopping :
  26. 4 points
    There an example : You can see a status there : http://localhost/shop/ClicShoppingAdmin/index.php?A&Configuration\Modules&Configure look the Module directory :Apps/Configuration/Modules/Module/ClicShoppingAdmin/Config/MO/Params 2/ Inside you can see a status files, copy and paste inside the same directory. Change the filename : status_stats_products.php for example You can have something like this : <?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\Apps\Configuration\Modules\Module\ClicShoppingAdmin\Config\MO\Params; use ClicShopping\OM\HTML; class status_stats_products extends \ClicShopping\Apps\Configuration\Modules\Module\ClicShoppingAdmin\Config\ConfigParamAbstract { public $default = 'True'; public $sort_order = 10; protected function init() { $this->title = $this->app->getDef('cfg_products_modules_status_stats_products_title'); $this->description = $this->app->getDef('cfg_products_modules_status_stats_products_description'); } public function getInputField() { $value = $this->getInputValue(); $input = HTML::radioField($this->key, 'True', $value, 'id="' . $this->key . '1" autocomplete="off"') . $this->app->getDef('cfg_products_modules_status_true') . ' '; $input .= HTML::radioField($this->key, 'False', $value, 'id="' . $this->key . '2" autocomplete="off"') . $this->app->getDef('cfg_products_modules_status_false'); return $input; } } 2/ Now don't forget to reate the files inside your language directory 3/ Now actualize your page, a new configuration is added inside the configuration database : CLICSHOPPING_APP_MODULES_MO_STATUS_STATS_PRODUCTS 4/ now go in this directory : Includes/Module/Hooks/ClicShoppingAdmin/Dashboard Edit your hooks stats_products .php for example and add after : function execute() this : if (!defined('CLICSHOPPING_APP_MODULES_MO_STATUS_STATS_PRODUCTS') || CLICSHOPPING_APP_MODULES_MO_STATUS_STATS_PRODUCTS == 'False') { return false; } Now you can control your hook and display the information or not.
  27. 4 points
    @Patrick Yes, I make an update, it's now included inside the core.
  28. 4 points
    @Drack @Patrick You can find like promise a tuto about the app creation. I make something for beginner https://www.clicshopping.org/forum/topic/66-hw-to-create-a-new-apps-quickly/
  29. 4 points
    Hello @Patrick You have some example inside the administration, look this file : The most important is to use this syntax : Without nothing ClicShopping\Apps\Marketing\SEO\Sites\Shop\Pages\GoogleSitemap\Actions\GoogleSitemapSpecials.php protected $use_site_template = false; For modal ClicShopping\Apps\Catalog\Suppliers\Sites\ClicShoppingAdmin\Pages\Home\Action\SuppliersPopUp.php $this->page->setUseSiteTemplate(false); //don't display Header / Footer
  30. 3 points
    This tutorial allows you to see how to install the Apps Shipping Post Canada inside ClicShopping
  31. 3 points
    this capsule explains how to install the "apps tools export data" module in clicshopping. For more information you can go on the market place :https://www.clicshopping.org/forum/files/file/33-apps-tools-export-price-comparator/
  32. 3 points
    This capsule explains how to install the "Checkout step" module in clicshopping. This demo show you 4 modules available for free : - Step on shopping cart - Step for Shipping - Step for Paiement - Step for confirmation For more information you can go on the market place to download these modules
  33. 3 points
    There is no import data .sql, where do you find this file. I think you make a mistake.
  34. 3 points
    this capsule explains how to install the "categories description" module in clicshopping. For more information you can go on the market place : https://www.clicshopping.org/forum/files/file/59-modules-products-listing-description-categories/
  35. 3 points
    this capsule explains how to install the "front page categories image" module in clicshopping. For more information you can go on the market place : https://www.clicshopping.org/forum/files/file/53-modules-front-page-categories-image/
  36. 3 points
    this capsule explains how to install the "Flash Sales" module in clicshopping. For more information you can go on the market place : https://www.clicshopping.org/forum/files/file/167-modules_page_flash_sales/
  37. 3 points
    Hello everyone, I new tutorial allow you to install the caroussel inside your header More information on the marketplace : https://www.clicshopping.org/forum/files/file/88-modules-header-bootstrap-caroussel/
  38. 3 points
    Quick video about the installation process of quick update module, it's also a little demo : More information on marketplace : https://www.clicshopping.org/forum/files/file/8-products-quick-udpdate/
  39. 3 points
    Quick video about the installation of the module there is also a quick demo of it. For more information you can go to the marketplace : https://www.clicshopping.org/forum/files/file/163-apps-catalog-products-barcode/
  40. 3 points
    @Grimoire, It's could be better if you can include a code to create automatically the new field inside the database. you can include this in your code (in AccountGdprSms) private static function installNewField() { $CLICSHOPPING_Db = Registry::get('Db'); $Qcheck = $CLICSHOPPING_Db->query("show columns from :table_account_grpd 'no_sms'"); $check = $Qcheck->fetch(); if ($check === false) { $sql = <<<EOD ALTER TABLE :table_account_grpd ADD no_sms tynint(1) NULL AFTER no_ip_address; EOD; $CLICSHOPPING_Db->exec($sql); } } and write inside display() function this code static::installNewField() It must work.
  41. 3 points
    Hello, Could you help me to create a new GRPD hooks, It's in relation with this post https://www.clicshopping.org/forum/topic/98-adverttisement-sms/?tab=comments#comment-308 If I understand well I must create 2 files, One to display called AccountGdprSms and one AccountGdprDeleteSms. After I must create a new field inside customers_gdpr called no_sms Is like this AccountGdprSms namespace ClicShopping\OM\Module\Hooks\Shop\Account; use ClicShopping\OM\CLICSHOPPING; use ClicShopping\OM\Registry; use ClicShopping\OM\HTML; class AccountGdprNoIp { protected $sms; public function getSms() { $CLICSHOPPING_Db = Registry::get('Db'); $CLICSHOPPING_Customer = Registry::get('Customer'); $Qgdpr = $CLICSHOPPING_Db->prepare('select no_sms from :table_customers_gdpr where customers_id = :customers_id '); $Qgdpr->bindInt(':customers_id', $CLICSHOPPING_Customer->getID()); $Qgdpr->execute(); $sms = $Qgdpr->valueInt('no_sms'); return $sms; } public function display() { $output = '<div>'; $output .= '<label class="checkbox-inline">'; $output .= HTML::checkboxField('no_sms', $this->getSms(), $this->getSms()); $output .= '</label>'; $output .= CLICSHOPPING::getDef('module_account_customers_gdpr_no_sms'); $output .= '</div>'; return $output; } } and for AccountGdprDeleteSms <?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\Shop\Account; use ClicShopping\OM\CLICSHOPPING; use ClicShopping\OM\Registry; use ClicShopping\OM\HTML; class AccountGdprCallNoSms { public function execute() { $CLICSHOPPING_Db = Registry::get('Db'); $CLICSHOPPING_Customer = Registry::get('Customer'); $Qcheck = $CLICSHOPPING_Db->prepare('select customers_id, no_sms from :table_customers_gdpr where customers_id = :customers_id '); $Qcheck->bindInt(':customers_id', $CLICSHOPPING_Customer->getID()); $Qcheck->execute(); if ($Qcheck->fetch() === false) { $CLICSHOPPING_Db->save('customers_gdpr', ['customers_id' => $CLICSHOPPING_Customer->getID()]); } else { if (!is_null($_POST['no_sms'])) { $no_sms = 1; } else { $no_sms = 0; } $Qupdate = $CLICSHOPPING_Db->prepare('update :table_customers_gdpr set no_sms = :no_sms, customers_id = :customers_id '); $Qupdate->bindInt(':customers_id', $CLICSHOPPING_Customer->getID()); $Qupdate->bindInt(':no_sms', no_sms); $Qupdate->execute(); } } }
  42. 3 points
    It seems to be becarefull of that. I recommend you to make a GRDP hooks to ask the permission at your customer to use their data for sms. With that, you have a protecttion and the customers can remove this option when they want.
  43. 3 points
    @FrediKa, There an example. the process: edit fp_new_products.php rename in fp_my_file.php Inside replace fp_new_product by fp_my_file replace : front_page_new_products by front_page_my_file replace : FRONT_PAGE_NEW_PRODUCTS by FRONT_PAGE_MY_FILE eventually you can change the template directory : '/template_html/' . MODULE_FRONT_PAGE_NEW_PRODUCTS_TEMPLATE by '/template_html/' . MODULE_FRONT_PAGE_MY_TEMPLATE_DIRECTORY Do not forget to change the language Do not forget to change the css Now you are ready to implement your code. This is a short cut to help you how to make a new template_html with a template directory but you can use also the default template_html Now do not forget to include your new contribution inside the Default template and also in your new template directory. Like that you can change everything without to change anything inside the default template directory. Why you must include your new contribution in the Default directory and not only the new template directory ? It's the DB initialization is made by default inside the Default directory. Like all the module are overridden in function the Default Directory, you have no choice to include the new element inside the Default directory. It's the limitation. I hope it's not little too complex, but after one or to test, you will understand the process.
  44. 2 points
    Hello @McJordadino, look this module : https://www.clicshopping.org/forum/files/file/124-modules-checkout-shipping-warning/ https://www.clicshopping.org/forum/files/file/123-modules-checkout-shipping-information-banner/ I think ,it can be a response at your problem.
  45. 2 points
    Hello @ClicShopping , Thank you for this new version, could you tell us if there something specific and make attention to update the website ?
  46. 2 points
    Hello, First, on you right, you have a dynamic statistic information, These elements appear in function on your website. Some elements can be included inside when you create a new app. Inside this directory, you can find some Hooks : Modules/Hooks/ClicShoppingAdmin/Dashboard I looked the code and all the file starts by this synthax IndexDahboardTop , will displayed information on the top on the dasboard. For example you want to display statistics, news ..., you have to create a file like that IndexDahboardTop.php Litle example : <?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; class IndexDahboardTopOrder { public function __construct() { if (CLICSHOPPING::getSite() != 'ClicShoppingAdmin') { CLICSHOPPING::redirect(); } } public function execute() { $test = '<span class="col-md-4 alert alert-danger">--------------</span>'; $test .= '<span class="col-md-4 alert alert-info">--------------</span>'; return $test; } } It displays 2 information elements in the dashboard top. Pu the files and it's done
  47. 2 points
    @Josephine : https://www.clicshopping.org/forum/topic/14-how-to-display-information-inside-the-template/ I let you the css .ModulesFrontPageBoostrapColumn5Image { text-align: center; } .ModulesFrontPageBoostrapColumn5Title h3 { font-size: 0.6875rem; text-align:center; vertical-align:text-top; padding-top: 0.3125rem; height: 0.625rem; padding-left: 0.3125rem; padding-right:5px; } .ModulesFrontPageBoostrapColumn5Title A { text-decoration: none; } .ModulesFrontPageBoostrapColumn5TextPrice { color:#000000; text-align:center; vertical-align:text-top; font-size: 0.75rem!important; padding-top: 0.625rem; }
  48. 2 points
    @Ronaldo Yes, you have right, some files can be overridden inside a new template. But all the modules must be also in the default template because the system read in first the default template and install the element in the bd.
  49. 2 points
    Hello Fredika, You will found all elements in this directory sources/template/Default/css/english/general Like you can see, there is some css files, every css is a relation with a module. In function your module, you can change like yo want. In your case, you must look general/bootstrap_customize.css general/stylesheet.css for the header and the footer, the element is located : modules_header modules footer direcotries modules_boxes (for the boxes at your left and right) : bonus !) If I remember well, it's not advised to change inside Default directory. In this case, create another directory, copy all the files of ExNewTemplate and css for Default directory. In administration, you can change your default emplate directory in Design/configuration design / configuration and select your new template. I think there is a module can do that on the fly to see your change but I don't remember the name. Also there is an Apps can you help you to change the css via your administration, but it's not free. The first time for me, it was not simple to understand, but after pratice it's very easy. I hope it's not too difficult for you ! Let me know if you need more information.
  50. 2 points
    Hello Manupichu Welcome. You can change the language via your administration. Go to Tools / Editors. Do not forget, if you delete all the languages, all modifications will be deleted. Good news, you can do that, for only one language.
×
×
  • Create New...

Important Information

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