diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f546d209..3a886c4e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,14 @@ -# Changelog - -[Unreleased changes](https://github.com/rapidez/core/compare/4.8.0...4.8.0) -## [4.8.0](https://github.com/rapidez/core/releases/tag/4.8.0) - 2025-10-14 - +# Changelog + +[Unreleased changes](https://github.com/rapidez/core/compare/5.0.0-alpha.1...5.0.0-alpha.1) +## [5.0.0-alpha.1](https://github.com/rapidez/core/releases/tag/5.0.0-alpha.1) - 2025-11-11 + +### Changed + +- Use EAV structure instead of flat tables (#943) + +## [4.8.0](https://github.com/rapidez/core/releases/tag/4.8.0) - 2025-10-14 + ### Added - Playwright attach Lighthouse report (#1036) @@ -24,38 +30,38 @@ - Missing brackets fix (#1041) - Disable setting guest email when guest checkout is disabled (#1040) - Playwright publish payment icons (#1045) -- Unknown turbo-frame error fix (#1048) - -## [4.7.6](https://github.com/rapidez/core/releases/tag/4.7.6) - 2025-10-02 - +- Unknown turbo-frame error fix (#1048) + +## [4.7.6](https://github.com/rapidez/core/releases/tag/4.7.6) - 2025-10-02 + ### Fixed - Remove legacy Vite config (#1020) - Defer cart watcher to next tick to avoid race condition (#1006) - Blade components update removing the disabled state (#1028) -- Playwright Magento version tag (#1035) - -## [4.7.5](https://github.com/rapidez/core/releases/tag/4.7.5) - 2025-09-26 - +- Playwright Magento version tag (#1035) + +## [4.7.5](https://github.com/rapidez/core/releases/tag/4.7.5) - 2025-09-26 + ### Fixed -- Use npm workspaces for Rapidez dependencies (#1026) - -## [4.7.4](https://github.com/rapidez/core/releases/tag/4.7.4) - 2025-09-26 - +- Use npm workspaces for Rapidez dependencies (#1026) + +## [4.7.4](https://github.com/rapidez/core/releases/tag/4.7.4) - 2025-09-26 + ### Fixed - Playwright wait for footer on success page (#1024) -- Package.json name and version (#1025) - -## [4.7.3](https://github.com/rapidez/core/releases/tag/4.7.3) - 2025-09-26 - +- Package.json name and version (#1025) + +## [4.7.3](https://github.com/rapidez/core/releases/tag/4.7.3) - 2025-09-26 + ### Fixed -- Playwright test fix (#1023) - -## [4.7.2](https://github.com/rapidez/core/releases/tag/4.7.2) - 2025-09-26 - +- Playwright test fix (#1023) + +## [4.7.2](https://github.com/rapidez/core/releases/tag/4.7.2) - 2025-09-26 + ### Fixed - Slider arrows color fix (#1017) @@ -63,16 +69,16 @@ - Autocomplete focus on mobile fix (#1018) - Playwright use screenshot method everywhere (#1022) - GraphQL mutation notification event fix (#1021) -- Fire login event when logged in customer changes (#1019) - -## [4.7.1](https://github.com/rapidez/core/releases/tag/4.7.1) - 2025-09-18 - +- Fire login event when logged in customer changes (#1019) + +## [4.7.1](https://github.com/rapidez/core/releases/tag/4.7.1) - 2025-09-18 + ### Fixed -- Playwright checkout step wait fix (#1015) - -## [4.7.0](https://github.com/rapidez/core/releases/tag/4.7.0) - 2025-09-17 - +- Playwright checkout step wait fix (#1015) + +## [4.7.0](https://github.com/rapidez/core/releases/tag/4.7.0) - 2025-09-17 + ### Added - Checkbox and radio product option inputs (#1013) @@ -81,30 +87,30 @@ - Ignore .env for local Playwright runs (ed935d9) - Custom cart attributes label fix (#1009) -- Recently viewed widget sorting (#1014) - -## [4.6.3](https://github.com/rapidez/core/releases/tag/4.6.3) - 2025-09-16 - +- Recently viewed widget sorting (#1014) + +## [4.6.3](https://github.com/rapidez/core/releases/tag/4.6.3) - 2025-09-16 + ### Fixed -- Playwright unique blob report names (#1012) - -## [4.6.2](https://github.com/rapidez/core/releases/tag/4.6.2) - 2025-09-16 - +- Playwright unique blob report names (#1012) + +## [4.6.2](https://github.com/rapidez/core/releases/tag/4.6.2) - 2025-09-16 + ### Fixed -- Playwright checkout page optional login possibility (#1011) - -## [4.6.1](https://github.com/rapidez/core/releases/tag/4.6.1) - 2025-09-16 - +- Playwright checkout page optional login possibility (#1011) + +## [4.6.1](https://github.com/rapidez/core/releases/tag/4.6.1) - 2025-09-16 + ### Fixed - Set gallery fetchpriority high (c5d82df) - Test with a clean Magento config (#1007) -- Playwright extendable screenshot options (#1010) - -## [4.6.0](https://github.com/rapidez/core/releases/tag/4.6.0) - 2025-09-12 - +- Playwright extendable screenshot options (#1010) + +## [4.6.0](https://github.com/rapidez/core/releases/tag/4.6.0) - 2025-09-12 + ### Added - Playwright Lighthouse score tests (#1003) @@ -114,10 +120,10 @@ - Listing min height preventing layout shifts (#1000) - Use option instead of argument for index call (#1001) -- Fix null check for auth (#1004) - -## [4.5.0](https://github.com/rapidez/core/releases/tag/4.5.0) - 2025-09-10 - +- Fix null check for auth (#1004) + +## [4.5.0](https://github.com/rapidez/core/releases/tag/4.5.0) - 2025-09-10 + ### Added - Productlist items slot (#978) @@ -141,10 +147,10 @@ - Subfolder store image location fix (#993) - Success page login required to view order fallback (#980) - Prevent split on category_lvl1 reference (#998) -- Playwright failed test screenshots in all browsers (#999) - -## [4.4.0](https://github.com/rapidez/core/releases/tag/4.4.0) - 2025-08-15 - +- Playwright failed test screenshots in all browsers (#999) + +## [4.4.0](https://github.com/rapidez/core/releases/tag/4.4.0) - 2025-08-15 + ### Added - Playwright tests replacing Dusk tests (#945) @@ -169,10 +175,10 @@ - Unique autocomplete ids (#973) - Cookie expiration & login failed notification fix (#974) - Do not show the Magento error on an invalid login (#975) -- Cart total/tax fixes (#961) - -## [4.3.0](https://github.com/rapidez/core/releases/tag/4.3.0) - 2025-07-29 - +- Cart total/tax fixes (#961) + +## [4.3.0](https://github.com/rapidez/core/releases/tag/4.3.0) - 2025-07-29 + ### Added - Popular products on no search results page + category position fix (#926) @@ -190,10 +196,10 @@ - Slider index fix (#947) - Default notification types (#948) - Newsletter input translation (#949) -- Field date mapping format (#952) - -## [4.2.0](https://github.com/rapidez/core/releases/tag/4.2.0) - 2025-07-22 - +- Field date mapping format (#952) + +## [4.2.0](https://github.com/rapidez/core/releases/tag/4.2.0) - 2025-07-22 + ### Added - OpenSearch support (#916, #933) @@ -216,10 +222,10 @@ - Small bugfixes (#935) - Backorder and fixed product taxes in cart query (#937) - Bugfixes (#938) -- Use collect()->partition() to keep L11 support (#939) - -## [4.1.0](https://github.com/rapidez/core/releases/tag/4.1.0) - 2025-07-01 - +- Use collect()->partition() to keep L11 support (#939) + +## [4.1.0](https://github.com/rapidez/core/releases/tag/4.1.0) - 2025-07-01 + ### Added - Dusk tests with 2.4.7-p6 and 2.4.8-p1 (#890) @@ -239,26 +245,26 @@ - Special price mapping (#894) - Only select value fields for int select fields (#901) - Quantity step increments fix (#907) -- Support negative product option prices (#913) - -## [4.0.1](https://github.com/rapidez/core/releases/tag/4.0.1) - 2025-06-06 - +- Support negative product option prices (#913) + +## [4.0.1](https://github.com/rapidez/core/releases/tag/4.0.1) - 2025-06-06 + ### Fixed - Consistent Eventy filter names (#886) - Empty page title fix (#888) -- Highlight tag flicker fix (#889) - -## [4.0.0](https://github.com/rapidez/core/releases/tag/4.0.0) - 2025-06-05 - +- Highlight tag flicker fix (#889) + +## [4.0.0](https://github.com/rapidez/core/releases/tag/4.0.0) - 2025-06-05 + See the upgrade guide: https://docs.rapidez.io/4.x/upgrading.html ### Changed -- InstantSearch migration (#706) - -## [3.9.0](https://github.com/rapidez/core/releases/tag/3.9.0) - 2025-05-21 - +- InstantSearch migration (#706) + +## [3.9.0](https://github.com/rapidez/core/releases/tag/3.9.0) - 2025-05-21 + ### Added - pro6pp package in the install command (#863) @@ -272,10 +278,10 @@ See the upgrade guide: https://docs.rapidez.io/4.x/upgrading.html - Turbo navigate back fix (#851) - Navigation fix on Firefox (#857) - Autocomplete focus error fix (#858) -- Only fire product attribute change when it's changed (#864) - -## [3.8.0](https://github.com/rapidez/core/releases/tag/3.8.0) - 2025-05-14 - +- Only fire product attribute change when it's changed (#864) + +## [3.8.0](https://github.com/rapidez/core/releases/tag/3.8.0) - 2025-05-14 + ### Added - More Magento redirects (#845) @@ -283,10 +289,10 @@ See the upgrade guide: https://docs.rapidez.io/4.x/upgrading.html ### Fixed -- Do not show the arrows on the quantity input fix (#844) - -## [3.7.0](https://github.com/rapidez/core/releases/tag/3.7.0) - 2025-05-01 - +- Do not show the arrows on the quantity input fix (#844) + +## [3.7.0](https://github.com/rapidez/core/releases/tag/3.7.0) - 2025-05-01 + ### Added - Magento 2.4.7-p5 and 2.4.8 tests (#808) @@ -300,10 +306,10 @@ See the upgrade guide: https://docs.rapidez.io/4.x/upgrading.html ### Fixed - Track fetches globally (#806) -- Use the current fetch instead of a cached version (#829) - -## [3.6.0](https://github.com/rapidez/core/releases/tag/3.6.0) - 2025-04-18 - +- Use the current fetch instead of a cached version (#829) + +## [3.6.0](https://github.com/rapidez/core/releases/tag/3.6.0) - 2025-04-18 + ### Added - Magento link widgets (#792, #812) @@ -317,17 +323,17 @@ See the upgrade guide: https://docs.rapidez.io/4.x/upgrading.html ### Fixed -- Select default shipping method if no shipping method is set (#814) - -## [3.5.1](https://github.com/rapidez/core/releases/tag/3.5.1) - 2025-04-11 - +- Select default shipping method if no shipping method is set (#814) + +## [3.5.1](https://github.com/rapidez/core/releases/tag/3.5.1) - 2025-04-11 + ### Fixed - Install additional package requirements from the install command (#809) -- Just mention the Rapidez Statamic install command (#810) - -## [3.5.0](https://github.com/rapidez/core/releases/tag/3.5.0) - 2025-04-10 - +- Just mention the Rapidez Statamic install command (#810) + +## [3.5.0](https://github.com/rapidez/core/releases/tag/3.5.0) - 2025-04-10 + ### Added - Laravel 12 and PHP 8.4 support (#763) @@ -345,10 +351,10 @@ See the upgrade guide: https://docs.rapidez.io/4.x/upgrading.html - Return 0 instead of void when no taxes (#788) - Disable infinite-scroll on productlists (#790) - Removed unsupported applied_to and coupon keys (#789) -- Fixed negative loadingCount (#793) - -## [3.4.0](https://github.com/rapidez/core/releases/tag/3.4.0) - 2025-03-25 - +- Fixed negative loadingCount (#793) + +## [3.4.0](https://github.com/rapidez/core/releases/tag/3.4.0) - 2025-03-25 + ### Added - Region select (#738) @@ -357,10 +363,10 @@ See the upgrade guide: https://docs.rapidez.io/4.x/upgrading.html ### Fixed - Fixed configurable products with 1 child product not selecting properly (#778) -- Correctly handle combiningGraphql allowing catching (#783) - -## [3.3.0](https://github.com/rapidez/core/releases/tag/3.3.0) - 2025-03-20 - +- Correctly handle combiningGraphql allowing catching (#783) + +## [3.3.0](https://github.com/rapidez/core/releases/tag/3.3.0) - 2025-03-20 + ### Added - Custom customer attributes directly on the user store (#767) @@ -376,10 +382,10 @@ See the upgrade guide: https://docs.rapidez.io/4.x/upgrading.html - Allow for arbitrary options in additionals (#751) - Cookie notice z-index (#761) - Use correct show_tax value (#753) -- Only use special price when it's lower (#775) - -## [3.2.0](https://github.com/rapidez/core/releases/tag/3.2.0) - 2025-02-26 - +- Only use special price when it's lower (#775) + +## [3.2.0](https://github.com/rapidez/core/releases/tag/3.2.0) - 2025-02-26 + ### Added - Standalone checkout signed endpoint (#711) @@ -409,10 +415,10 @@ See the upgrade guide: https://docs.rapidez.io/4.x/upgrading.html - Return type for phpstan (#739) - Make sure you can't do a mutation twice simultaneously (#740) - Only apply default value when config option is not found (#737) -- Slideover position (#742) - -## [3.1.0](https://github.com/rapidez/core/releases/tag/3.1.0) - 2025-01-24 - +- Slideover position (#742) + +## [3.1.0](https://github.com/rapidez/core/releases/tag/3.1.0) - 2025-01-24 + ### Added - Shadow, outline and ring colors (#691) @@ -433,20 +439,20 @@ See the upgrade guide: https://docs.rapidez.io/4.x/upgrading.html - ReactiveSearch update (#697) - Null coalescing for csrf token (#686) - Fix error on file removal (#687) -- Slideover prevent-scroll (#700) - -## [3.0.1](https://github.com/rapidez/core/releases/tag/3.0.1) - 2024-12-20 - +- Slideover prevent-scroll (#700) + +## [3.0.1](https://github.com/rapidez/core/releases/tag/3.0.1) - 2024-12-20 + ### Fixed - Review stars closing (4bd7a4a) - Properly use of dt/dd within dl (#674) - Listen to newsletter/general/active (#676) - Small frontend fixes (#677) -- Get pagesize from url if Turbo is not yet loaded (#681) - -## [3.0.0](https://github.com/rapidez/core/releases/tag/3.0.0) - 2024-12-13 - +- Get pagesize from url if Turbo is not yet loaded (#681) + +## [3.0.0](https://github.com/rapidez/core/releases/tag/3.0.0) - 2024-12-13 + See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html ### Added @@ -470,10 +476,10 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html ### Fixed -- Reduce javascript bundle size (#604) - -## [2.13.0](https://github.com/rapidez/core/releases/tag/2.13.0) - 2024-09-27 - +- Reduce javascript bundle size (#604) + +## [2.13.0](https://github.com/rapidez/core/releases/tag/2.13.0) - 2024-09-27 + ### Changed - Cart summary refactor, listen to the Magento config (#564) @@ -483,10 +489,10 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html - Change order of cart clearing (#579) - Fixed footer newsletter responsiveness and layout shifts (#582) -- Slideover styling changes (#581) - -## [2.12.0](https://github.com/rapidez/core/releases/tag/2.12.0) - 2024-09-24 - +- Slideover styling changes (#581) + +## [2.12.0](https://github.com/rapidez/core/releases/tag/2.12.0) - 2024-09-24 + ### Changed - Blade icons deferring by default (#577) @@ -496,29 +502,29 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html - Move default selects to always select (#571) - Elasticsearch query script needs to be a string (#574) - Filter heading on the category filter (#576) -- Only sort child images when there are images (#578) - -## [2.11.1](https://github.com/rapidez/core/releases/tag/2.11.1) - 2024-09-17 - +- Only sort child images when there are images (#578) + +## [2.11.1](https://github.com/rapidez/core/releases/tag/2.11.1) - 2024-09-17 + ### Fixed - Sort child images by store specific value & listen to disabled (#570) - CSRF token on Rapidez API requests (#572) - Multiply fixed product tax by item quantity (#568) -- Don't throw warning when GraphQL component is used without slot (#569) - -## [2.11.0](https://github.com/rapidez/core/releases/tag/2.11.0) - 2024-09-10 - +- Don't throw warning when GraphQL component is used without slot (#569) + +## [2.11.0](https://github.com/rapidez/core/releases/tag/2.11.0) - 2024-09-10 + ### Changed - Make Graphql and GraphqlMutation errorCallback the same (#566) ### Fixed -- Prevent any leftover customer_address_id (#565) - -## [2.10.0](https://github.com/rapidez/core/releases/tag/2.10.0) - 2024-09-06 - +- Prevent any leftover customer_address_id (#565) + +## [2.10.0](https://github.com/rapidez/core/releases/tag/2.10.0) - 2024-09-06 + ### Changed - Improved the pagination styling (#558) @@ -528,17 +534,17 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html - One shipping method title (#556, #557) - Redirect when the order can not be fetched from the success page (#553) -- Publish the .prettierrc.js file with the install command (#562) - -## [2.9.2](https://github.com/rapidez/core/releases/tag/2.9.2) - 2024-09-03 - +- Publish the .prettierrc.js file with the install command (#562) + +## [2.9.2](https://github.com/rapidez/core/releases/tag/2.9.2) - 2024-09-03 + ### Fixed - Sliderover header button fix (#554) -- Checkout progressbar steps correct fallback (#555) - -## [2.9.1](https://github.com/rapidez/core/releases/tag/2.9.1) - 2024-08-27 - +- Checkout progressbar steps correct fallback (#555) + +## [2.9.1](https://github.com/rapidez/core/releases/tag/2.9.1) - 2024-08-27 + ### Fixed - Allow UUID's in Elasticsearch (#545) @@ -546,10 +552,10 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html - Correct slideover class merging (#548) - Correct ReCaptcha header in the GraphQL mutation component (#549) - Correct data for the order id for the checkout-payment-saved event (#550) -- Correctly use parseInt (#551) - -## [2.9.0](https://github.com/rapidez/core/releases/tag/2.9.0) - 2024-08-16 - +- Correctly use parseInt (#551) + +## [2.9.0](https://github.com/rapidez/core/releases/tag/2.9.0) - 2024-08-16 + ### Added - Health check for super attributes (#535) @@ -562,10 +568,10 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html ### Fixed - Prevent price addition errors in sliders (#536) -- Always attempt to decode attribute values (#520) - -## [2.8.0](https://github.com/rapidez/core/releases/tag/2.8.0) - 2024-07-24 - +- Always attempt to decode attribute values (#520) + +## [2.8.0](https://github.com/rapidez/core/releases/tag/2.8.0) - 2024-07-24 + ### Added - Notifications from the session (#518) @@ -575,10 +581,10 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html - Graphql Mutation component typo (#529) - Set error message on GraphQL errors as well (#531) -- Redirect all redirect type rewrites (#534) - -## [2.7.0](https://github.com/rapidez/core/releases/tag/2.7.0) - 2024-07-15 - +- Redirect all redirect type rewrites (#534) + +## [2.7.0](https://github.com/rapidez/core/releases/tag/2.7.0) - 2024-07-15 + ### Added - Auto select configurable and product option setting (#515) @@ -593,10 +599,10 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html - Fix sidebar (#521) - Use computed shipping address in estimateshippingmethod (#522) - Prevent errors if add_to_cart config is missing (#526) -- Fix missing attributeValues and autoselect config errors (#530) - -## [2.6.0](https://github.com/rapidez/core/releases/tag/2.6.0) - 2024-06-04 - +- Fix missing attributeValues and autoselect config errors (#530) + +## [2.6.0](https://github.com/rapidez/core/releases/tag/2.6.0) - 2024-06-04 + ### Added - Checkout step and success events (#506) @@ -605,26 +611,26 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html ### Fixed - Reset styling of the listing component (#463) -- Convert the object to an array (#509) - -## [2.5.0](https://github.com/rapidez/core/releases/tag/2.5.0) - 2024-05-28 - +- Convert the object to an array (#509) + +## [2.5.0](https://github.com/rapidez/core/releases/tag/2.5.0) - 2024-05-28 + ### Added -- Laravel 11 support (#504) - -## [2.4.1](https://github.com/rapidez/core/releases/tag/2.4.1) - 2024-05-22 - +- Laravel 11 support (#504) + +## [2.4.1](https://github.com/rapidez/core/releases/tag/2.4.1) - 2024-05-22 + ### Fixed - Revert "Rearranged the button classes (#460)" (#499) - Round prices before multiplying by qty (#480) - Sort images in gallery by position in Magento (#500) - Correct rapidez/menu config path location (8e67b22) -- Check correct customer id when jwt is used (#502) - -## [2.4.0](https://github.com/rapidez/core/releases/tag/2.4.0) - 2024-05-15 - +- Check correct customer id when jwt is used (#502) + +## [2.4.0](https://github.com/rapidez/core/releases/tag/2.4.0) - 2024-05-15 + ### Added - Macroable models (#483) @@ -648,10 +654,10 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html - Use Rapidez base model for all models (#488) - Also save product views in the report_event table (#490) - Prevent ambiguous error when overwriting models (#498) -- Don't use global scopes for quote existence check (#493) - -## [2.3.0](https://github.com/rapidez/core/releases/tag/2.3.0) - 2024-04-30 - +- Don't use global scopes for quote existence check (#493) + +## [2.3.0](https://github.com/rapidez/core/releases/tag/2.3.0) - 2024-04-30 + ### Changed - Use script to get the positions from the flattened type (#459) @@ -662,10 +668,10 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html - Fixes for swatch filter (#477) - Allow dataFilter null in the indexer (#470) - Correct key in autocomplete products loop (#465) -- Only allow certain types to be searchable in autocomplete (#476) - -## [2.2.0](https://github.com/rapidez/core/releases/tag/2.2.0) - 2024-04-16 - +- Only allow certain types to be searchable in autocomplete (#476) + +## [2.2.0](https://github.com/rapidez/core/releases/tag/2.2.0) - 2024-04-16 + ### Added - Fire postcode change event in checkout (#447) @@ -682,10 +688,10 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html ### Removed -- Remove unnecessary toArray calls in product indexer (#471) - -## [2.1.0](https://github.com/rapidez/core/releases/tag/2.1.0) - 2024-03-06 - +- Remove unnecessary toArray calls in product indexer (#471) + +## [2.1.0](https://github.com/rapidez/core/releases/tag/2.1.0) - 2024-03-06 + ### Changed - Use ReactiveSearch fork with fixes (#435) @@ -699,10 +705,10 @@ See the upgrade guide: https://docs.rapidez.io/3.x/upgrading.html - Fallback on default checkout_steps (#439) - Send full address to check shipping methods (#441) - Cache yarn dependencies with Dusk tests (#442) -- Move resizeobserver to nextTick function (#444) - -## [2.0.0](https://github.com/rapidez/core/releases/tag/2.0.0) - 2024-02-21 - +- Move resizeobserver to nextTick function (#444) + +## [2.0.0](https://github.com/rapidez/core/releases/tag/2.0.0) - 2024-02-21 + In this release we refactored the cart from the Magento API to GraphQL! You should review all changes! - Dropped support for Magento 2.4.4, Laravel 9 and PHP 8.0 - Axios is removed and you should remove it from your project and migrate to fetch, we've added some helpers you could use: @@ -727,10 +733,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed -- Properly set slide behavior in slider (#430) - -## [1.13.0](https://github.com/rapidez/core/releases/tag/1.13.0) - 2024-02-20 - +- Properly set slide behavior in slider (#430) + +## [1.13.0](https://github.com/rapidez/core/releases/tag/1.13.0) - 2024-02-20 + ### Changed - Upgrade Turbo for link preloading, show progressbar quicker (#426) @@ -738,10 +744,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Clear swatches & attributes on store change (#424) -- Use hasAny in button base Blade component (#425) - -## [1.12.0](https://github.com/rapidez/core/releases/tag/1.12.0) - 2024-02-16 - +- Use hasAny in button base Blade component (#425) + +## [1.12.0](https://github.com/rapidez/core/releases/tag/1.12.0) - 2024-02-16 + ### Added - Catalog urls for products and categories (#419) @@ -749,32 +755,32 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Changed -- Removed hardcoded checkout step numbers (#420) - -## [1.11.0](https://github.com/rapidez/core/releases/tag/1.11.0) - 2024-02-05 - +- Removed hardcoded checkout step numbers (#420) + +## [1.11.0](https://github.com/rapidez/core/releases/tag/1.11.0) - 2024-02-05 + ### Changed - Make positions flattened (#415) - Use lowercase & asciifolding filters in default analyzer & in synonym analyzer (#416) - Seperate check whether flat tables are active, and if they exist (#413) - - -## [1.10.2](https://github.com/rapidez/core/releases/tag/1.10.2) - 2024-01-31 - + + +## [1.10.2](https://github.com/rapidez/core/releases/tag/1.10.2) - 2024-01-31 + ### Fixed - Watch currentShippingMethod instead of shipping_method (#414) - - -## [1.10.1](https://github.com/rapidez/core/releases/tag/1.10.1) - 2024-01-30 - + + +## [1.10.1](https://github.com/rapidez/core/releases/tag/1.10.1) - 2024-01-30 + ### Fixed - - Fix slot scope "limit" to "size" (#412) - -## [1.10.0](https://github.com/rapidez/core/releases/tag/1.10.0) - 2024-01-29 - + - Fix slot scope "limit" to "size" (#412) + +## [1.10.0](https://github.com/rapidez/core/releases/tag/1.10.0) - 2024-01-29 + ### Added - Add new storecode if directive (#411) @@ -789,16 +795,16 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Fix usage of whitespace tokenizer (#410) - - -## [1.9.0](https://github.com/rapidez/core/releases/tag/1.9.0) - 2024-01-24 - + + +## [1.9.0](https://github.com/rapidez/core/releases/tag/1.9.0) - 2024-01-24 + ### Changed -- Use the configured locale from Magento (#409) - -## [1.8.0](https://github.com/rapidez/core/releases/tag/1.8.0) - 2024-01-23 - +- Use the configured locale from Magento (#409) + +## [1.8.0](https://github.com/rapidez/core/releases/tag/1.8.0) - 2024-01-23 + ### Added - New payment events (#406) @@ -807,16 +813,16 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Use stores to get the token and mask on checkout success (#377) -- Fix dusk tests (#405) - -## [1.7.1](https://github.com/rapidez/core/releases/tag/1.7.1) - 2024-01-05 - +- Fix dusk tests (#405) + +## [1.7.1](https://github.com/rapidez/core/releases/tag/1.7.1) - 2024-01-05 + ### Fixed -- Exclude register themes when running from console (#401) - -## [1.7.0](https://github.com/rapidez/core/releases/tag/1.7.0) - 2024-01-04 - +- Exclude register themes when running from console (#401) + +## [1.7.0](https://github.com/rapidez/core/releases/tag/1.7.0) - 2024-01-04 + ### Added - Payment icons (#374) @@ -826,16 +832,16 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed -- Trigger mounted event for autocomplete to remove timing dependency (#395) - -## [1.6.1](https://github.com/rapidez/core/releases/tag/1.6.1) - 2023-12-08 - +- Trigger mounted event for autocomplete to remove timing dependency (#395) + +## [1.6.1](https://github.com/rapidez/core/releases/tag/1.6.1) - 2023-12-08 + ### Fixed -- Use configured category model for subcategories (#396) - -## [1.6.0](https://github.com/rapidez/core/releases/tag/1.6.0) - 2023-12-07 - +- Use configured category model for subcategories (#396) + +## [1.6.0](https://github.com/rapidez/core/releases/tag/1.6.0) - 2023-12-07 + ### Added - Store code route middleware (#394) @@ -843,10 +849,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Correct cross-sells field (#392) -- Only add super attributes if they're also in the flat table (#393) - -## [1.5.0](https://github.com/rapidez/core/releases/tag/1.5.0) - 2023-12-05 - +- Only add super attributes if they're also in the flat table (#393) + +## [1.5.0](https://github.com/rapidez/core/releases/tag/1.5.0) - 2023-12-05 + ### Added - Search synonyms support (#387) @@ -854,18 +860,18 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Turbo update and workaround for 404 pages (#388) -- Fix slider reactivity when resized (#349) - -## [1.4.1](https://github.com/rapidez/core/releases/tag/1.4.1) - 2023-11-24 - +- Fix slider reactivity when resized (#349) + +## [1.4.1](https://github.com/rapidez/core/releases/tag/1.4.1) - 2023-11-24 + ### Fixed - Swatches fetch loop bug (#385) - Improve slider performance (#384) -- Throw exception when the store is not found (#386) - -## [1.4.0](https://github.com/rapidez/core/releases/tag/1.4.0) - 2023-11-22 - +- Throw exception when the store is not found (#386) + +## [1.4.0](https://github.com/rapidez/core/releases/tag/1.4.0) - 2023-11-22 + ### Added - Support for image disabled option (#381) @@ -873,36 +879,36 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed -- Clear cart storage when not found (#383) - -## [1.3.0](https://github.com/rapidez/core/releases/tag/1.3.0) - 2023-11-14 - +- Clear cart storage when not found (#383) + +## [1.3.0](https://github.com/rapidez/core/releases/tag/1.3.0) - 2023-11-14 + ### Added - Added special price and priceValidUntil to microdata (#380) ### Fixed -- Support MSP way of saving method_title (#379) - -## [1.2.0](https://github.com/rapidez/core/releases/tag/1.2.0) - 2023-11-07 - +- Support MSP way of saving method_title (#379) + +## [1.2.0](https://github.com/rapidez/core/releases/tag/1.2.0) - 2023-11-07 + ### Added - Implemented customer address prefix, suffix, vat_id and fax (#373) ### Fixed -- Use new config path (#375) - -## [1.1.0](https://github.com/rapidez/core/releases/tag/1.1.0) - 2023-11-03 - +- Use new config path (#375) + +## [1.1.0](https://github.com/rapidez/core/releases/tag/1.1.0) - 2023-11-03 + ### Changed -- Indexer config with visibility option (#369) - -## [1.0.1](https://github.com/rapidez/core/releases/tag/1.0.1) - 2023-11-01 - +- Indexer config with visibility option (#369) + +## [1.0.1](https://github.com/rapidez/core/releases/tag/1.0.1) - 2023-11-01 + ### Fixed - Avoid error in console (#365) @@ -910,10 +916,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou - Remove old button component (#367) - Use dragOnClick and disable keyboard for the price filter (#368) - Use data_get to allow both stdClass & arrays to be used (#370) -- Update prices when super attribute option is changed (#371) - -## [1.0.0](https://github.com/rapidez/core/releases/tag/1.0.0) - 2023-10-19 - +- Update prices when super attribute option is changed (#371) + +## [1.0.0](https://github.com/rapidez/core/releases/tag/1.0.0) - 2023-10-19 + ### Added - Improved frontend (#307, #359) @@ -949,10 +955,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou - Wrap raw query parts (#352) - Make slidesTotal a computed property (#346) - Passive listeners and key instead of keyCode in product image component (#350) -- Translatable cart + checkout title (7a6c533, 2a68e8b) - -## [0.81.0](https://github.com/rapidez/core/releases/tag/0.81.0) - 2023-02-21 - +- Translatable cart + checkout title (7a6c533, 2a68e8b) + +## [0.81.0](https://github.com/rapidez/core/releases/tag/0.81.0) - 2023-02-21 + ### Added - Expose logout slot from login component (#216) @@ -963,39 +969,39 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed -- Catch exceptions resembling 404 (#212) - -## [0.80.1](https://github.com/rapidez/core/releases/tag/0.80.1) - 2023-02-17 - +- Catch exceptions resembling 404 (#212) + +## [0.80.1](https://github.com/rapidez/core/releases/tag/0.80.1) - 2023-02-17 + ### Fixed -- Do not trigger the logout event when there is no token (cb72bb8) - -## [0.80.0](https://github.com/rapidez/core/releases/tag/0.80.0) - 2023-02-16 - +- Do not trigger the logout event when there is no token (cb72bb8) + +## [0.80.0](https://github.com/rapidez/core/releases/tag/0.80.0) - 2023-02-16 + ### Added - Ability to remove fallback routes (#206) ### Fixed -- Logout completely when user refresh fails due a 401 (621501f) - -## [0.79.2](https://github.com/rapidez/core/releases/tag/0.79.2) - 2023-02-01 - +- Logout completely when user refresh fails due a 401 (621501f) + +## [0.79.2](https://github.com/rapidez/core/releases/tag/0.79.2) - 2023-02-01 + ### Fixed -- Replaced old helper with facade (35b545a) - -## [0.79.1](https://github.com/rapidez/core/releases/tag/0.79.1) - 2023-02-01 - +- Replaced old helper with facade (35b545a) + +## [0.79.1](https://github.com/rapidez/core/releases/tag/0.79.1) - 2023-02-01 + ### Fixed - Improved Dusk tests (#201) -- Raise Dusk test default idle timeout to 2 minutes (#205) - -## [0.79.0](https://github.com/rapidez/core/releases/tag/0.79.0) - 2023-01-31 - +- Raise Dusk test default idle timeout to 2 minutes (#205) + +## [0.79.0](https://github.com/rapidez/core/releases/tag/0.79.0) - 2023-01-31 + ### Changed - Vue 2.7 update (#202) @@ -1004,16 +1010,16 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou - Load Vue as ES Module (94fa925) - Replaced deprecated Turbo.clearCache (a8740d9) -- Prevent full page reload when navigating from listing (#200) - -## [0.78.0](https://github.com/rapidez/core/releases/tag/0.78.0) - 2023-01-20 - +- Prevent full page reload when navigating from listing (#200) + +## [0.78.0](https://github.com/rapidez/core/releases/tag/0.78.0) - 2023-01-20 + ### Changed -- Renamed subcategories and added subcategories (#187) - -## [0.77.0](https://github.com/rapidez/core/releases/tag/0.77.0) - 2023-01-18 - +- Renamed subcategories and added subcategories (#187) + +## [0.77.0](https://github.com/rapidez/core/releases/tag/0.77.0) - 2023-01-18 + ### Added - Log notifications if debug mode is on (#186) @@ -1025,51 +1031,51 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed -- Browser test fixes (#181) - -## [0.76.4](https://github.com/rapidez/core/releases/tag/0.76.4) - 2023-01-10 - +- Browser test fixes (#181) + +## [0.76.4](https://github.com/rapidez/core/releases/tag/0.76.4) - 2023-01-10 + ### Fixed -- Bugfix (d947dd9) - -## [0.76.3](https://github.com/rapidez/core/releases/tag/0.76.3) - 2023-01-10 - +- Bugfix (d947dd9) + +## [0.76.3](https://github.com/rapidez/core/releases/tag/0.76.3) - 2023-01-10 + ### Fixed -- Get the attributes values for non-swatch super attributes (6c406a2, 8ed98ad) - -## [0.76.2](https://github.com/rapidez/core/releases/tag/0.76.2) - 2023-01-06 - +- Get the attributes values for non-swatch super attributes (6c406a2, 8ed98ad) + +## [0.76.2](https://github.com/rapidez/core/releases/tag/0.76.2) - 2023-01-06 + ### Fixed -- Select meta description with categories (1a11268) - -## [0.76.1](https://github.com/rapidez/core/releases/tag/0.76.1) - 2023-01-03 - +- Select meta description with categories (1a11268) + +## [0.76.1](https://github.com/rapidez/core/releases/tag/0.76.1) - 2023-01-03 + ### Fixed - `custom_attributes` in address data (#177) -- Fix key must be object if mappings or settings are empty (#180) - -## [0.76.0](https://github.com/rapidez/core/releases/tag/0.76.0) - 2022-12-14 - +- Fix key must be object if mappings or settings are empty (#180) + +## [0.76.0](https://github.com/rapidez/core/releases/tag/0.76.0) - 2022-12-14 + ### Added - Eventy product index settings filter (a172022) ### Changed -- Removed Magento 2.4.2 and 2.4.3 support (6994db0) - -## [0.75.0](https://github.com/rapidez/core/releases/tag/0.75.0) - 2022-12-02 - +- Removed Magento 2.4.2 and 2.4.3 support (6994db0) + +## [0.75.0](https://github.com/rapidez/core/releases/tag/0.75.0) - 2022-12-02 + ### Changed -- Migrated from Laravel Mix to Vite (#172) - -## [0.74.0](https://github.com/rapidez/core/releases/tag/0.74.0) - 2022-11-17 - +- Migrated from Laravel Mix to Vite (#172) + +## [0.74.0](https://github.com/rapidez/core/releases/tag/0.74.0) - 2022-11-17 + ### Added - Add option to allow vertical slides (#168) @@ -1083,16 +1089,16 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Fix ambiguous column (#170) -- Reindex url error fix (fbe1f32) - -## [0.73.0](https://github.com/rapidez/core/releases/tag/0.73.0) - 2022-10-27 - +- Reindex url error fix (fbe1f32) + +## [0.73.0](https://github.com/rapidez/core/releases/tag/0.73.0) - 2022-10-27 + ### Changed -- Always add a canonical with the current url without query strings (c03d794) - -## [0.72.0](https://github.com/rapidez/core/releases/tag/0.72.0) - 2022-10-27 - +- Always add a canonical with the current url without query strings (c03d794) + +## [0.72.0](https://github.com/rapidez/core/releases/tag/0.72.0) - 2022-10-27 + ### Changed - Generalise scroll to, to allow arbitrary selectors (#159) @@ -1101,69 +1107,69 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Fallback to using option code if its not an id (#163) -- Fixed empty customer address error in the checkout (8322cc0) - -## [0.71.1](https://github.com/rapidez/core/releases/tag/0.71.1) - 2022-10-10 - +- Fixed empty customer address error in the checkout (8322cc0) + +## [0.71.1](https://github.com/rapidez/core/releases/tag/0.71.1) - 2022-10-10 + ### Fixed -- Install tests command fixes (b95b0aa) - -## [0.71.0](https://github.com/rapidez/core/releases/tag/0.71.0) - 2022-10-06 - +- Install tests command fixes (b95b0aa) + +## [0.71.0](https://github.com/rapidez/core/releases/tag/0.71.0) - 2022-10-06 + ### Added -- Install tests command (72da9c1) - -## [0.70.5](https://github.com/rapidez/core/releases/tag/0.70.5) - 2022-10-03 - +- Install tests command (72da9c1) + +## [0.70.5](https://github.com/rapidez/core/releases/tag/0.70.5) - 2022-10-03 + #### Added -- Added option to change store based on get param (#162) - -## [0.70.4](https://github.com/rapidez/core/releases/tag/0.70.4) - 2022-10-03 - +- Added option to change store based on get param (#162) + +## [0.70.4](https://github.com/rapidez/core/releases/tag/0.70.4) - 2022-10-03 + ### Fixed -- Get new shipping price on country change (#161) - -## [0.70.3](https://github.com/rapidez/core/releases/tag/0.70.3) - 2022-09-01 - +- Get new shipping price on country change (#161) + +## [0.70.3](https://github.com/rapidez/core/releases/tag/0.70.3) - 2022-09-01 + ### Fixed - Make attribute_code more explicit (#155) -- Fix for from/to dates special prices (#156) - -## [0.70.2](https://github.com/rapidez/core/releases/tag/0.70.2) - 2022-08-30 - +- Fix for from/to dates special prices (#156) + +## [0.70.2](https://github.com/rapidez/core/releases/tag/0.70.2) - 2022-08-30 + ### Fixed -- Search results page query fix (785daf4) - -## [0.70.1](https://github.com/rapidez/core/releases/tag/0.70.1) - 2022-08-24 - +- Search results page query fix (785daf4) + +## [0.70.1](https://github.com/rapidez/core/releases/tag/0.70.1) - 2022-08-24 + ### Fixed -- Send the store id when creating a customer (7c174e3) - -## [0.70.0](https://github.com/rapidez/core/releases/tag/0.70.0) - 2022-08-23 - +- Send the store id when creating a customer (7c174e3) + +## [0.70.0](https://github.com/rapidez/core/releases/tag/0.70.0) - 2022-08-23 + ### Added -- Save the website id in the config when indexing (c37d9ca) - -## [0.69.0](https://github.com/rapidez/core/releases/tag/0.69.0) - 2022-08-18 - +- Save the website id in the config when indexing (c37d9ca) + +## [0.69.0](https://github.com/rapidez/core/releases/tag/0.69.0) - 2022-08-18 + ### Added - Graph Mutation component watch prop (18ff552) ### Fixed -- Remove error parameters from successful response (#154) - -## [0.68.0](https://github.com/rapidez/core/releases/tag/0.68.0) - 2022-08-16 - +- Remove error parameters from successful response (#154) + +## [0.68.0](https://github.com/rapidez/core/releases/tag/0.68.0) - 2022-08-16 + ### Added - Scroll to top when paginating (22257c8) @@ -1172,10 +1178,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Added the peer dependencies (1c21335) -- Removed old prop (8b57d7a) - -## [0.67.0](https://github.com/rapidez/core/releases/tag/0.67.0) - 2022-08-09 - +- Removed old prop (8b57d7a) + +## [0.67.0](https://github.com/rapidez/core/releases/tag/0.67.0) - 2022-08-09 + ### Added - Min sale qty support (#148, #149) @@ -1185,16 +1191,16 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou - Checkout steps fallback (#150) - Fixed console errors on category page (#152) -- Change this. to window.app (#153) - -## [0.66.1](https://github.com/rapidez/core/releases/tag/0.66.1) - 2022-07-22 - +- Change this. to window.app (#153) + +## [0.66.1](https://github.com/rapidez/core/releases/tag/0.66.1) - 2022-07-22 + ### Fixed -- Honor the visibility attribute (#147) - -## [0.66.0](https://github.com/rapidez/core/releases/tag/0.66.0) - 2022-07-22 - +- Honor the visibility attribute (#147) + +## [0.66.0](https://github.com/rapidez/core/releases/tag/0.66.0) - 2022-07-22 + ### Added - Added Vue cookies by default for the GTM package (264555d) @@ -1203,30 +1209,30 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed -- Index error fix (#146) - -## [0.65.3](https://github.com/rapidez/core/releases/tag/0.65.3) - 2022-07-20 - +- Index error fix (#146) + +## [0.65.3](https://github.com/rapidez/core/releases/tag/0.65.3) - 2022-07-20 + ### Fixed - Category table prefix fix (9870520) -- Console error fix (bab1ec2) - -## [0.65.2](https://github.com/rapidez/core/releases/tag/0.65.2) - 2022-07-20 - +- Console error fix (bab1ec2) + +## [0.65.2](https://github.com/rapidez/core/releases/tag/0.65.2) - 2022-07-20 + ### Fixed -- Category url from url rewrite table (5e0648e) - -## [0.65.1](https://github.com/rapidez/core/releases/tag/0.65.1) - 2022-07-18 - +- Category url from url rewrite table (5e0648e) + +## [0.65.1](https://github.com/rapidez/core/releases/tag/0.65.1) - 2022-07-18 + ### Fixed - Expire cart for 404 addToCart response (#145) - - -## [0.65.0](https://github.com/rapidez/core/releases/tag/0.65.0) - 2022-07-08 - + + +## [0.65.0](https://github.com/rapidez/core/releases/tag/0.65.0) - 2022-07-08 + ### Changed - Checkout steps per store (#142) @@ -1235,77 +1241,77 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou - Dusk tests fix (1133c93) - Fixed aria labels (#143) -- Fix multiple reactive search requests (#144) - -## [0.64.2](https://github.com/rapidez/core/releases/tag/0.64.2) - 2022-06-28 - +- Fix multiple reactive search requests (#144) + +## [0.64.2](https://github.com/rapidez/core/releases/tag/0.64.2) - 2022-06-28 + ### Fixed -- Fallback fix when there are no children (53ece8b) - -## [0.64.1](https://github.com/rapidez/core/releases/tag/0.64.1) - 2022-06-24 - +- Fallback fix when there are no children (53ece8b) + +## [0.64.1](https://github.com/rapidez/core/releases/tag/0.64.1) - 2022-06-24 + ### Fixed -- Added fail safe if redirect type is not set (#140) - -## [0.64.0](https://github.com/rapidez/core/releases/tag/0.64.0) - 2022-06-24 - +- Added fail safe if redirect type is not set (#140) + +## [0.64.0](https://github.com/rapidez/core/releases/tag/0.64.0) - 2022-06-24 + ### Added -- GraphQL Mutation component mutating prop (#139) - -## [0.63.0](https://github.com/rapidez/core/releases/tag/0.63.0) - 2022-06-21 - +- GraphQL Mutation component mutating prop (#139) + +## [0.63.0](https://github.com/rapidez/core/releases/tag/0.63.0) - 2022-06-21 + ### Added - Magento error params in error notifications (#138) ### Fixed -- Table alias for on grouped scope (97d1a05) - -## [0.62.4](https://github.com/rapidez/core/releases/tag/0.62.4) - 2022-06-07 - +- Table alias for on grouped scope (97d1a05) + +## [0.62.4](https://github.com/rapidez/core/releases/tag/0.62.4) - 2022-06-07 + ### Fixed - Fix return type (#137) -- Use meta instead of link in microdata to prevent loading (8d0f572) - -## [0.62.3](https://github.com/rapidez/core/releases/tag/0.62.3) - 2022-06-03 - +- Use meta instead of link in microdata to prevent loading (8d0f572) + +## [0.62.3](https://github.com/rapidez/core/releases/tag/0.62.3) - 2022-06-03 + ### Fixed -- Coupon notifications (d1f745c) - -## [0.62.2](https://github.com/rapidez/core/releases/tag/0.62.2) - 2022-06-03 - +- Coupon notifications (d1f745c) + +## [0.62.2](https://github.com/rapidez/core/releases/tag/0.62.2) - 2022-06-03 + ### Fixed -- Notifications instead of alerts (4057543) - -## [0.62.1](https://github.com/rapidez/core/releases/tag/0.62.1) - 2022-06-01 - +- Notifications instead of alerts (4057543) + +## [0.62.1](https://github.com/rapidez/core/releases/tag/0.62.1) - 2022-06-01 + ### Fixed -- Per page config parse fix (#136) - -## [0.62.0](https://github.com/rapidez/core/releases/tag/0.62.0) - 2022-05-31 - +- Per page config parse fix (#136) + +## [0.62.0](https://github.com/rapidez/core/releases/tag/0.62.0) - 2022-05-31 + ### Added - Results per page filter (#134) -- Newest sort option and additionalSorting prop (#135) - -## [0.61.1](https://github.com/rapidez/core/releases/tag/0.61.1) - 2022-05-24 - +- Newest sort option and additionalSorting prop (#135) + +## [0.61.1](https://github.com/rapidez/core/releases/tag/0.61.1) - 2022-05-24 + ### Fixed - Test against Magento 2.4.4 (934d84b) -- Attribute cache per store (774101a) - -## [0.61.0](https://github.com/rapidez/core/releases/tag/0.61.0) - 2022-05-17 - +- Attribute cache per store (774101a) + +## [0.61.0](https://github.com/rapidez/core/releases/tag/0.61.0) - 2022-05-17 + ### Added - Better search results and field weight support (41bbc68) @@ -1314,41 +1320,41 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed -- Extract JS chunks to the correct directory (6f4b967) - -## [0.60.1](https://github.com/rapidez/core/releases/tag/0.60.1) - 2022-05-10 - +- Extract JS chunks to the correct directory (6f4b967) + +## [0.60.1](https://github.com/rapidez/core/releases/tag/0.60.1) - 2022-05-10 + ### Fixed -- Swapping indexes without a mapping fix (#133) - -## [0.60.0](https://github.com/rapidez/core/releases/tag/0.60.0) - 2022-05-10 - +- Swapping indexes without a mapping fix (#133) + +## [0.60.0](https://github.com/rapidez/core/releases/tag/0.60.0) - 2022-05-10 + ### Changed -- Index command abstraction (#132) - -## [0.59.3](https://github.com/rapidez/core/releases/tag/0.59.3) - 2022-05-10 - +- Index command abstraction (#132) + +## [0.59.3](https://github.com/rapidez/core/releases/tag/0.59.3) - 2022-05-10 + ### Fixed - Send Store header with GraphQL requests (#131) -- Return false on non existing option values (7de6633) - -## [0.59.2](https://github.com/rapidez/core/releases/tag/0.59.2) - 2022-05-02 - +- Return false on non existing option values (7de6633) + +## [0.59.2](https://github.com/rapidez/core/releases/tag/0.59.2) - 2022-05-02 + ### Fixed -- Revert calling init immediately (db86662) - -## [0.59.1](https://github.com/rapidez/core/releases/tag/0.59.1) - 2022-04-28 - +- Revert calling init immediately (db86662) + +## [0.59.1](https://github.com/rapidez/core/releases/tag/0.59.1) - 2022-04-28 + ### Fixed -- Removed unneeded use (2d07b35) - -## [0.59.0](https://github.com/rapidez/core/releases/tag/0.59.0) - 2022-04-28 - +- Removed unneeded use (2d07b35) + +## [0.59.0](https://github.com/rapidez/core/releases/tag/0.59.0) - 2022-04-28 + ### Added - GraphQL mutation beforeRequest prop (#130) @@ -1356,10 +1362,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Changed -- Do not lazy load the first 4 images on categories (0bf6762) - -## [0.58.0](https://github.com/rapidez/core/releases/tag/0.58.0) - 2022-04-24 - +- Do not lazy load the first 4 images on categories (0bf6762) + +## [0.58.0](https://github.com/rapidez/core/releases/tag/0.58.0) - 2022-04-24 + ### Changed - Use the Magento customer configuration (#127) @@ -1367,48 +1373,48 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed -- Slider scroll fix (5728dea) - -## [0.57.0](https://github.com/rapidez/core/releases/tag/0.57.0) - 2022-04-20 - +- Slider scroll fix (5728dea) + +## [0.57.0](https://github.com/rapidez/core/releases/tag/0.57.0) - 2022-04-20 + ### Added - Category filter (#128) ### Changed -- Added an additional wrapper div (a7fea71) - -## [0.56.2](https://github.com/rapidez/core/releases/tag/0.56.2) - 2022-04-15 - +- Added an additional wrapper div (a7fea71) + +## [0.56.2](https://github.com/rapidez/core/releases/tag/0.56.2) - 2022-04-15 + ### Fixed -- Emit event fix (1bfb884) - -## [0.56.1](https://github.com/rapidez/core/releases/tag/0.56.1) - 2022-04-14 - +- Emit event fix (1bfb884) + +## [0.56.1](https://github.com/rapidez/core/releases/tag/0.56.1) - 2022-04-14 + ### Fixed -- Encode search term in the url (0e44230) - -## [0.56.0](https://github.com/rapidez/core/releases/tag/0.56.0) - 2022-04-13 - +- Encode search term in the url (0e44230) + +## [0.56.0](https://github.com/rapidez/core/releases/tag/0.56.0) - 2022-04-13 + ### Changed - Copied and renamed the lazy component and use requestIdleCallback (11cd9be) - Load lazy component automatically after 3 seconds instead of requestIdleCallback (3231f20) - Only load the user component when toggled (d7d6969, 380a23f) - Do not chunk the product image component (850ee34) -- Only load the search autocomplete on focus (8067825) - -## [0.55.0](https://github.com/rapidez/core/releases/tag/0.55.0) - 2022-04-12 - +- Only load the search autocomplete on focus (8067825) + +## [0.55.0](https://github.com/rapidez/core/releases/tag/0.55.0) - 2022-04-12 + ### Changed -- Moved the facade (7373ab2) - -## [0.54.0](https://github.com/rapidez/core/releases/tag/0.54.0) - 2022-04-11 - +- Moved the facade (7373ab2) + +## [0.54.0](https://github.com/rapidez/core/releases/tag/0.54.0) - 2022-04-11 + ### Changed - Laravel 9 upgrade (ba35831, 0075076) @@ -1416,10 +1422,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed -- Save grouped products as flattened in ES (#126) - -## [0.53.0](https://github.com/rapidez/core/releases/tag/0.53.0) - 2022-04-06 - +- Save grouped products as flattened in ES (#126) + +## [0.53.0](https://github.com/rapidez/core/releases/tag/0.53.0) - 2022-04-06 + ### Added - Theme support (#122) @@ -1430,74 +1436,74 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed -- Cache busting for Webpack chunks (88f79aa) - -## [0.52.1](https://github.com/rapidez/core/releases/tag/0.52.1) - 2022-04-04 - +- Cache busting for Webpack chunks (88f79aa) + +## [0.52.1](https://github.com/rapidez/core/releases/tag/0.52.1) - 2022-04-04 + ### Fixed - Better variable naming (2d981d2) - Use product model table everywhere (#124) -- Special prices without dates fix (#125) - -## [0.52.0](https://github.com/rapidez/core/releases/tag/0.52.0) - 2022-03-29 - +- Special prices without dates fix (#125) + +## [0.52.0](https://github.com/rapidez/core/releases/tag/0.52.0) - 2022-03-29 + ### Added - ViewOnly widget (#119) -- Automatic changelog (#121) - -## [0.51.0](https://github.com/rapidez/core/releases/tag/0.51.0) - 2022-03-29 - +- Automatic changelog (#121) + +## [0.51.0](https://github.com/rapidez/core/releases/tag/0.51.0) - 2022-03-29 + ### Added - Added callback in close function (#120) - Expose stock qty option (ccc1f51) -- Website code availability in the config (034f491) - -## [0.50.0](https://github.com/rapidez/core/releases/tag/0.50.0) - 2022-03-25 - +- Website code availability in the config (034f491) + +## [0.50.0](https://github.com/rapidez/core/releases/tag/0.50.0) - 2022-03-25 + ### Added - Grouped products support (615ce9c, 8a2d6da, 573b87a) ### Changed -- Tailwind 3 upgrade (03735eb, d96206e) - -## [0.49.2](https://github.com/rapidez/core/releases/tag/0.49.2) - 2022-03-18 - +- Tailwind 3 upgrade (03735eb, d96206e) + +## [0.49.2](https://github.com/rapidez/core/releases/tag/0.49.2) - 2022-03-18 + ### Fixed -- Check on source_model to determine the right column (cbd708d) - -## [0.49.1](https://github.com/rapidez/core/releases/tag/0.49.1) - 2022-03-17 - +- Check on source_model to determine the right column (cbd708d) + +## [0.49.1](https://github.com/rapidez/core/releases/tag/0.49.1) - 2022-03-17 + ### Fixed -- Reset variables to initial variables on clear within GraphQL mutation (5f3e320) - -## [0.49.0](https://github.com/rapidez/core/releases/tag/0.49.0) - 2022-03-16 - +- Reset variables to initial variables on clear within GraphQL mutation (5f3e320) + +## [0.49.0](https://github.com/rapidez/core/releases/tag/0.49.0) - 2022-03-16 + ### Changed - Move object key names in swatch to better clarify the functionality (#118) -- Removed the changes GraphQL mutation option in favor of variables (3fbafed) - -## [0.48.2](https://github.com/rapidez/core/releases/tag/0.48.2) - 2022-03-15 - +- Removed the changes GraphQL mutation option in favor of variables (3fbafed) + +## [0.48.2](https://github.com/rapidez/core/releases/tag/0.48.2) - 2022-03-15 + ### Fixed -- Select the right column when the attribute type is a integer (e5262bf) - -## [0.48.1](https://github.com/rapidez/core/releases/tag/0.48.1) - 2022-03-14 - +- Select the right column when the attribute type is a integer (e5262bf) + +## [0.48.1](https://github.com/rapidez/core/releases/tag/0.48.1) - 2022-03-14 + ### Fixed -- Console error and swatches fix (#117) - -## [0.48.0](https://github.com/rapidez/core/releases/tag/0.48.0) - 2022-03-04 - +- Console error and swatches fix (#117) + +## [0.48.0](https://github.com/rapidez/core/releases/tag/0.48.0) - 2022-03-04 + ### Changed - Javascript size improvements (#116) @@ -1505,16 +1511,16 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Price slider fix (#115) -- Sort attribute options (#113) - -## [0.47.1](https://github.com/rapidez/core/releases/tag/0.47.1) - 2022-03-02 - +- Sort attribute options (#113) + +## [0.47.1](https://github.com/rapidez/core/releases/tag/0.47.1) - 2022-03-02 + ### Fixed -- Cache the product model casts (7db518a) - -## [0.47.0](https://github.com/rapidez/core/releases/tag/0.47.0) - 2022-02-28 - +- Cache the product model casts (7db518a) + +## [0.47.0](https://github.com/rapidez/core/releases/tag/0.47.0) - 2022-02-28 + ### Changed - Expose the getTotalsInformation method (ccf6c52) @@ -1522,22 +1528,22 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Remove unneeded article tag (43b4fb2) -- Raised the browser test wait times (994d4ca, 97ee47b) - -## [0.46.0](https://github.com/rapidez/core/releases/tag/0.46.0) - 2022-02-28 - +- Raised the browser test wait times (994d4ca, 97ee47b) + +## [0.46.0](https://github.com/rapidez/core/releases/tag/0.46.0) - 2022-02-28 + ### Changed -- Refresh totals on shipping method change (e66133a) - -## [0.45.0](https://github.com/rapidez/core/releases/tag/0.45.0) - 2022-02-25 - +- Refresh totals on shipping method change (e66133a) + +## [0.45.0](https://github.com/rapidez/core/releases/tag/0.45.0) - 2022-02-25 + ### Added -- Custom url rewrite support (af7d617) - -## [0.44.0](https://github.com/rapidez/core/releases/tag/0.44.0) - 2022-02-17 - +- Custom url rewrite support (af7d617) + +## [0.44.0](https://github.com/rapidez/core/releases/tag/0.44.0) - 2022-02-17 + ### Added - Cart events (#107) @@ -1552,228 +1558,228 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Remove created index in case of unsuccessful reindex (#112) -- Corrected the logged in event order (15e7283) - -## [0.43.0](https://github.com/rapidez/core/releases/tag/0.43.0) - 2022-02-11 - +- Corrected the logged in event order (15e7283) + +## [0.43.0](https://github.com/rapidez/core/releases/tag/0.43.0) - 2022-02-11 + ### Added -- Logged in event (#108) - -## [0.42.0](https://github.com/rapidez/core/releases/tag/0.42.0) - 2022-02-09 - +- Logged in event (#108) + +## [0.42.0](https://github.com/rapidez/core/releases/tag/0.42.0) - 2022-02-09 + ### Added - Checkout address select (91efbe4, e47e9ce) ### Changed -- Logout event and clear addresses on logout (#105) - -## [0.41.0](https://github.com/rapidez/core/releases/tag/0.41.0) - 2022-02-09 - +- Logout event and clear addresses on logout (#105) + +## [0.41.0](https://github.com/rapidez/core/releases/tag/0.41.0) - 2022-02-09 + ### Changed - Use primary key in the ForCurrentStoreScope (#104) - GraphQL component runQuery slot scope (#106) -- Dynamic country with default country fallback (#100) - -## [0.40.0](https://github.com/rapidez/core/releases/tag/0.40.0) - 2022-02-05 - +- Dynamic country with default country fallback (#100) + +## [0.40.0](https://github.com/rapidez/core/releases/tag/0.40.0) - 2022-02-05 + ### Added -- Robots yield (#101) - -## [0.39.2](https://github.com/rapidez/core/releases/tag/0.39.2) - 2022-02-01 - +- Robots yield (#101) + +## [0.39.2](https://github.com/rapidez/core/releases/tag/0.39.2) - 2022-02-01 + ### Fixed -- Syntax error fix (becaece) - -## [0.39.1](https://github.com/rapidez/core/releases/tag/0.39.1) - 2022-01-31 - +- Syntax error fix (becaece) + +## [0.39.1](https://github.com/rapidez/core/releases/tag/0.39.1) - 2022-01-31 + ### Fixed - Undefined request fix (c510cc7) -- Recaptcha component location prop (9338284) - -## [0.39.0](https://github.com/rapidez/core/releases/tag/0.39.0) - 2022-01-28 - +- Recaptcha component location prop (9338284) + +## [0.39.0](https://github.com/rapidez/core/releases/tag/0.39.0) - 2022-01-28 + ### Added - Custom sorting label translations possibility (#98) -- Quote prices exclusive tax (1c6f885) - -## [0.38.1](https://github.com/rapidez/core/releases/tag/0.38.1) - 2022-01-18 - +- Quote prices exclusive tax (1c6f885) + +## [0.38.1](https://github.com/rapidez/core/releases/tag/0.38.1) - 2022-01-18 + ### Fixed -- Handle case when no category id's returned (#96) - -## [0.38.0](https://github.com/rapidez/core/releases/tag/0.38.0) - 2022-01-14 - +- Handle case when no category id's returned (#96) + +## [0.38.0](https://github.com/rapidez/core/releases/tag/0.38.0) - 2022-01-14 + ### Added - Login component redirect prop (71617ae) ### Fixed -- Eventy filters are applied correctly again (d2450e5) - -## [0.37.0](https://github.com/rapidez/core/releases/tag/0.37.0) - 2022-01-12 - +- Eventy filters are applied correctly again (d2450e5) + +## [0.37.0](https://github.com/rapidez/core/releases/tag/0.37.0) - 2022-01-12 + ### Changed -- Possibility to change the GraphQL data from the callback (3dfef56) - -## [0.36.0](https://github.com/rapidez/core/releases/tag/0.36.0) - 2022-01-11 - +- Possibility to change the GraphQL data from the callback (3dfef56) + +## [0.36.0](https://github.com/rapidez/core/releases/tag/0.36.0) - 2022-01-11 + ### Changed -- Productpage scopes filter, renamed the frontend attributes filter and small refactor (dbadbeb) - -## [0.35.0](https://github.com/rapidez/core/releases/tag/0.35.0) - 2022-01-11 - +- Productpage scopes filter, renamed the frontend attributes filter and small refactor (dbadbeb) + +## [0.35.0](https://github.com/rapidez/core/releases/tag/0.35.0) - 2022-01-11 + ### Added - Recaptcha component (6868b63) ### Fixed -- Price react to the new query filter (ac6b74e) - -## [0.34.0](https://github.com/rapidez/core/releases/tag/0.34.0) - 2022-01-04 - +- Price react to the new query filter (ac6b74e) + +## [0.34.0](https://github.com/rapidez/core/releases/tag/0.34.0) - 2022-01-04 + ### Added -- Quote items select Eventy filter (#95) - -## [0.33.0](https://github.com/rapidez/core/releases/tag/0.33.0) - 2022-01-04 - +- Quote items select Eventy filter (#95) + +## [0.33.0](https://github.com/rapidez/core/releases/tag/0.33.0) - 2022-01-04 + ### Added -- Expired cart check (6382c7e) - -## [0.32.1](https://github.com/rapidez/core/releases/tag/0.32.1) - 2021-12-22 - +- Expired cart check (6382c7e) + +## [0.32.1](https://github.com/rapidez/core/releases/tag/0.32.1) - 2021-12-22 + ### Fixed -- Filter widgets by their assigned store id (#94) - -## [0.32.0](https://github.com/rapidez/core/releases/tag/0.32.0) - 2021-12-16 - +- Filter widgets by their assigned store id (#94) + +## [0.32.0](https://github.com/rapidez/core/releases/tag/0.32.0) - 2021-12-16 + ### Added -- Add to cart callback prop (5710843) - -## [0.31.6](https://github.com/rapidez/core/releases/tag/0.31.6) - 2021-12-15 - +- Add to cart callback prop (5710843) + +## [0.31.6](https://github.com/rapidez/core/releases/tag/0.31.6) - 2021-12-15 + ### Fixed -- Round microdata prices (494a1c2) - -## [0.31.5](https://github.com/rapidez/core/releases/tag/0.31.5) - 2021-12-14 - +- Round microdata prices (494a1c2) + +## [0.31.5](https://github.com/rapidez/core/releases/tag/0.31.5) - 2021-12-14 + ### Fixed -- Use booting instead of booted in models (2dbb2b7) - -## [0.31.4](https://github.com/rapidez/core/releases/tag/0.31.4) - 2021-12-14 - +- Use booting instead of booted in models (2dbb2b7) + +## [0.31.4](https://github.com/rapidez/core/releases/tag/0.31.4) - 2021-12-14 + ### Fixed -- Override quote select fix (#93) - -## [0.31.3](https://github.com/rapidez/core/releases/tag/0.31.3) - 2021-12-14 - +- Override quote select fix (#93) + +## [0.31.3](https://github.com/rapidez/core/releases/tag/0.31.3) - 2021-12-14 + ### Fixed -- Prefix column with table to prevent ambiguous columns (#92) - -## [0.31.2](https://github.com/rapidez/core/releases/tag/0.31.2) - 2021-12-13 - +- Prefix column with table to prevent ambiguous columns (#92) + +## [0.31.2](https://github.com/rapidez/core/releases/tag/0.31.2) - 2021-12-13 + ### Fixed -- Keep the billing credentials in local storage (7fb81af) - -## [0.31.1](https://github.com/rapidez/core/releases/tag/0.31.1) - 2021-12-10 - +- Keep the billing credentials in local storage (7fb81af) + +## [0.31.1](https://github.com/rapidez/core/releases/tag/0.31.1) - 2021-12-10 + ### Fixed -- Return false instead of null in cache functions as null can not be cached (f8c56fe) - -## [0.31.0](https://github.com/rapidez/core/releases/tag/0.31.0) - 2021-12-10 - +- Return false instead of null in cache functions as null can not be cached (f8c56fe) + +## [0.31.0](https://github.com/rapidez/core/releases/tag/0.31.0) - 2021-12-10 + ### Changed -- Renamed qty prop to defaultQty (a541a96) - -## [0.30.4](https://github.com/rapidez/core/releases/tag/0.30.4) - 2021-12-09 - +- Renamed qty prop to defaultQty (a541a96) + +## [0.30.4](https://github.com/rapidez/core/releases/tag/0.30.4) - 2021-12-09 + ### Fixed -- Only use qty increments when it is enabled (f1a2356) - -## [0.30.3](https://github.com/rapidez/core/releases/tag/0.30.3) - 2021-12-03 - +- Only use qty increments when it is enabled (f1a2356) + +## [0.30.3](https://github.com/rapidez/core/releases/tag/0.30.3) - 2021-12-03 + ### Fixed -- Multiline widget parameter fix (7ae439e) - -## [0.30.2](https://github.com/rapidez/core/releases/tag/0.30.2) - 2021-12-02 - +- Multiline widget parameter fix (7ae439e) + +## [0.30.2](https://github.com/rapidez/core/releases/tag/0.30.2) - 2021-12-02 + ### Fixed -- Console error fix (da29a4e) - -## [0.30.1](https://github.com/rapidez/core/releases/tag/0.30.1) - 2021-12-01 - +- Console error fix (da29a4e) + +## [0.30.1](https://github.com/rapidez/core/releases/tag/0.30.1) - 2021-12-01 + ### Fixed -- Forgotten import (cdee1bb) - -## [0.30.0](https://github.com/rapidez/core/releases/tag/0.30.0) - 2021-12-01 - +- Forgotten import (cdee1bb) + +## [0.30.0](https://github.com/rapidez/core/releases/tag/0.30.0) - 2021-12-01 + ### Added -- Product children select Eventy filter (b94c3e7) - -## [0.29.0](https://github.com/rapidez/core/releases/tag/0.29.0) - 2021-11-30 - +- Product children select Eventy filter (b94c3e7) + +## [0.29.0](https://github.com/rapidez/core/releases/tag/0.29.0) - 2021-11-30 + ### Added - Custom reactive prop (c3f29dc) ### Fixed -- Only search when value is not empty (#90) - -## [0.28.0](https://github.com/rapidez/core/releases/tag/0.28.0) - 2021-11-25 - +- Only search when value is not empty (#90) + +## [0.28.0](https://github.com/rapidez/core/releases/tag/0.28.0) - 2021-11-25 + ### Added -- Toggler component callback prop (669d31b) - -## [0.27.0](https://github.com/rapidez/core/releases/tag/0.27.0) - 2021-11-25 - +- Toggler component callback prop (669d31b) + +## [0.27.0](https://github.com/rapidez/core/releases/tag/0.27.0) - 2021-11-25 + ### Added -- Cart refreshed event (d5bd9df) - -## [0.26.2](https://github.com/rapidez/core/releases/tag/0.26.2) - 2021-11-25 - +- Cart refreshed event (d5bd9df) + +## [0.26.2](https://github.com/rapidez/core/releases/tag/0.26.2) - 2021-11-25 + ### Fixed -- Discounts where not displayed (c878109) - -## [0.26.1](https://github.com/rapidez/core/releases/tag/0.26.1) - 2021-11-23 - +- Discounts where not displayed (c878109) + +## [0.26.1](https://github.com/rapidez/core/releases/tag/0.26.1) - 2021-11-23 + ### Fixed -- Do not try to decode the product children if it is already an object (93068df) - -## [0.26.0](https://github.com/rapidez/core/releases/tag/0.26.0) - 2021-11-23 - +- Do not try to decode the product children if it is already an object (93068df) + +## [0.26.0](https://github.com/rapidez/core/releases/tag/0.26.0) - 2021-11-23 + ### Added - Implemented special prices (88333ae) @@ -1783,38 +1789,38 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou - GraphQL mutation clear with variables (c872150) - - -## [0.25.1](https://github.com/rapidez/core/releases/tag/0.25.1) - 2021-11-16 - + + +## [0.25.1](https://github.com/rapidez/core/releases/tag/0.25.1) - 2021-11-16 + ### Fixed -- Do not try to render non implemented widgets in production (7ddaf84) - -## [0.25.0](https://github.com/rapidez/core/releases/tag/0.25.0) - 2021-11-12 - +- Do not try to render non implemented widgets in production (7ddaf84) + +## [0.25.0](https://github.com/rapidez/core/releases/tag/0.25.0) - 2021-11-12 + ### Added -- Eventy filter for product attributes available in the frontend (#89) - -## [0.24.1](https://github.com/rapidez/core/releases/tag/0.24.1) - 2021-11-11 - +- Eventy filter for product attributes available in the frontend (#89) + +## [0.24.1](https://github.com/rapidez/core/releases/tag/0.24.1) - 2021-11-11 + ### Fixed -- Show shipping costs with tax (a98fe6f) - -## [0.24.0](https://github.com/rapidez/core/releases/tag/0.24.0) - 2021-11-11 - +- Show shipping costs with tax (a98fe6f) + +## [0.24.0](https://github.com/rapidez/core/releases/tag/0.24.0) - 2021-11-11 + ### Added - Show shipping info in cart totals (5aa383e) ### Fixed -- Only show tax in cart totals if present (affbce1) - -## [0.23.0](https://github.com/rapidez/core/releases/tag/0.23.0) - 2021-11-10 - +- Only show tax in cart totals if present (affbce1) + +## [0.23.0](https://github.com/rapidez/core/releases/tag/0.23.0) - 2021-11-10 + ### Added - Configurable additional searchable attributes (80ec594) @@ -1825,10 +1831,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed -- Do not overwrite the category select query (230c87e) - -## [0.22.0](https://github.com/rapidez/core/releases/tag/0.22.0) - 2021-11-10 - +- Do not overwrite the category select query (230c87e) + +## [0.22.0](https://github.com/rapidez/core/releases/tag/0.22.0) - 2021-11-10 + ### Added - Breadcrumb rich snippets (9f7ca61) @@ -1836,28 +1842,28 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Changed -- Use more HTML5 semantic tags (16cc5ee) - -## [0.21.0](https://github.com/rapidez/core/releases/tag/0.21.0) - 2021-11-09 - +- Use more HTML5 semantic tags (16cc5ee) + +## [0.21.0](https://github.com/rapidez/core/releases/tag/0.21.0) - 2021-11-09 + ### Changed -- Refactored the product options in listings (860be53) - -## [0.20.1](https://github.com/rapidez/core/releases/tag/0.20.1) - 2021-11-04 - +- Refactored the product options in listings (860be53) + +## [0.20.1](https://github.com/rapidez/core/releases/tag/0.20.1) - 2021-11-04 + ### Fixes -- Product url access on product pages in js (#87) - -## [0.20.0](https://github.com/rapidez/core/releases/tag/0.20.0) - 2021-11-03 - +- Product url access on product pages in js (#87) + +## [0.20.0](https://github.com/rapidez/core/releases/tag/0.20.0) - 2021-11-03 + ### Added -- GraphQL callback prop (46dcc39) - -## [0.19.0](https://github.com/rapidez/core/releases/tag/0.19.0) - 2021-11-03 - +- GraphQL callback prop (46dcc39) + +## [0.19.0](https://github.com/rapidez/core/releases/tag/0.19.0) - 2021-11-03 + ### Added - Notification duration prop (#85) @@ -1865,10 +1871,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Changed -- Redirect with configurable products and disabled swatches in listings (#84) - -## [0.18.0](https://github.com/rapidez/core/releases/tag/0.18.0) - 2021-10-23 - +- Redirect with configurable products and disabled swatches in listings (#84) + +## [0.18.0](https://github.com/rapidez/core/releases/tag/0.18.0) - 2021-10-23 + ### Added - Sensitive/encrypted config support (5def207) @@ -1877,26 +1883,26 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed -- Only show the page content heading when filled (bcf3fde) - -## [0.17.0](https://github.com/rapidez/core/releases/tag/0.17.0) - 2021-10-20 - +- Only show the page content heading when filled (bcf3fde) + +## [0.17.0](https://github.com/rapidez/core/releases/tag/0.17.0) - 2021-10-20 + ### Added -- Add to cart adding/added states and notify props (3d1b012, d367430) - -## [0.16.0](https://github.com/rapidez/core/releases/tag/0.16.0) - 2021-10-08 - +- Add to cart adding/added states and notify props (3d1b012, d367430) + +## [0.16.0](https://github.com/rapidez/core/releases/tag/0.16.0) - 2021-10-08 + ### Added - GraphQL component prop to mutate on event (#80) ### Changed -- Kebab-case events names (#81) - -## [0.15.2](https://github.com/rapidez/core/releases/tag/0.15.2) - 2021-10-07 - +- Kebab-case events names (#81) + +## [0.15.2](https://github.com/rapidez/core/releases/tag/0.15.2) - 2021-10-07 + ### Changed - Allow post requests to the admin routes (6e91d62) @@ -1904,39 +1910,39 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Slider totals fix (#78) -- Spelling fix (#79) - -## [0.15.1](https://github.com/rapidez/core/releases/tag/0.15.1) - 2021-10-07 - +- Spelling fix (#79) + +## [0.15.1](https://github.com/rapidez/core/releases/tag/0.15.1) - 2021-10-07 + ### Fixed -- GraphQL Mutation component reactivity fix (092331a) - -## [0.15.0](https://github.com/rapidez/core/releases/tag/0.15.0) - 2021-10-05 - +- GraphQL Mutation component reactivity fix (092331a) + +## [0.15.0](https://github.com/rapidez/core/releases/tag/0.15.0) - 2021-10-05 + ### Added - Configurable z-indexes (#76) ### Changed -- Keep the email after the checkout and pass variables to GraphQL callbacks (#77) - -## [0.14.2](https://github.com/rapidez/core/releases/tag/0.14.2) - 2021-09-28 - +- Keep the email after the checkout and pass variables to GraphQL callbacks (#77) + +## [0.14.2](https://github.com/rapidez/core/releases/tag/0.14.2) - 2021-09-28 + ### Added -- Added the variables to the GraphQL mutation slot scope (#73) - -## [0.14.1](https://github.com/rapidez/core/releases/tag/0.14.1) - 2021-09-24 - +- Added the variables to the GraphQL mutation slot scope (#73) + +## [0.14.1](https://github.com/rapidez/core/releases/tag/0.14.1) - 2021-09-24 + ### Fixed - Hide slider dots when there is just one slide (#70) -- Clear cart on success page (#71) - -## [0.14.0](https://github.com/rapidez/core/releases/tag/0.14.0) - 2021-09-22 - +- Clear cart on success page (#71) + +## [0.14.0](https://github.com/rapidez/core/releases/tag/0.14.0) - 2021-09-22 + ### Added - Slider navigation dots (#66) @@ -1945,10 +1951,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Changed - Expose the product id to the frontend (ab28cac) -- Use localstorage email as guest email if available (#69) - -## [0.13.0](https://github.com/rapidez/core/releases/tag/0.13.0) - 2021-09-21 - +- Use localstorage email as guest email if available (#69) + +## [0.13.0](https://github.com/rapidez/core/releases/tag/0.13.0) - 2021-09-21 + ### Added - Qty increments in the cart (6442c1c, 8036645) @@ -1961,10 +1967,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - Always refresh the cart after changes (174f473) -- Resolve swatches anywhere (#68) - -## [0.12.0](https://github.com/rapidez/core/releases/tag/0.12.0) - 2021-09-16 - +- Resolve swatches anywhere (#68) + +## [0.12.0](https://github.com/rapidez/core/releases/tag/0.12.0) - 2021-09-16 + ### Added - Variable disable when loading button option (6abaae4) @@ -1973,10 +1979,10 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou - Allow Vue to set a href on an anchor button (6ccaefe) - Select filters do not react on themself and cleanup (bfbe4a7) -- Always get the lowest price as base price (#65) - -## [0.11.0](https://github.com/rapidez/core/releases/tag/0.11.0) - 2021-09-10 - +- Always get the lowest price as base price (#65) + +## [0.11.0](https://github.com/rapidez/core/releases/tag/0.11.0) - 2021-09-10 + ### Added - Aria labels (b410c22) @@ -1992,48 +1998,48 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Security -- Updated lodash (60a68bf) - -## [0.10.1](https://github.com/rapidez/core/releases/tag/0.10.1) - 2021-09-07 - +- Updated lodash (60a68bf) + +## [0.10.1](https://github.com/rapidez/core/releases/tag/0.10.1) - 2021-09-07 + ### Fixed -- Fixed overwriting select (#62) - -## [0.10.0](https://github.com/rapidez/core/releases/tag/0.10.0) - 2021-09-01 - +- Fixed overwriting select (#62) + +## [0.10.0](https://github.com/rapidez/core/releases/tag/0.10.0) - 2021-09-01 + ### Added -- Widget replace option (9b986bc) - -## [0.9.3](https://github.com/rapidez/core/releases/tag/0.9.3) - 2021-09-01 - +- Widget replace option (9b986bc) + +## [0.9.3](https://github.com/rapidez/core/releases/tag/0.9.3) - 2021-09-01 + ### Changed -- Refresh cart totals when selecting a payment method (d4d8aaf, 8369ff0) - -## [0.9.2](https://github.com/rapidez/core/releases/tag/0.9.2) - 2021-08-31 - +- Refresh cart totals when selecting a payment method (d4d8aaf, 8369ff0) + +## [0.9.2](https://github.com/rapidez/core/releases/tag/0.9.2) - 2021-08-31 + ### Changed - Test against Magento 2.4.2-p2 and 2.4.3 (465d430) - Use title from options for the productlist widget (276d739, 2fd56eb) -- Use the button component for the slider buttons (9bb54e7) - -## [0.9.1](https://github.com/rapidez/core/releases/tag/0.9.1) - 2021-08-27 - +- Use the button component for the slider buttons (9bb54e7) + +## [0.9.1](https://github.com/rapidez/core/releases/tag/0.9.1) - 2021-08-27 + ### Fixed -- Productlist slider button position (48a3d15) - -## [0.9.0](https://github.com/rapidez/core/releases/tag/0.9.0) - 2021-08-27 - +- Productlist slider button position (48a3d15) + +## [0.9.0](https://github.com/rapidez/core/releases/tag/0.9.0) - 2021-08-27 + ### Added -- Productlist slider (96f3523, 8ea1d29) - -## [0.8.0](https://github.com/rapidez/core/releases/tag/0.8.0) - 2021-08-27 - +- Productlist slider (96f3523, 8ea1d29) + +## [0.8.0](https://github.com/rapidez/core/releases/tag/0.8.0) - 2021-08-27 + ### Added - Toggler component open prop (#59) @@ -2043,105 +2049,105 @@ In this release we refactored the cart from the Magento API to GraphQL! You shou ### Fixed - HasEventyGlobalScopeFilter trait boot method name (#61) -- Productlist widget bugfix (269d886) - -## [0.7.0](https://github.com/rapidez/core/releases/tag/0.7.0) - 2021-08-24 - +- Productlist widget bugfix (269d886) + +## [0.7.0](https://github.com/rapidez/core/releases/tag/0.7.0) - 2021-08-24 + ### Added - Configurable widgets (#57) -- Content directive (edbf945) - -## [0.6.1](https://github.com/rapidez/core/releases/tag/0.6.1) - 2021-08-17 - +- Content directive (edbf945) + +## [0.6.1](https://github.com/rapidez/core/releases/tag/0.6.1) - 2021-08-17 + ### Fixed -- Product image thumbnail styling (2a34c4c) - -## [0.6.0](https://github.com/rapidez/core/releases/tag/0.6.0) - 2021-08-17 - +- Product image thumbnail styling (2a34c4c) + +## [0.6.0](https://github.com/rapidez/core/releases/tag/0.6.0) - 2021-08-17 + ### Added -- Product images carousel (91e4997) - -## [0.5.0](https://github.com/rapidez/core/releases/tag/0.5.0) - 2021-08-13 - +- Product images carousel (91e4997) + +## [0.5.0](https://github.com/rapidez/core/releases/tag/0.5.0) - 2021-08-13 + ### Added -- Breadcrumbs on products by latest category (647334e) - -## [0.4.0](https://github.com/rapidez/core/releases/tag/0.4.0) - 2021-08-13 - +- Breadcrumbs on products by latest category (647334e) + +## [0.4.0](https://github.com/rapidez/core/releases/tag/0.4.0) - 2021-08-13 + ### Added - Breadcrumbs (5db2a36) ### Fixed -- Prevent Vue warning (eb19308) - -## [0.3.2](https://github.com/rapidez/core/releases/tag/0.3.2) - 2021-08-12 - +- Prevent Vue warning (eb19308) + +## [0.3.2](https://github.com/rapidez/core/releases/tag/0.3.2) - 2021-08-12 + ### Changed -- Overwritable default qty and use the qty_increments (7ac384c) - -## [0.3.1](https://github.com/rapidez/core/releases/tag/0.3.1) - 2021-08-12 - +- Overwritable default qty and use the qty_increments (7ac384c) + +## [0.3.1](https://github.com/rapidez/core/releases/tag/0.3.1) - 2021-08-12 + ### Changed - Possibility to use the refresh cart method without Vue (e37312e) -- Pass through the Axios response with the GraphQL Mutation callback (3564519) - -## [0.3.0](https://github.com/rapidez/core/releases/tag/0.3.0) - 2021-08-10 - +- Pass through the Axios response with the GraphQL Mutation callback (3564519) + +## [0.3.0](https://github.com/rapidez/core/releases/tag/0.3.0) - 2021-08-10 + ### Added -- Product quantity increments (cf21993) - -## [0.2.2](https://github.com/rapidez/core/releases/tag/0.2.2) - 2021-08-07 - +- Product quantity increments (cf21993) + +## [0.2.2](https://github.com/rapidez/core/releases/tag/0.2.2) - 2021-08-07 + ### Fixed -- Typo (1a4de04) - -## [0.2.1](https://github.com/rapidez/core/releases/tag/0.2.1) - 2021-08-07 - +- Typo (1a4de04) + +## [0.2.1](https://github.com/rapidez/core/releases/tag/0.2.1) - 2021-08-07 + ### Fixed -- Only show discount when it is not 0 (1621edb) - -## [0.2.0](https://github.com/rapidez/core/releases/tag/0.2.0) - 2021-08-03 - +- Only show discount when it is not 0 (1621edb) + +## [0.2.0](https://github.com/rapidez/core/releases/tag/0.2.0) - 2021-08-03 + ### Added -- Configurable models (#56) - -## [0.1.4](https://github.com/rapidez/core/releases/tag/0.1.4) - 2021-07-20 - +- Configurable models (#56) + +## [0.1.4](https://github.com/rapidez/core/releases/tag/0.1.4) - 2021-07-20 + ### Changed -- Dynamic IsActiveScope column (4e97b21) - -## [0.1.3](https://github.com/rapidez/core/releases/tag/0.1.3) - 2021-07-19 - +- Dynamic IsActiveScope column (4e97b21) + +## [0.1.3](https://github.com/rapidez/core/releases/tag/0.1.3) - 2021-07-19 + ### Changed - GraphQL mutation component callback prop (446d3c6) -- Possiblity to use some methods without Vue (51d6b6b) - -## [0.1.2](https://github.com/rapidez/core/releases/tag/0.1.2) - 2021-07-08 - -### Fixed - -- Image position fix (#52) - -## [0.1.1](https://github.com/rapidez/core/releases/tag/0.1.1) - 2021-07-07 - -### Added -- WebP images from rapidez/image-resizer with fallback (#51) - -## [0.1.0](https://github.com/rapidez/core/releases/tag/0.1.0) - 2021-06-23 - -Public beta release! - +- Possiblity to use some methods without Vue (51d6b6b) + +## [0.1.2](https://github.com/rapidez/core/releases/tag/0.1.2) - 2021-07-08 + +### Fixed + +- Image position fix (#52) + +## [0.1.1](https://github.com/rapidez/core/releases/tag/0.1.1) - 2021-07-07 + +### Added +- WebP images from rapidez/image-resizer with fallback (#51) + +## [0.1.0](https://github.com/rapidez/core/releases/tag/0.1.0) - 2021-06-23 + +Public beta release! + diff --git a/config/rapidez/attribute-models.php b/config/rapidez/attribute-models.php new file mode 100644 index 000000000..18c4e0252 --- /dev/null +++ b/config/rapidez/attribute-models.php @@ -0,0 +1,5 @@ + Rapidez\Core\Models\AttributeModels\ArrayBackend::class, +]; diff --git a/config/rapidez/magento-defaults.php b/config/rapidez/magento-defaults.php index b7843444c..a04a6935e 100644 --- a/config/rapidez/magento-defaults.php +++ b/config/rapidez/magento-defaults.php @@ -10,6 +10,9 @@ 'catalog/seo/category_url_suffix' => '.html', 'catalog/seo/product_url_suffix' => '.html', 'cataloginventory/item_options/backorders' => '0', + 'cataloginventory/item_options/min_sale_qty' => '1', + 'cataloginventory/item_options/max_sale_qty' => '10000', + 'cataloginventory/item_options/qty_increments' => '1', 'cataloginventory/options/show_out_of_stock' => '0', 'checkout/cart/redirect_to_cart' => '0', 'checkout/options/guest_checkout' => '1', diff --git a/config/rapidez/models.php b/config/rapidez/models.php index 864efc62c..f5b6aef1d 100644 --- a/config/rapidez/models.php +++ b/config/rapidez/models.php @@ -2,41 +2,54 @@ // The fully qualified class names of the models. return [ - 'page' => Rapidez\Core\Models\Page::class, 'attribute' => Rapidez\Core\Models\Attribute::class, - 'product' => Rapidez\Core\Models\Product::class, + 'attribute_option' => Rapidez\Core\Models\AttributeOption::class, + 'attribute_datetime' => Rapidez\Core\Models\AttributeDatetime::class, + 'attribute_decimal' => Rapidez\Core\Models\AttributeDecimal::class, + 'attribute_int' => Rapidez\Core\Models\AttributeInt::class, + 'attribute_text' => Rapidez\Core\Models\AttributeText::class, + 'attribute_varchar' => Rapidez\Core\Models\AttributeVarchar::class, + 'block' => Rapidez\Core\Models\Block::class, 'category' => Rapidez\Core\Models\Category::class, - 'customer_group' => Rapidez\Core\Models\CustomerGroup::class, 'category_product' => Rapidez\Core\Models\CategoryProduct::class, 'customer' => Rapidez\Core\Models\Customer::class, + 'customer_group' => Rapidez\Core\Models\CustomerGroup::class, 'config' => Rapidez\Core\Models\Config::class, 'oauth_token' => Rapidez\Core\Models\OauthToken::class, 'option_swatch' => Rapidez\Core\Models\OptionSwatch::class, 'option_value' => Rapidez\Core\Models\OptionValue::class, + 'page' => Rapidez\Core\Models\Page::class, + 'product' => Rapidez\Core\Models\Product::class, 'product_image' => Rapidez\Core\Models\ProductImage::class, 'product_image_value' => Rapidez\Core\Models\ProductImageValue::class, 'product_link' => Rapidez\Core\Models\ProductLink::class, - 'product_view' => Rapidez\Core\Models\ProductView::class, 'product_option' => Rapidez\Core\Models\ProductOption::class, - 'product_option_title' => Rapidez\Core\Models\ProductOptionTitle::class, 'product_option_price' => Rapidez\Core\Models\ProductOptionPrice::class, - 'product_option_type_title' => Rapidez\Core\Models\ProductOptionTypeTitle::class, + 'product_option_title' => Rapidez\Core\Models\ProductOptionTitle::class, 'product_option_type_price' => Rapidez\Core\Models\ProductOptionTypePrice::class, + 'product_option_type_title' => Rapidez\Core\Models\ProductOptionTypeTitle::class, 'product_option_type_value' => Rapidez\Core\Models\ProductOptionTypeValue::class, - 'product_review_summary' => Rapidez\Core\Models\ProductReviewSummary::class, - 'quote' => Rapidez\Core\Models\Quote::class, - 'quote_id_mask' => Rapidez\Core\Models\QuoteIdMask::class, - 'quote_item' => Rapidez\Core\Models\QuoteItem::class, - 'quote_item_option' => Rapidez\Core\Models\QuoteItemOption::class, - 'report_event' => Rapidez\Core\Models\ReportEvent::class, - 'rewrite' => Rapidez\Core\Models\Rewrite::class, - 'store' => Rapidez\Core\Models\Store::class, - 'widget' => Rapidez\Core\Models\Widget::class, - 'block' => Rapidez\Core\Models\Block::class, - 'sales_order' => Rapidez\Core\Models\SalesOrder::class, - 'sales_order_address' => Rapidez\Core\Models\SalesOrderAddress::class, - 'sales_order_item' => Rapidez\Core\Models\SalesOrderItem::class, - 'sales_order_payment' => Rapidez\Core\Models\SalesOrderPayment::class, - 'search_query' => Rapidez\Core\Models\SearchQuery::class, - 'search_synonym' => Rapidez\Core\Models\SearchSynonym::class, + 'product_price' => Rapidez\Core\Models\ProductPrice::class, + // TODO: the naming is mixed.. + 'product_review' => Rapidez\Core\Models\Review::class, + 'product_review_summary' => Rapidez\Core\Models\ProductReviewSummary::class, + 'product_stock' => Rapidez\Core\Models\ProductStock::class, + 'product_super_link' => Rapidez\Core\Models\ProductSuperLink::class, + 'product_tier_price' => Rapidez\Core\Models\ProductTierPrice::class, + 'product_view' => Rapidez\Core\Models\ProductView::class, + 'quote' => Rapidez\Core\Models\Quote::class, + 'quote_id_mask' => Rapidez\Core\Models\QuoteIdMask::class, + 'quote_item' => Rapidez\Core\Models\QuoteItem::class, + 'quote_item_option' => Rapidez\Core\Models\QuoteItemOption::class, + 'report_event' => Rapidez\Core\Models\ReportEvent::class, + 'rewrite' => Rapidez\Core\Models\Rewrite::class, + 'sales_order' => Rapidez\Core\Models\SalesOrder::class, + 'sales_order_address' => Rapidez\Core\Models\SalesOrderAddress::class, + 'sales_order_item' => Rapidez\Core\Models\SalesOrderItem::class, + 'sales_order_payment' => Rapidez\Core\Models\SalesOrderPayment::class, + 'search_query' => Rapidez\Core\Models\SearchQuery::class, + 'search_synonym' => Rapidez\Core\Models\SearchSynonym::class, + 'store' => Rapidez\Core\Models\Store::class, + 'super_attribute' => Rapidez\Core\Models\SuperAttribute::class, + 'widget' => Rapidez\Core\Models\Widget::class, ]; diff --git a/config/rapidez/searchkit.php b/config/rapidez/searchkit.php index 86fb61d1c..ff7910702 100644 --- a/config/rapidez/searchkit.php +++ b/config/rapidez/searchkit.php @@ -29,6 +29,7 @@ 'url', 'thumbnail', 'in_stock', + 'min_sale_qty', 'children', 'super_*', 'reviews_count', diff --git a/resources/js/components/Product/AddToCart.vue b/resources/js/components/Product/AddToCart.vue index 0324edfd6..ee292cf96 100644 --- a/resources/js/components/Product/AddToCart.vue +++ b/resources/js/components/Product/AddToCart.vue @@ -297,7 +297,7 @@ export default { // Options per super attribute that match the given named refinements return Object.fromEntries( Object.entries(this.product?.super_attributes || {}).map(([index, attribute]) => { - let attributeValues = values.find(([key, value]) => key === attribute.code)?.[1] || [] + let attributeValues = values.find(([key, value]) => key === attribute.attribute_code)?.[1] || [] if (!Array.isArray(attributeValues)) { attributeValues = [attributeValues] } @@ -339,7 +339,7 @@ export default { var simpleProducts = Object.values(product.children).filter((childProduct) => { let isMatching = true Object.entries(this.options).forEach(([attributeId, valueId]) => { - var attributeCode = product.super_attributes[attributeId].code + var attributeCode = product.super_attributes[attributeId].attribute_code if (Number(childProduct[attributeCode]) !== Number(valueId)) { isMatching = false @@ -377,7 +377,7 @@ export default { productUrl: function () { let namedOptions = Object.fromEntries( - Object.entries(this.options).map(([key, value]) => [this.product.super_attributes[key]?.code, value]), + Object.entries(this.options).map(([key, value]) => [this.product.super_attributes[key]?.attribute_code, value]), ) let params = new URLSearchParams(namedOptions) @@ -410,23 +410,23 @@ export default { } Object.entries(this.product.super_attributes).forEach(([attributeId, attribute]) => { - disabledOptions['super_' + attribute.code] = [] + disabledOptions['super_' + attribute.attribute_code] = [] valuesPerAttribute[attributeId] = {} // Fill list with products per attribute value Object.entries(this.product.children).forEach(([productId, option]) => { - if (!valuesPerAttribute[attributeId][option[attribute.code]]) { - valuesPerAttribute[attributeId][option[attribute.code]] = [] + if (!valuesPerAttribute[attributeId][option[attribute.attribute_code]]) { + valuesPerAttribute[attributeId][option[attribute.attribute_code]] = [] } if (!option.in_stock) { if (Object.keys(this.product.super_attributes).length === 1) { - disabledOptions['super_' + attribute.code].push(option[attribute.code]) + disabledOptions['super_' + attribute.attribute_code].push(option[attribute.attribute_code]) } return } - valuesPerAttribute[attributeId][option[attribute.code]].push(productId) + valuesPerAttribute[attributeId][option[attribute.attribute_code]].push(productId) }) }) @@ -437,7 +437,7 @@ export default { Object.entries(valuesPerAttribute).forEach(([attributeId2, productsPerValue2]) => { if (attributeId === attributeId2) return var selectedValueId = this.options[attributeId] - var attributeCode = this.product.super_attributes[attributeId2].code + var attributeCode = this.product.super_attributes[attributeId2].attribute_code Object.entries(productsPerValue2).forEach(([valueId, products]) => { // If there is no product that intersects for this attribute value @@ -465,10 +465,10 @@ export default { valuesPerAttribute[attributeId] = [] // Fill list with products per attribute value Object.entries(this.product.children).forEach(([productId, product]) => { - if (!product.in_stock || this.disabledOptions['super_' + attribute.code].includes(product.value)) { + if (!product.in_stock || this.disabledOptions['super_' + attribute.attribute_code].includes(product.value)) { return } - valuesPerAttribute[attributeId].push(product[attribute.code]) + valuesPerAttribute[attributeId].push(product[attribute.attribute_code]) }) }) return valuesPerAttribute diff --git a/resources/js/components/Product/Images.vue b/resources/js/components/Product/Images.vue index 3318c00aa..4594fb4ed 100644 --- a/resources/js/components/Product/Images.vue +++ b/resources/js/components/Product/Images.vue @@ -27,7 +27,9 @@ export default { Object.values(window.config.product.children).forEach((child) => { if ( child === simpleProduct && - Object.values(window.config.product.super_attributes).filter((attribute) => attribute.update_image).length + Object.values(window.config.product.super_attributes).filter( + (attribute) => attribute.additional_data.update_product_preview_image, + ).length ) { self.images = simpleProduct.images self.active = Math.min(self.active, self.images.length - 1) diff --git a/resources/views/components/highlight.blade.php b/resources/views/components/highlight.blade.php index cb7b9528e..343ede54d 100644 --- a/resources/views/components/highlight.blade.php +++ b/resources/views/components/highlight.blade.php @@ -6,6 +6,10 @@ 'attribute' => $attribute, 'highlighted-tag-name' => $highlightTag, ]) }}> + {{-- + TODO: This doesn't render the HTML correctly + See: /gear/fitness-equipment.html + --}} @else @endif diff --git a/resources/views/listing/partials/item/super-attributes.blade.php b/resources/views/listing/partials/item/super-attributes.blade.php index 923cd40c7..9a38acc52 100644 --- a/resources/views/listing/partials/item/super-attributes.blade.php +++ b/resources/views/listing/partials/item/super-attributes.blade.php @@ -1,8 +1,8 @@
-