Page 10 of 59. Showing 587 results (0.019 seconds)
Installing PrestaShop using the command line
Installing PrestaShop using the command-line script Since version 1.5.4, PrestaShop has had a command-line installer. What it is This special installer makes it possible to install PrestaShop without the need to use a web browser: simply put the content of the zip archive on your web server, and you can installUsing PrestaShop with WordPress
WordPress is probably the most popular open-source content management system at the moment, with 20% of the website using it for various purposes, from a simple blog to a full-blown corporate website. PrestaShop is able to handle an unlimited number of static pages and page categories using its CMS featureUsing the REST webservice
An example of Using the PrestaShop Web Service using CRUD This tutorial shows you how to use the PrestaShop web service with PHP library by creating a "CRUD … for managing data in an application. The PrestaShop web service uses the REST architecture in order to be available on as many platforms as possible, since HTTPInstalling PrestaShop using the command-line script
to use a web browser: simply put the content of the zip archive on your web server, and you can install PrestaShop through your command-line interface (CLI). Any CLI software can be used as long as you can use it to interact with the server's commands: Bash, Windows PowerShell, OS X Terminal, PuTTY, etc. The pointInstalling PrestaShop using the command-line script
to use a web browser: simply put the content of the zip archive on your web server, and you can install PrestaShop through your command-line interface (CLI). Any CLI software can be used as long as you can use it to interact with the server's commands: Bash, Windows PowerShell, OS X Terminal, PuTTY, etc. The pointUsing helpers to overload a back-office template
' => true, 'size' => 64 ) ), ); } Example 1: Using templates for helpers within a controller We are going to create a controller by using the default helpers … want to overload a template using a controller. In this case, you just have to put the overloaded file in the following folder: override/controllers/adminIntegrating content in a page using hooks
Table of contents Integrating content in a page using hooks Hooks are a way to attach your code to some specific PrestaShop events. Most of the time, they are used to insert content in a page. For instance, the PrestaShop default theme's home page has the following hooks: Hook name Description displayHeader DisplaysHelperForm
Table of contents HelperForm This helper is used to generate an edition form for an object of type ObjectModel. Example: editing the client's profile. Form … has to have a label 'name' => 'shipping_method', // The name of the object property from which we get the value ['required'] => {true, false}, // If trueHooks in PrestaShop 1.7.x
/controller/AdminController.php array( 'object' => &(ObjectModel), 'fields' => &(array), 'fields_value' => &(array), 'form_vars' => &(array), ); action … a new customer creates an account successfully /classes/form/CustomerPersister.php array( '_POST' => (array) $_POST, 'newCustomer' => (object) Customer objectPre-1.6.1.0 PHP Coding Standards
, and separate words using underscores. Do not ever use CamelCase for variable names, only for method/function and object/class names. Corresponding to data from … . public myMethod(Array $var1, $var2, Object $var3) For all other parameters, they have to be cast each time they are used, except when they are sent to other