Jump to content

Foster

Members
  • Content Count

    30
  • Joined

  • Last visited

    Never
  • Days Won

    4

Everything posted by Foster

  1. Foster

    Alibaba template

    Downloaded and installed via the administration, No configuration to make except to select the template. Seems to work fine. I look a little, it'a a new directory with some files. there is some override behind that ! In all case, if there is an update about ClicShopping like the latest pre-release, the work on the design is not touch. In my sens it's a very good point.
  2. First you must know ClicShopping is made like this 1 module = 1 css In this case all the products listing has their own css, you must modify the css and update the files in consequences; I recommend you to create a new module (it's easy, it's just a replace) with this own css.
  3. The code below create a circle. it use the bootstrap function This is a pure html but after you must translate in function the ClicShopping Code. .btn-circle.btn-xl { width: 70px; height: 70px; padding: 10px 16px; border-radius: 35px; font-size: 12px; text-align: center; } and <button type="button" class="btn btn-danger btn-circle btn-xl">30 %</button>
  4. Nice to see the work and the evolution. Php e-strict is important and allow the solution to be more secure. I will take time to make more test during the week in function my time.
  5. Hello, A new noteappear on google. It explain about wha'st happen with robot.txt. https://webmasters.googleblog.com/2019/07/a-note-on-unsupported-rules-in-robotstxt.html
  6. Than you @Maxime about you all video, it was a nice idea to make that. I appreciate.
  7. There is no import data .sql, where do you find this file. I think you make a mistake.
  8. 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.
  9. @Engy, the hook name is StatsDashboard, You will find inside the application by a search.
  10. I am looked more information about that and find a technical information It can help you why you have a problem :
  11. Currently, you can not. This option is not again available. Maybe a day. I don't know.
  12. 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/
  13. @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
  14. 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.
  15. 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.
  16. 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.
  17. 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.
  18. 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.
  19. Ok, thank you @drack. Indeed, just to look tools/extension and I found all that I want.
  20. 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 ?
  21. 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.
  22. 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.
×
×
  • Create New...

Important Information

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