Merge branch 'development' of https://github.com/PrestaShop/PrestaShop into development
This commit is contained in:
commit
e2dac03baa
3 files changed
+21
-25
No files matched your search
@@ -2,44 +2,45 @@ README
|
|||||||
======
|
======
|
||||||

|

|
||||||
|
|
||||||
PREPARATION
|
ABOUT
|
||||||
--------
|
--------
|
||||||
|
|
||||||
To install PrestaShop, you need a remote web server or on your computer (MAMP), with access to a database like MySQL.
|
PrestaShop is a free and open-source e-commerce web application, committed to providing the best shopping cart experience for both merchants and consumers.
|
||||||
You'll need access to phpMyAdmin to create a database and to indicate the information in the database in the installer.
|
|
||||||
|
|
||||||
|
SERVER CONFIGURATION
|
||||||
|
--------
|
||||||
|
|
||||||
|
To install PrestaShop, you need a web server running PHP5 and any flavor of MySQL5 (MySQL, MariaDB, Percona Server...).
|
||||||
|
You will also need a database administration tool, such as phpMyAdmin, in order to create a database for PrestaShop.
|
||||||
|
We recommend the Apache or Nginx web servers.
|
||||||
|
|
||||||
|
If your host does not offer PHP5 by default, here are a few [explanations][2] about PHP5 or the .htaccess file for certain hosting services (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc).
|
||||||
|
|
||||||
|
If you want your online store ready to go, visit [http://www.prestabox.com][1]: it lets you create your online store in less than 10 minutes without any technical knowledge.
|
||||||
|
|
||||||
If you do not host and unable to create your store, we offer a turnkey store, which lets you create your online store in less than 10 minutes without any technical knowledge.
|
|
||||||
We invite you to visit: [http://www.prestabox.com][1]
|
|
||||||
|
|
||||||
INSTALLATION
|
INSTALLATION
|
||||||
--------
|
--------
|
||||||
|
|
||||||
Simply go to your PrestaShop web directory and use installer :-)
|
With your web browser, go to the root of your PrestaShop directory, and the installer will start. Follow the instructions until PrestaShop is installed.
|
||||||
|
|
||||||
If you have any PHP error, perhaps you don't have PHP5 or you need to activate it on your web host.
|
If you have any PHP error, perhaps you don't have PHP5 or you need to activate it on your web host. See the page linked above.
|
||||||
Please go to our forum to find pre-installation settings (PHP 5, htaccess) for certain hosting services (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc).
|
If you don't find any solution to start the installer, please post on [the PrestaShop forums][3].
|
||||||
|
|
||||||
English webhost [specifics settings][2]
|
|
||||||
|
|
||||||
|
|
||||||
If you don't find any solution to launch installer, please post on [our forum][3]
|
|
||||||
|
|
||||||
|
|
||||||
There are always solutions for your issues ;-)
|
|
||||||
|
|
||||||
DOCUMENTATION
|
DOCUMENTATION
|
||||||
--------
|
--------
|
||||||
|
|
||||||
For any extra documentation (how-to), please read our [Online documentation][4]
|
The official PrestaShop documentation is available online [on its own website][4].
|
||||||
|
|
||||||
|
|
||||||
FORUMS
|
FORUMS
|
||||||
--------
|
--------
|
||||||
|
|
||||||
You can also discuss, help and contribute with PrestaShop community on [our forums][5]
|
You can discuss, help and contribute with PrestaShop community on [the PrestaShop forums][5].
|
||||||
|
|
||||||
|
Thank you for downloading and using PrestaShop e-commerce Open-source solution!
|
||||||
Thanks for downloading and using PrestaShop e-commerce Open-source solution!
|
|
||||||
|
|
||||||
[1]: http://www.prestabox.com
|
[1]: http://www.prestabox.com
|
||||||
[2]: http://www.prestashop.com/forums/topic/2946-pre-installation-settings-php-5-htaccess-for-certain-hosting-services/
|
[2]: http://www.prestashop.com/forums/topic/2946-pre-installation-settings-php-5-htaccess-for-certain-hosting-services/
|
||||||
|
|||||||
@@ -305,11 +305,7 @@ class StockAvailableCore extends ObjectModel
|
|||||||
if (!Validate::isUnsignedId($id_product))
|
if (!Validate::isUnsignedId($id_product))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if ($id_shop === null)
|
|
||||||
$id_shop = Context::getContext()->shop->id;
|
|
||||||
|
|
||||||
$existing_id = StockAvailable::getStockAvailableIdByProductId((int)$id_product, (int)$id_product_attribute, (int)$id_shop);
|
$existing_id = StockAvailable::getStockAvailableIdByProductId((int)$id_product, (int)$id_product_attribute, (int)$id_shop);
|
||||||
|
|
||||||
if ($existing_id > 0)
|
if ($existing_id > 0)
|
||||||
{
|
{
|
||||||
Db::getInstance()->update(
|
Db::getInstance()->update(
|
||||||
|
|||||||
@@ -1289,9 +1289,8 @@ class WebserviceRequestCore
|
|||||||
$check = ' WHERE ('.implode('OR', $OR).') AND `'.bqSQL($this->resourceConfiguration['fields']['id']['sqlId']).'` = '.(int)$this->urlSegment[1];
|
$check = ' WHERE ('.implode('OR', $OR).') AND `'.bqSQL($this->resourceConfiguration['fields']['id']['sqlId']).'` = '.(int)$this->urlSegment[1];
|
||||||
if (!Db::getInstance()->getValue($sql.$check))
|
if (!Db::getInstance()->getValue($sql.$check))
|
||||||
$this->setError(404, 'This '.$this->resourceConfiguration['retrieveData']['className'].' ('.(int)$this->urlSegment[1].') does not exists on this shop', 131);
|
$this->setError(404, 'This '.$this->resourceConfiguration['retrieveData']['className'].' ('.(int)$this->urlSegment[1].') does not exists on this shop', 131);
|
||||||
else
|
|
||||||
return $objects;
|
|
||||||
}
|
}
|
||||||
|
return $objects;
|
||||||
}
|
}
|
||||||
if (!count($this->errors))
|
if (!count($this->errors))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user