Skip to content

Commit 02a9a0e

Browse files
committed
0.1.0-alpha104
* Various improvements: * Merge SQL and Data Upgrades for the Sales and SalesRule modules * Add getDefaultBilling and getDefaultShipping to Customer Interface * Stabilized the Bundle module * Stabilized the CatalogSearch module * Stabilized the Cms module * Stabilized the SalesRule module * Performance improvements: * Introduced CatalogRule indexers based on Mview * Significantly decreased the amount of unused objects, mostly in category and product view scenarios: * Got rid of non-shared indexer instances all over the code introducing Magento\Indexer\Model\IndexerRegistry * Magento\Catalog\Pricing\Price\BasePrice being created on demand only, instead of unconditioned creation in constructor * Created proxies for unused objects with big amount of dependencies * Fixed \Magento\Review\Block\Product\Review block which injected backend block context by mistake * A customer model in \Magento\Customer\Model\Layout\DepersonalizePlugin being created on demand only, instead of constructor * Introduced caching for product attribute metadata loading procedure * Improved SavePayment Checkout step to save only payment related data * Speed up all Checkout steps of the One Page Checkout * Updated the benchmark.jmx jmeter script in the performance toolkit * Fixed bugs: * Fixed an issue where performance toolkit generator created Products/Categories without URL rewrites due to install area elimination * Fixed an issue where the Custom Options fieldset on Product Information page was collapsible * Fixed an issue where the Base URL was added to target path for Custom UrlRewrite * Fixed an issue where an invalid Cross-sells amount was displayed in the Shopping Cart * Fixed an issue where the Mage_Catalog_Model_Product_Type_AbstractTest::testBeforeSave integration test failed when Mage_Downloadable module was not available * Fixed an issue where the custom URL rewrite redirected to sub-folder when Request Path contained slash * Fixed an issue where it was impossible to place an order if registering during checkout * Fixed an issue where there was no possibility to save default billing and shipping addresses for customer on the store front * Fixed an issue where a widget of Catalog Category Link type was not displayed on the store front * Fixed an issue where the Versions tab was absent on the CMS page with version control * Fixed an issue where it was impossible to insert Widgets and Images to a CMS page * Added the following functional tests: * Create widget * Print order from guest on frontend * Framework Improvements: * Removed duplicated logic from API Builders and Builder generators. Added support for populating builders from the objects, implementing data interface * Processed GitHub requests: * [#674](#674) -- Widgets in content pages
1 parent 86f7776 commit 02a9a0e

File tree

575 files changed

+10761
-6193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

575 files changed

+10761
-6193
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,17 @@ atlassian*
2222

2323
/pub/media/*.*
2424
!/pub/media/.htaccess
25+
/pub/media/catalog/*
26+
!/pub/media/catalog/.htaccess
2527
/pub/media/customer/*
2628
!/pub/media/customer/.htaccess
2729
/pub/media/downloadable/*
2830
!/pub/media/downloadable/.htaccess
2931
/pub/media/theme/*
3032
/pub/media/theme_customization/*
3133
!/pub/media/theme_customization/.htaccess
34+
/pub/media/tmp/*
35+
!/pub/media/tmp/.htaccess
3236
/pub/static/*
3337
!/pub/static/.htaccess
3438

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,44 @@
1+
0.1.0-alpha104
2+
=============
3+
* Various improvements:
4+
* Merge SQL and Data Upgrades for the Sales and SalesRule modules
5+
* Add getDefaultBilling and getDefaultShipping to Customer Interface
6+
* Stabilized the Bundle module
7+
* Stabilized the CatalogSearch module
8+
* Stabilized the Cms module
9+
* Stabilized the SalesRule module
10+
* Performance improvements:
11+
* Introduced CatalogRule indexers based on Mview
12+
* Significantly decreased the amount of unused objects, mostly in category and product view scenarios:
13+
* Got rid of non-shared indexer instances all over the code introducing Magento\Indexer\Model\IndexerRegistry
14+
* Magento\Catalog\Pricing\Price\BasePrice being created on demand only, instead of unconditioned creation in constructor
15+
* Created proxies for unused objects with big amount of dependencies
16+
* Fixed \Magento\Review\Block\Product\Review block which injected backend block context by mistake
17+
* A customer model in \Magento\Customer\Model\Layout\DepersonalizePlugin being created on demand only, instead of constructor
18+
* Introduced caching for product attribute metadata loading procedure
19+
* Improved SavePayment Checkout step to save only payment related data
20+
* Speed up all Checkout steps of the One Page Checkout
21+
* Updated the benchmark.jmx jmeter script in the performance toolkit
22+
* Fixed bugs:
23+
* Fixed an issue where performance toolkit generator created Products/Categories without URL rewrites due to install area elimination
24+
* Fixed an issue where the Custom Options fieldset on Product Information page was collapsible
25+
* Fixed an issue where the Base URL was added to target path for Custom UrlRewrite
26+
* Fixed an issue where an invalid Cross-sells amount was displayed in the Shopping Cart
27+
* Fixed an issue where the Mage_Catalog_Model_Product_Type_AbstractTest::testBeforeSave integration test failed when Mage_Downloadable module was not available
28+
* Fixed an issue where the custom URL rewrite redirected to sub-folder when Request Path contained slash
29+
* Fixed an issue where it was impossible to place an order if registering during checkout
30+
* Fixed an issue where there was no possibility to save default billing and shipping addresses for customer on the store front
31+
* Fixed an issue where a widget of Catalog Category Link type was not displayed on the store front
32+
* Fixed an issue where the Versions tab was absent on the CMS page with version control
33+
* Fixed an issue where it was impossible to insert Widgets and Images to a CMS page
34+
* Added the following functional tests:
35+
* Create widget
36+
* Print order from guest on frontend
37+
* Framework Improvements:
38+
* Removed duplicated logic from API Builders and Builder generators. Added support for populating builders from the objects, implementing data interface
39+
* Processed GitHub requests:
40+
* [#674](https://github.com/magento/magento2/issues/674) -- Widgets in content pages
41+
142
0.1.0-alpha103
243
=============
344
* Fixed bugs:

README.md

Lines changed: 65 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Before you install Magento 2, make sure your system meets or exceeds the followi
2525

2626
* <a href="https://getcomposer.org/download/" >Composer</a> (latest stable version)
2727
* <a href="http://httpd.apache.org/download.cgi" >Apache 2.2</a> or later
28-
* PHP 5.4.11 or 5.5.x (<a href="http://php.net/downloads.php" >installation</a> instructions, <a href="http://phpave.com/upgrade-php-5-3-php-5-5-ubuntu-12-04-lts/" >upgrade</a> instructions)
28+
* PHP 5.4.11 or 5.5.x
2929
* Required PHP extensions:
3030

3131
* PDO/MySQL
@@ -37,15 +37,13 @@ Before you install Magento 2, make sure your system meets or exceeds the followi
3737
* gd2, ImageMagick 6.3.7 (or later) or both
3838
* soap
3939

40-
* <a href="http://dev.mysql.com/doc/refman/5.5/en/installing.html" >MySQL 5.5</a> or later
40+
* <a href="http://dev.mysql.com/doc/refman/5.6/en/installing.html" >MySQL 5.6.x</a>
4141
* Mail Transfer Agent (MTA) or an SMTP server
4242
* Optional but recommended:
4343

4444
* <a href="http://xdebug.org/download.php" >php_xdebug2.2.0</a> or later (development environments only; can have an adverse effect on performance)
45-
* PHPUnit (as a command-line tool) 3.7 or later
45+
* PHPUnit (as a command-line tool) 4.1 or later
4646

47-
48-
4947
<h2 id="instgde-overview-composer">Composer and Magento</h2>
5048

5149
We now use <a href="https://getcomposer.org/" >Composer</a> to install the Magento 2 software. Composer enables us to manage Magento 2, extensions, and their dependencies.
@@ -87,7 +85,7 @@ Use the following table to verify you have the correct prerequisites to install
8785
<td><code>php -v</code></td>
8886
<td><a href="#php" >PHP</a></td>
8987
</tr>
90-
<tr><td>MySQL 5.5 or later</td>
88+
<tr><td>MySQL 5.6.x</td>
9189
<td><code>mysql -u [root user name] -p</code></td>
9290
<td><a href="#mysql" >MySQL</a></td>
9391
</tr>
@@ -142,7 +140,7 @@ Before you install Magento, you must do all of the following:
142140
</li>
143141
<li>Specify the type of directives that can be used in <code>.htaccess</code>. Magento uses <code>.htaccess</code> for redirects. For guidelines, see:
144142
<ul><li>Apache 2.2: The <a href="http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride" target="_blank">Apache 2.2 documentation</a>.</li>
145-
<li>Apache 2.4: The <a href="http://httpd.apache.org/docs/current/mod/mod_rewrite.html" target="_blank">Apache 2.4 documentation</a>.<br>
143+
<li>Apache 2.4: The <a href="http://httpd.apache.org/docs/current/mod/core.html#allowoverride" target="_blank">Apache 2.4 documentation</a>.<br>
146144
Note that in Apache 2.4, the server's default site configuration file is <code>/etc/apache2/sites-available/000-default.conf</code><br>
147145
For example, you can add the following to the bottom of <code>000-default.conf</code>:<br>
148146
<pre>&lt;Directory "/var/www">
@@ -172,13 +170,27 @@ AllowOverride [value from Apache site]
172170

173171
<h4>Installing MySQL on Ubuntu</h4>
174172

175-
1. Use the guidelines on the <a href="https://help.ubuntu.com/12.04/serverguide/mysql.html" target="_blank">Ubuntu site</a>.
173+
1. Install MySQL on <a href="https://rtcamp.com/tutorials/mysql/mysql-5-6-ubuntu-12-04/" target="_blank">Ubuntu 12</a> or <a href="http://www.tocker.ca/2014/04/21/installing-mysql-5-6-on-ubuntu-14-04-trusty-tahr.html" target="_blank">Ubuntu 14</a>.
176174
2. Configure the database instance.
177175

178176
<h4>Installing and configuring MySQL on CentOS</h4>
179177

180-
1. Install and configure MySQL as discussed on the <a href="http://centoshelp.org/servers/database/installing-configuring-mysql-server/" target="_blank">CentOS help site</a>.
181-
2. Configure the database instance as discussed in the next section.
178+
The following procedure is based on <a href="http://sharadchhetri.com/2013/12/26/install-mysql-server-5-6-in-centos-6-x-and-red-hat-6-x-linux/" target="_blank">Install MySQL Server 5.6 in CentOS 6.x and Red Hat 6.x Linux</a>.
179+
180+
1. Install the MySQL database:
181+
182+
<pre>cd /tmp
183+
wget http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm
184+
rpm -ivh mysql-community-release-el6-5.noarch.rpm
185+
yum -y install mysql-server</pre>
186+
187+
2. Start MySQL.
188+
189+
`service mysqld start`
190+
191+
3. Set a password for the <tt>root</tt> user and set other security-related options. Enter the following command and follow the prompts on your screen to complete the configuration.
192+
193+
`mysql_secure_installation`
182194

183195
<h4>Configuring the Magento database instance</h4>
184196

@@ -194,21 +206,19 @@ To configure a MySQL database instance:
194206
3. Enter the MySQL `root` user's password when prompted.
195207
4. Enter the following commands in the order shown to create a database instance named `magento` with user name `magento`:
196208
<pre>create database magento;
197-
CREATE USER 'magento'@'localhost' IDENTIFIED BY 'magento';
198-
GRANT USAGE ON *.* TO magento@localhost IDENTIFIED BY 'magento';
199-
GRANT ALL ON magento.* TO magento@localhost;</pre>
209+
GRANT ALL ON magento.* TO magento@localhost IDENTIFIED BY 'magento';</pre>
200210

201211
5. Enter `exit` to quit the command prompt.
202212

203213
<h3>PHP</h3>
204214

205215
Magento 2 requires PHP 5.4.11 or later or PHP 5.5.x.
206216

207-
**Note**: Magento 2 does not support PHP 5.6.
217+
**Note**: Magento 2 does *not* support PHP 5.6.
208218

209-
<h3>PHP on Ubuntu</h3>
219+
<h3>PHP 5.5 or 5.4 on Ubuntu</h3>
210220

211-
<h4>Install PHP 5.5 on Ubuntu 14</h4>
221+
<h5>Install PHP 5.5 on Ubuntu 14</h5>
212222

213223
To install PHP 5.5 on Ubuntu 14:
214224

@@ -223,7 +233,22 @@ To install PHP 5.5 on Ubuntu 14:
223233
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
224234
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies</pre>
225235

226-
<h4>Install PHP 5.4 on Ubuntu 12</h4>
236+
<h5>Install PHP 5.5 on Ubuntu 12</h5>
237+
238+
1. Use the following commands from <a href="http://www.dev-metal.com/how-to-setup-latest-version-of-php-5-5-on-ubuntu-12-04-lts/" target="_blank">dev-metal</a>:
239+
240+
<pre>add-apt-repository ppa:ondrej/php5
241+
apt-get update
242+
sudo apt-get install php5</pre>
243+
244+
2. Verify the PHP version by entering `php -v`. Messages similar to the following should display:
245+
246+
<pre>PHP 5.5.18-1+deb.sury.org~precise+1 (cli) (built: Oct 17 2014 15:11:34)
247+
Copyright (c) 1997-2014 The PHP Group
248+
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
249+
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies</pre>
250+
251+
<h5>Install PHP 5.4 on Ubuntu 12</h5>
227252

228253
To install PHP 5.4 on Ubuntu 12:
229254

@@ -242,7 +267,7 @@ To install PHP 5.4 on Ubuntu 12:
242267

243268
3. Restart Apache: `service apache2 restart`
244269

245-
<h4>Upgrade to PHP 5.4 on Ubuntu</h4>
270+
<h5>Upgrade to PHP 5.4 on Ubuntu</h5>
246271

247272
To upgrade to PHP 5.4 on Ubuntu:
248273

@@ -265,7 +290,7 @@ Enter the following command to install required PHP extensions:
265290

266291
There is a <a href="https://bugs.launchpad.net/ubuntu/+source/php-mcrypt/+bug/1240590" target="_blank">known issue</a> in Ubuntu 14 with the `mcrypt` PHP extension. To work around the issue, see <a href="http://askubuntu.com/questions/450825/ubuntu-14-04-phpmyadmin-cant-find-mcrypt-extension" target="_blank">askubuntu</a>.
267292

268-
<h4>Upgrade to PHP 5.4 on CentOS</h4>
293+
<h4>PHP 5.5 or 5.4 on CentOS</h4>
269294

270295
PHP 5.3 is the default PHP version on CentOS distributions. Upgrade to PHP 5.4 using a repository like <a href="http://blog.famillecollet.com/pages/Config-en" target="_blank">remi</a>.
271296

@@ -275,6 +300,27 @@ The following resources are also available:
275300
* <a href="http://stackoverflow.com/questions/21502656/upgrading-php-on-centos-6-5-final" target="_blank">stackoverflow</a>
276301
* <a href="http://rpms.famillecollet.com/" target="_blank">remi repository</a>
277302

303+
To verify if PHP is installed already, enter `php -v`. If PHP is *not* installed, install it by entering the following command:
304+
305+
<pre>yum -y install php php-xml</pre>
306+
307+
<h5>PHP 5.5 on CentOS</h5>
308+
309+
To upgrade to PHP 5.5:
310+
311+
There is more than one way to upgrade CentOS 6.5 to PHP 5.5; the following is a suggestion only. Consult a reference for additional options.
312+
313+
Enter the following commands in the order shown.
314+
315+
<pre>cd /tmp
316+
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
317+
yum -y remove php-common-5.3.3-40.el6_6.x86_64
318+
yum -y install php55w php55w-opcache</pre>
319+
320+
Restart Apache: `service httpd restart`
321+
322+
<h5>PHP 5.4 on CentOS</h5>
323+
278324
To upgrade to PHP 5.4:
279325

280326
1. Enter the following commands:

app/code/Magento/AdminNotification/composer.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"description": "N/A",
44
"require": {
55
"php": "~5.4.11|~5.5.0",
6-
"magento/module-store": "0.1.0-alpha103",
7-
"magento/module-core": "0.1.0-alpha103",
8-
"magento/module-backend": "0.1.0-alpha103",
9-
"magento/framework": "0.1.0-alpha103",
6+
"magento/module-store": "0.1.0-alpha104",
7+
"magento/module-core": "0.1.0-alpha104",
8+
"magento/module-backend": "0.1.0-alpha104",
9+
"magento/framework": "0.1.0-alpha104",
1010
"lib-libxml": "*",
1111
"magento/magento-composer-installer": "*"
1212
},
1313
"type": "magento2-module",
14-
"version": "0.1.0-alpha103",
14+
"version": "0.1.0-alpha104",
1515
"extra": {
1616
"map": [
1717
[

app/code/Magento/Authorization/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"description": "Authorization module provides access to Magento ACL functionality.",
44
"require": {
55
"php": "~5.4.11|~5.5.0",
6-
"magento/module-backend": "0.1.0-alpha103",
7-
"magento/framework": "0.1.0-alpha103",
6+
"magento/module-backend": "0.1.0-alpha104",
7+
"magento/framework": "0.1.0-alpha104",
88
"magento/magento-composer-installer": "*"
99
},
1010
"type": "magento2-module",
11-
"version": "0.1.0-alpha103",
11+
"version": "0.1.0-alpha104",
1212
"extra": {
1313
"map": [
1414
[

app/code/Magento/Authorizenet/composer.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
"description": "N/A",
44
"require": {
55
"php": "~5.4.11|~5.5.0",
6-
"magento/module-sales": "0.1.0-alpha103",
7-
"magento/module-checkout": "0.1.0-alpha103",
8-
"magento/module-backend": "0.1.0-alpha103",
9-
"magento/module-core": "0.1.0-alpha103",
10-
"magento/module-payment": "0.1.0-alpha103",
11-
"magento/module-centinel": "0.1.0-alpha103",
12-
"magento/module-catalog": "0.1.0-alpha103",
13-
"magento/framework": "0.1.0-alpha103",
6+
"magento/module-sales": "0.1.0-alpha104",
7+
"magento/module-checkout": "0.1.0-alpha104",
8+
"magento/module-backend": "0.1.0-alpha104",
9+
"magento/module-core": "0.1.0-alpha104",
10+
"magento/module-payment": "0.1.0-alpha104",
11+
"magento/module-centinel": "0.1.0-alpha104",
12+
"magento/module-catalog": "0.1.0-alpha104",
13+
"magento/framework": "0.1.0-alpha104",
1414
"magento/magento-composer-installer": "*"
1515
},
1616
"type": "magento2-module",
17-
"version": "0.1.0-alpha103",
17+
"version": "0.1.0-alpha104",
1818
"extra": {
1919
"map": [
2020
[

app/code/Magento/Authorizenet/etc/module.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
-->
2626
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../lib/internal/Magento/Framework/Module/etc/module.xsd">
27-
<module name="Magento_Authorizenet" schema_version="1.5.0.0" active="true">
27+
<module name="Magento_Authorizenet" schema_version="2.0.0" active="true">
2828
<sequence>
2929
<module name="Magento_Sales"/>
3030
<module name="Magento_Checkout"/>

app/code/Magento/Backend/composer.json

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,26 @@
33
"description": "N/A",
44
"require": {
55
"php": "~5.4.11|~5.5.0",
6-
"magento/module-store": "0.1.0-alpha103",
7-
"magento/module-directory": "0.1.0-alpha103",
8-
"magento/module-core": "0.1.0-alpha103",
9-
"magento/module-eav": "0.1.0-alpha103",
10-
"magento/module-cron": "0.1.0-alpha103",
11-
"magento/module-theme": "0.1.0-alpha103",
12-
"magento/module-reports": "0.1.0-alpha103",
13-
"magento/module-sales": "0.1.0-alpha103",
14-
"magento/module-catalog": "0.1.0-alpha103",
15-
"magento/module-user": "0.1.0-alpha103",
16-
"magento/module-backup": "0.1.0-alpha103",
17-
"magento/module-email": "0.1.0-alpha103",
18-
"magento/module-customer": "0.1.0-alpha103",
19-
"magento/module-translation": "0.1.0-alpha103",
20-
"magento/module-require-js": "0.1.0-alpha103",
21-
"magento/framework": "0.1.0-alpha103",
6+
"magento/module-store": "0.1.0-alpha104",
7+
"magento/module-directory": "0.1.0-alpha104",
8+
"magento/module-core": "0.1.0-alpha104",
9+
"magento/module-eav": "0.1.0-alpha104",
10+
"magento/module-cron": "0.1.0-alpha104",
11+
"magento/module-theme": "0.1.0-alpha104",
12+
"magento/module-reports": "0.1.0-alpha104",
13+
"magento/module-sales": "0.1.0-alpha104",
14+
"magento/module-catalog": "0.1.0-alpha104",
15+
"magento/module-user": "0.1.0-alpha104",
16+
"magento/module-backup": "0.1.0-alpha104",
17+
"magento/module-email": "0.1.0-alpha104",
18+
"magento/module-customer": "0.1.0-alpha104",
19+
"magento/module-translation": "0.1.0-alpha104",
20+
"magento/module-require-js": "0.1.0-alpha104",
21+
"magento/framework": "0.1.0-alpha104",
2222
"magento/magento-composer-installer": "*"
2323
},
2424
"type": "magento2-module",
25-
"version": "0.1.0-alpha103",
25+
"version": "0.1.0-alpha104",
2626
"extra": {
2727
"map": [
2828
[

app/code/Magento/Backup/composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
"description": "N/A",
44
"require": {
55
"php": "~5.4.11|~5.5.0",
6-
"magento/module-store": "0.1.0-alpha103",
7-
"magento/module-core": "0.1.0-alpha103",
8-
"magento/module-backend": "0.1.0-alpha103",
9-
"magento/module-cron": "0.1.0-alpha103",
10-
"magento/framework": "0.1.0-alpha103",
6+
"magento/module-store": "0.1.0-alpha104",
7+
"magento/module-core": "0.1.0-alpha104",
8+
"magento/module-backend": "0.1.0-alpha104",
9+
"magento/module-cron": "0.1.0-alpha104",
10+
"magento/framework": "0.1.0-alpha104",
1111
"magento/magento-composer-installer": "*"
1212
},
1313
"type": "magento2-module",
14-
"version": "0.1.0-alpha103",
14+
"version": "0.1.0-alpha104",
1515
"extra": {
1616
"map": [
1717
[

app/code/Magento/Bundle/Model/Resource/Bundle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public function dropAllQuoteChildItems($productId)
103103
{
104104
$quoteItemIds = $this->_getReadAdapter()->fetchCol(
105105
$this->_getReadAdapter()->select()->from(
106-
$this->getTable('sales_flat_quote_item'),
106+
$this->getTable('sales_quote_item'),
107107
array('item_id')
108108
)->where(
109109
'product_id = :product_id'
@@ -113,7 +113,7 @@ public function dropAllQuoteChildItems($productId)
113113

114114
if ($quoteItemIds) {
115115
$this->_getWriteAdapter()->delete(
116-
$this->getTable('sales_flat_quote_item'),
116+
$this->getTable('sales_quote_item'),
117117
array('parent_item_id IN(?)' => $quoteItemIds)
118118
);
119119
}

0 commit comments

Comments
 (0)