-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #629 from extcode/614-more-than-1-minicart-backport
[TASK] Allow more than one CartPreview in page
- Loading branch information
Showing
6 changed files
with
105 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Documentation/Changelog/10.0/Breaking-614-AllowMoreThanOneCartPreviewInPage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.. include:: ../../Includes.rst.txt | ||
|
||
======================================================================= | ||
Breaking: #614 - Allow more than one CartPreview (aka minicart) in page | ||
======================================================================= | ||
|
||
See `Issue 614 <https://github.com/extcode/cart/issues/614>`__ | ||
|
||
Description | ||
=========== | ||
|
||
The `id` "cart-preview" was removed from the default template file. | ||
The provided JavaScript now uses the `class` "cart-preview" instead of the `id` "cart-preview". | ||
|
||
|
||
Affected Installations | ||
====================== | ||
|
||
All installations using the CartPreview with an own template without the | ||
`class` "cart-preview". | ||
|
||
Migration | ||
========= | ||
|
||
Replace `id` "cart-preview" with `class` "cart-preview" in the CartPreview template. | ||
|
||
.. index:: Frontend |
21 changes: 21 additions & 0 deletions
21
Documentation/Changelog/10.0/Feature-614-AllowMoreThanOneCartPreviewInPage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
.. include:: ../../Includes.rst.txt | ||
|
||
====================================================================== | ||
Feature: #614 - Allow more than one CartPreview (aka minicart) in page | ||
====================================================================== | ||
|
||
See `Issue 614 <https://github.com/extcode/cart/issues/614>`__ | ||
|
||
Description | ||
=========== | ||
|
||
You can now integrate several CartPreview plugins (aka minicarts) on one page. | ||
The provided JavaScript now uses the `class` "cart-preview" instead of the `id` "cart-preview". | ||
The `id` "cart-preview" was removed from the default template file. | ||
|
||
Impact | ||
====== | ||
|
||
No direct impact. | ||
|
||
.. index:: Backend, API |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,13 @@ Breaking | |
:glob: | ||
|
||
Breaking-* | ||
|
||
Features | ||
-------- | ||
|
||
.. toctree:: | ||
:maxdepth: 1 | ||
:titlesonly: | ||
:glob: | ||
|
||
Feature-* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters