Commit graph

381 commits

Author SHA1 Message Date
mamazu
0df50ab725 Fixing the tests 2020-06-11 20:26:21 +02:00
Łukasz Chruściel
552db6db66
bug #11499 [UI] added display of product variant original price on product page (JulienLoison)
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
2020-05-26 09:28:00 +02:00
Julien Loison
8bddc52d99 [UI] added display of product variant original price on product page 2020-05-25 17:06:03 +02:00
Kamil Kokot
b892cb89fc
feature #11241 Toggleable product variant (LucaGallinari, mmenozzi)
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
2020-05-24 20:34:55 +02:00
Manuele Menozzi
3d26a01ffc Allow to view products with all variants disabled 2020-05-23 17:25:29 +02:00
Łukasz Chruściel
a06189f6d3
feature #11423 [Shop][Product] Display product original price on product page (no bc break) (JulienLoison, )
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?   | yes
| Related tickets | fixes #8258
| License         | MIT

Follows up pull request #11200 by @JulienLoison , fixing backward compatibility break

Commits
-------

cb6426fe0d [Shop][Product] Display product original price on product page
04a7f14585 [Shop][Product] Fix backward compatibility break
b37206e332 Change implementations to new interface when necessary
a139c7f13d Change interface in pricehelper
558b823f63 Add details to price calculator interface deprecation annotation
fd0ffb2e3a Psalm rulset modified for deprecated annotation added
7d405ea006 Fix behat feature to match scenario
ff6075115d Fix errors in psalm config file (xml version + indentations)
078171031d Fix indentation error in psalm config file
2020-05-14 09:21:53 +02:00
Grzegorz Sadowski
895a98de7a
Merge branch '1.7'
* 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
2020-05-14 08:03:36 +02:00
Thomas Devos
7d405ea006 Fix behat feature to match scenario 2020-05-13 15:11:43 +02:00
Olivier ALLAIN
f5337ea30f
Error on show product without pricing 2020-05-13 14:25:56 +02:00
Manuele Menozzi
2a4cb114df Add available diagonal variant options behat scenario 2020-05-13 14:25:55 +02:00
Manuele Menozzi
8e5735fa7c Remove unnecessary newline
Co-Authored-By: Łukasz Chruściel <lchrusciel@gmail.com>
2020-05-13 14:25:54 +02:00
Manuele Menozzi
085090cc89 Remove viewing prices of not available variants behat scenarios 2020-05-13 14:25:53 +02:00
Manuele Menozzi
5440852791 Disambiguate inability to select product option value behat step 2020-05-13 14:25:53 +02:00
Manuele Menozzi
6203a634af Add behat scenario to show only enabled variants options in pdp 2020-05-13 14:25:53 +02:00
Manuele Menozzi
09b2f30146 Use only enabled variants in ProductVariantsPricesProvider 2020-05-13 14:25:52 +02:00
Manuele Menozzi
3bc8e96c37 Use enabled variants only in DefaultProductVariantResolver 2020-05-13 14:25:52 +02:00
Manuele Menozzi
9486058e3b Show only enabled variants on configurable product show page 2020-05-13 14:25:52 +02:00
Manuele Menozzi
b7e4744666 Use only enabled variants when sorting products by price in shop 2020-05-13 14:25:52 +02:00
Manuele Menozzi
f976615df1 Add enabled field in the product variant admin grid 2020-05-13 14:25:52 +02:00
Manuele Menozzi
39709bd6aa Toggle variant status when toggling simple product status 2020-05-13 14:25:52 +02:00
Manuele Menozzi
758354dc08 Rename behat feature file 2020-05-13 14:25:52 +02:00
Manuele Menozzi
3fe1e5758b Allow to enable and disable product variant 2020-05-13 14:25:51 +02:00
SirDomin
a407b571f8 pr fix 2020-05-13 08:26:44 +02:00
Julien Loison
cb6426fe0d [Shop][Product] Display product original price on product page 2020-05-12 21:58:45 +02:00
SirDomin
43ddb1750d features more user friendly, pr fixes 2020-05-12 15:21:32 +02:00
SirDomin
b4d26771c3 filtering products by channel feature 2020-05-12 11:43:32 +02:00
SirDomin
27f312e0cc [Behat] Products filtering by channel 2020-05-11 12:26:48 +02:00
Łukasz Chruściel
ce9964f5ed
[API] Association types improvements 2020-04-08 09:20:11 +02:00
Olivier ALLAIN
5084275d16 product association type validation 2020-04-03 13:33:22 +02:00
Olivier ALLAIN
185e541fd0 product association type unique code validation 2020-04-03 13:33:21 +02:00
Olivier ALLAIN
90903c7de4 filtering product association types 2020-04-03 13:33:21 +02:00
Olivier ALLAIN
e332f4958c deleting multiple product association types 2020-04-03 13:31:51 +02:00
Olivier ALLAIN
ebee68e283 editing product association type 2020-04-03 13:31:51 +02:00
Olivier ALLAIN
c56c0a31b7 deleting product association type 2020-04-03 13:30:46 +02:00
Olivier ALLAIN
569b2ec858 browsing product association types 2020-04-03 13:30:46 +02:00
Olivier ALLAIN
03439af9b3 adding product association type 2020-04-03 13:30:46 +02:00
Grzegorz Sadowski
e41ab2318c
[API][Product] Add subscriber for generating slug automatically 2020-04-02 08:50:11 +02:00
Tomanhez
fc5c0de4f6 Add fixes for test and configuration 2020-04-01 09:12:45 +02:00
Tomanhez
8e72751266 Fix behat scenarios 2020-03-31 14:43:17 +02:00
Tomanhez
8f732ca1d4 Add sorting for products by name 2020-03-27 08:35:25 +01:00
Tomanhez
6cbab5b483 Add configuration for sorting 2020-03-19 21:39:00 +01:00
Tomanhez
d165556736 Add fixes for ManagingProductContext 2020-03-19 21:35:18 +01:00
Tomanhez
f2be71c6b4 Add test and configuration for validation and selecting taxon 2020-03-19 21:35:18 +01:00
Tomanhez
4bed8b976f Add fixes for inflector and tests 2020-03-18 12:19:42 +01:00
Tomanhez
0ea067114e Add test and configuration for deletion of purchased product 2020-03-18 10:58:33 +01:00
Tomanhez
5884fcb05f Add tests and configuration for editing 2020-03-18 10:58:33 +01:00
Tomanhez
c963b47320 Add tests and configuration for deleting with reviews 2020-03-18 10:58:33 +01:00
Tomanhez
912f2dde3e Add tests and configuration for deleting 2020-03-18 10:58:33 +01:00
Tomanhez
9c9557df54 Add api tests for browsing Product 2020-03-18 10:58:33 +01:00
Tomanhez
178ddb8224
Add test for adding basic product 2020-03-17 15:14:32 +01:00