Search

Help

Page 1 of 59. Showing 587 results (0.021 seconds)

  1. Using the Context Object

    Table of contents Using the Context Object What is the Context object? The Context is a technical feature introduced with version 1.5 of PrestaShop. Its two … object, the context looks for an id_lang value in the cookie. If it doesn't find one, it will retrieve the default language id from the database. How to use
    PrestaShop 1.6May 02, 2014
  2. Using the Context Object -

    Table of contents Using the Context Object What is the Context object? The Context is a technical feature introduced with version 1.5 of PrestaShop. Its two … object, the context looks for an id_lang value in the cookie. If it doesn't find one, it will retrieve the default language id from the database. How to use
    PrestaShop 1.6Jul 12, 2016
  3. Using the Context Object

    Table of contents Using the Context Object What is the Context object? The Context is a technical feature introduced with version 1.5 of PrestaShop. Its two … object, the context looks for an id_lang value in the cookie. If it doesn't find one, it will retrieve the default language id from the database. How to use
    PrestaShop 1.5Mar 06, 2013
  4. Creating a first module

    if needed). PrestaShop uses Object-Oriented programming, and so do its modules. That class must bear the same name as the module and its folder, in CamelCase (see … ()) all make use of a new object, Configuration. This is a PrestaShop-specific object, built to help developers manage their module settings. It stores
    PrestaShop 1.6Jul 05, 2017
  5. Creating a first module-

    coming changes to all existing stores instead of only the current store. The Context is explained in more details in the "Using the Context Object" chapter … with other classes if needed). PrestaShop uses Object-Oriented programming, and so do its modules. That class must bear the same name as the module and its folder
    PrestaShop 1.6Jul 01, 2016
  6. Creating a first module

    in the “Using the Context Object” chapter of this Developer Guide. The icon file To put the finishing touch to this basic module, you should add an icon, which … with other classes if needed). PrestaShop uses Object-Oriented programming, and so do its modules. That class must bear the same name as the module and its folder
    PrestaShop 1.7Sep 14, 2017
  7. Creating a PrestaShop module

    . The Context is another new feature from version 1.5 of PrestaShop. It is explained in more details in the "Using the Context Object" chapter of this Developer … of this is to prevent malicious visitors to load this file directly. The file must also contain the module's main class. PrestaShop uses Object-Oriented programming
    PrestaShop 1.5Feb 12, 2015
  8. Specifics of multistore module development

    , depending on the store context: // If the context is the current group, use the image named 'advertising-g' // If the context is the current store, use the image … database tables There can be several scenarios: The object/entity exists in some stores, but not in all of them: you should use an associative table, and handle
    PrestaShop 1.5May 28, 2013
  9. Specifics of multistore module development

    for general usage. Your configuration code should only target the current store using the current Context, which every Configuration method does automatically … , use the image named 'advertising-g' // If the context is the current store, use the image named 'advertising-s' if (Shop::getContext() == Shop::CONTEXT_GROUP
    PrestaShop 1.6Mar 20, 2015
  10. Specifics of multistore module development -

    Configuration method, they are not recommended for general usage. Your configuration code should only target the current store using the current Context, which every … context: // If the context is the current group, use the image named 'advertising-g' // If the context is the current store, use the image named 'advertising-s
    PrestaShop 1.6Jul 12, 2016