forked from BantenITSolutions/oc-shop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to remove products from basket
Adds a new method that removes a given row from the cart to begin implementing task #4. Also updates the default basket component to include a remove button which will remove that row and update basket total and item count with the aid of new ocshop-x helper classes, where 'x' is 'total', 'count' or 'row-{ROWID}'. Finally rejigs the prepareVars method to clean things up, since much of it is used in the onFoo listeners.
- Loading branch information
Showing
2 changed files
with
51 additions
and
17 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
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