This PR was merged into the 1.8-dev branch.
Discussion
----------
| Q | A
| --------------- | -----
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Related tickets | -
| License | MIT
## Proposal
Channel prices in a simple product get displayed on the product page under the list of channels. So I propose that they will be made into a tabbed view so that they are more easy to manage. If you have a lot of channels (where the product is not active for example) you have a lot of values to scroll through.
### Before

### After

Commits
-------
79a5074dd5 Using tabs for channel pricing
d4511ea2de Extracting channel_pricings out to its own template
80661a5771 Fixing tests
4de3ba117d Adding label back in to fix behat tests
fc34aca7ce Adding a transformer for channels
a5e37128b7 Update src/Sylius/Behat/Context/Ui/Admin/ManagingProductVariantsContext.php
0df50ab725 Fixing the tests
This PR was merged into the 1.8-dev branch.
Discussion
----------
| Q | A
| --------------- | -----
| Branch? | master
| Bug fix? | yes
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Related tickets | -
| License | MIT
Follows up @lchrusciel's comment on #11423 about variant prices not updating on the product page or variant not displaying discount if the first variant of the product has no discount.
Commits
-------
8bddc52d99 [UI] added display of product variant original price on product page
This PR was merged into the 1.8-dev branch.
Discussion
----------
| Q | A
| --------------- | -----
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Related tickets | implement #11115
| License | MIT
With this PR we add an enabled/disabled status (toggleable) to the product variant as described in #11115.
Commits
-------
3760ef60bd WIP - implements toggle on Ãproduct variant
ee4231efb0 Add enabled flag on product variant migration
3fe1e5758b Allow to enable and disable product variant
758354dc08 Rename behat feature file
39709bd6aa Toggle variant status when toggling simple product status
f976615df1 Add enabled field in the product variant admin grid
b7e4744666 Use only enabled variants when sorting products by price in shop
9486058e3b Show only enabled variants on configurable product show page
48289d1bac Add enabled field to create_validation_fail_response test json file
3bc8e96c37 Use enabled variants only in DefaultProductVariantResolver
09b2f30146 Use only enabled variants in ProductVariantsPricesProvider
404fd006db Always use first variants in simple product locking listener
5dca15ea14 Fix product variants resolver spec to use getEnabledVariants
6203a634af Add behat scenario to show only enabled variants options in pdp
1ab122c9bb Add docblock to ProductInterface::getEnabledVariants method
8e3d220082 Show only available options in configurable match selection pdp
3c114b5f7c Fix DefaultAvailableProductOptionValuesResolver class name
8543add20a Fix AvailableProductOptionValuesResolverInterface return type
5cb1ed2bdc Add only_avaliable_values option to ProductOptionValueChoiceType
5440852791 Disambiguate inability to select product option value behat step
085090cc89 Remove viewing prices of not available variants behat scenarios
35bfe8c934 Add default value to variant enabled column migration
3d91820353 Revert "Add default value to variant enabled column migration"
a7d78cd881 Fix ProductVariantInterface import in spec
7f3c21007e Add statement to toggleable variant migration to enable existing
96e7e805a9 Minor refactor
5a33bcc27b Remove unused behat setup product context method
8e5735fa7c Remove unnecessary newline
b7081e1e92 Fix AvailableProductOptionValuesResolver class name
2a4cb114df Add available diagonal variant options behat scenario
ced3d30c2f Fix CS
9c93252aee Use data test attribute for variants rows in product show page
7e601a02ea Make available values resolver optional in ProductOptionValueChoiceType
359f481c46 Trigger
6d4ed52692 Add explicit null default value to ProductOptionValueChoiceType
3d26a01ffc Allow to view products with all variants disabled
0140e81b52 Prevent checking out with a disabled product variant in cart
* 1.7:
Fix code review comments
Error on show product without pricing
improve DQL in sales provider
[Docs][Book] Fix order payment state machine diagram
[Docs][Book] Fix payment state machine diagram
[Docs][Book] Fix order checkout state machine diagram
[Admin] Use findOneBy() instead of findAll() to get the first channel
[Docs][Plus] Add Plus upgrading guide
add postgres support for getLastYearSalesSummary query
rewrite sql query in getLastYearSalesSummary to a DQL query in order to use not a hardcoded table name
inject OrderRepository to SalesDataProvider in order not to use hardcoded table names
This PR was merged into the 1.8-dev branch.
Discussion
----------
| Q | A
| --------------- | -----
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Related tickets |
| License | MIT
<!--
- Bug fixes must be submitted against the 1.6 or 1.7 branches (the lowest possible)
- Features and deprecations must be submitted against the master branch
- Make sure that the correct base branch is set
-->
Commits
-------
27f312e0cc [Behat] Products filtering by channel
b4d26771c3 filtering products by channel feature
43ddb1750d features more user friendly, pr fixes
a407b571f8 pr fix
7ac9df912f experimental doc block added
This PR was merged into the 1.8-dev branch.
Discussion
----------
| Q | A
| --------------- | -----
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Related tickets | partially #11250
| License | MIT
Cover `features/addressing/managing_zones/`
- [x] adding_zone.feature
- [x] browsing_zone.feature
- [x] deleting_multiple_zones.feature
- [x] deleting_zone.feature
- [x] editing_zone.feature
- [x] zone_unique_code_validation.feature
- [x] zone_validation.feature
Commits
-------
6a8324bd0e adding zone
3ddbcbf90b browsing zone
e2c514f4be deleting zone
28ae5d484b deleting multiple zones
88cf3236ee editing zone
ba3b88f960 zone unique code validation
e757ce8f62 zone validation
dc69492017 editing zone
faa9da1200 rebase and update after merge #11397d19fca5cba [API][Zone] Minor fixes after review
b9df4a5f60 [API][Zone] Revert implementation of seeing disable type field scenarios in api context
788c2ea47b [Zone] Move zone validator from ApiBundle to AddressingBundle
This PR was merged into the 1.8-dev branch.
Discussion
----------
| Q | A
| --------------- | -----
| Branch? | master
| Bug fix? | no
| New feature? | yes
| BC breaks? | no
| Deprecations? | no
| Related tickets | partially #11250
| License | MIT
I'll split managing channels in 3 PRs, this is the first one.
Including in this PR:
- [x] adding_channel.feature
- [x] adding_channel_with_shop_billing_data.feature
- [x] adding_new_channel_with_menu_taxon.feature
- [x] browsing_channels.feature
In the second PR :
- deleting_channel.feature
- deleting_multiple_channels.feature
- editing_channel.feature
- editing_menu_taxon_on_channel.feature
- editing_shop_billing_data_on_channel.feature
And in the last one :
- channel_unique_code_validation.feature
- channel_validation.feature
- not_being_able_to_add_disabled_channel_when_no_other_exist.feature
- not_being_able_to_delete_last_available_channel.feature
- not_being_able_to_disable_last_available_channel.feature
- selecting_currencies_available_for_channel.feature
- selecting_default_tax_zone_for_channel.feature
- selecting_locales_available_for_channel.feature
- selecting_tax_calculation_strategy_for_channel.feature
- toggling_channel.feature
Regards !
Commits
-------
aea199b90f adding and browsing channel
18833cc0fb [API][Channel] Minor fixes for adding and browsing channels PR after review
a3ccd9fd2c [API][Behat][Channel] Rework creating channel with a shop billing data