Jump to content

Foster

Members
  • Posts

    86
  • Joined

  • Last visited

    Never
  • Days Won

    19

Everything posted by Foster

  1. @Engy, the hook name is StatsDashboard, You will find inside the application by a search.
  2. I am looked more information about that and find a technical information It can help you why you have a problem :
  3. Currently, you can not. This option is not again available. Maybe a day. I don't know.
  4. 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/
  5. @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
  6. 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.
  7. 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.
  8. 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.
  9. 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.
  10. 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.
  11. Ok, thank you @drack. Indeed, just to look tools/extension and I found all that I want.
  12. Hello, I will have know how to display the meta tag description, title ... I found how to write by default on by product description, but I don't see the elements ?
  13. Hello Mc, I have been a similar problem, I just change the sort order. If you have the same sort order, you can have a problem to display the module where you want. I hope this experience can help you.
  14. Hello, Also, I used Osc, this application is good, but when you want to make something more, you must include some code in the core. At the end, I decided to test other things, there are some good e-commerce application.ClicShopping is one I look because it's close to Osc on the bd.
  15. Thank you for this example.
  16. Hello, I am testing the B2B, and I would know if it's possible : To Remove the price To remove the taxes To display the product only in B2B Tk.
  17. @Grimoire, @Julie, Thank you, a newbie like me it's interesting to understand how works ClicShopping. It's simple when we tried to use a new tool.
  18. @Manupichu Hello, It's my first, it's possible to have an example, same simple. I would like to understand better the concept.
×
×
  • Create New...

Important Information

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