Jump to content

Foster

Members
  • Content Count

    23
  • Joined

  • Last visited

    Never
  • Days Won

    4

Foster last won the day on June 13

Foster had the most liked content!

Community Reputation

10 Good
  1. You must be carefull at this : Excessive volume of emails (exceeding host's per-minute, per-hour, per-day caps). You need to find out from your host what the limits are (important for newsletter). Newsletters and other "not necessary" communications (mass mailings) have to be explicitly "opt in", to avoid legal problems and accusations of spamming. Respect the regulation and if the customer has opt in the newsletter. If your host (or other systems, such as Yahoo or Gmail) are flagging the content of any of your emails as spam, you will need to adjust the wording and contents to pass the spam tests.
  2. @Engy, the hook name is StatsDashboard, You will find inside the application by a search.
  3. I am looked more information about that and find a technical information It can help you why you have a problem :
  4. Currently, you can not. This option is not again available. Maybe a day. I don't know.
  5. test a/b is a process to identify the best strategy to take. In your case, you can send 50% with a design and 50% with another design. After you can make a choice. More information there : https://en.wikipedia.org/wiki/A/B_testing https://vwo.com/ab-testing/
  6. @JKaz No, it simple if you follow the instruction above. I recommend you to have a tool like beyond compare or similar. In this case, you can compare the files and update what you want. if you have all the files inside a new directory, just copy the file, that's all else you must compare. Thank you for your work @ClicShopping
  7. Yes you can do that, Look this line : $product_tab_description .= '<div class="tab-pane" id="tab' . $n . '">' . $r . '</div>'; you have just add the same after the loop and update. After you can make a new one with all that you want inside.
  8. Yes, it's possible to let the administrator choose But in other parts it's maybe better for him to have no choice. Some government looks the website to identify if it respects the law or not. There is another option, make a rule to let the customer contact the shop owner for that. But it's must be clear inside the website rules.
  9. 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.
  10. No you can't but if you customize a little you can add an element inside your DB and insert the hooks a condition with a return on false.
  11. No, you can not. But there are other possibilities. Inside the apps, you can create an option to activate a hook or not or to include inside the hooks a status in relation with the app. If (defined('MY_APPS_CATALOG_TEST_STATUS) && MY_APPS_CATALOG_TEST_STATUS == 'True') { return false; } Or If (defined('MY_APPS_CATALOG_TEST_HOOK_STATUS) && MY_APPS_CATALOG_TEST_HOOK_STATUS == 'True') { return false; } I have not tested, but I think it's a way to manage a hook or not. the core has not a status function to manage the hook.
  12. Ok, thank you @drack. Indeed, just to look tools/extension and I found all that I want.
×
×
  • Create New...

Important Information

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