-
-
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.
[FEATURE] JS changes available BE variant stock
With activated stock handling for BE variants the JavaScript which changes the prices does also change change the available stock. Requirements: -This requires that the select view contains a data atrribute 'data-available-stock' with the stock for the BE variant. - Furthermore some HTML has to be present which will be used to insert the available stock. Both changes will be made in a commit in EXT:cart_products. !!! This commit changes also the buggy behaviour that reselecting "Please choose..." from the select field shows the price of the last chosen item. Instead a ` ` will be inserted (to display no price while avoiding 'jumping' layout. Fixes: #487
- Loading branch information
Showing
2 changed files
with
41 additions
and
10 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