Jump to content

Julie

Members
  • Content Count

    67
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by Julie

  1. Julie

    3.11

    Thank you @ClicShopping Could you give us an exemple ?
  2. I just forgot something. Could you tell us if you have used a e-commerce platform before ? What do you look on this forum. It can help the member to help you in the future
  3. Welcome to the forums. Do not hesitate to look the documentation and the security guide (blog) to help you to configure your application
  4. Julie

    Newsletter and Email

    @Josephine The best approach is to make a connexion with your Mailchimp or your service / app in this case.
  5. @Patrick, Ok thank you for your help
  6. Hello, Do you have an idea to change inside the shopping header, the product title by an image ? Thank you.
  7. Hello, You have some configuration you can be applied, look inside your general configuration, products and customer groups. Like I see, you can develop some differents approach, you must test
  8. Yes, this module can make your business. Try it !
  9. Hello, You can choose between use the banner manager or make your own development. In all the case, you must create a new module. The banner manager allow to use the multi language and insert image or text (including HTML). If you decide to create a new module, you can include that you want inside.
  10. Hello, Thank you ClicShopping for this update. Like @Patrick, is it possible to know more and if it' something of specific to make. ?
  11. @BertrandD, Yes I am not include this files, but it's easy to create it. The most important problem is the module.
  12. @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>
  13. Julie

    Hooks GRPD

    @grimoire, With pleasure
  14. Julie

    Hooks GRPD

    @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.
  15. 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.
  16. I don't know this company, I think now it can have some customer come from different country, it's not a problem. After, look the general condition and the fees plan. it's cool to have new payment module.
  17. About the seo, You must configure the seo in Configuration / Seo (Default) After you can customize inside the product for example. The seo is displayed in function your language. Like the english is off, the search engine will be crawling the french.
  18. @David To change the logo, it's easy, go to the Marketing / Banner and you can update your logo About the address, it's inside the Configuration Menu / my store About a todo list after install, no I don't see anything, but It can be usefull for the newbiz. All the configuration is made inside Configuration menu, General, law Stock, Invoice Shipping SEO Locations and taxes Other / email I think with that, your website will be confgured Let me know if you have others questions
  19. Hello Philman, Go to the products description tab and open the image editor. You can manage all your image like you want. The system allow you only to download the products image but to remove some old image ..., it's better to use the image editor.
  20. Me too, I also for a moment the numeric antispam. For moment, I use it inside the registration account, and contat us.
  21. Yes, when you look the regulation menu inside the application, for me it's complete, you have some element about the country use 1 taxe, or other country use a double taxe. If you look after the invoice some important element are included inside.
  22. 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
  23. Just to complete this subject about the regulation, Inside the solution, you have some setting than you can fill and display inside your invoice or like VAT number.
  24. Look this modules, it allow you to your customer to control some element like google analytics. Also, you can create a module if it not implemented. https://www.clicshopping.org/forum/files/file/94-module-header-tags-gdpr/
×
×
  • Create New...

Important Information

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