From 74416db9fb95759c0be71773c97630457c556d68 Mon Sep 17 00:00:00 2001 From: Jakub Macioszek Date: Thu, 19 Aug 2021 19:33:02 +0200 Subject: [PATCH 1/3] Update file headers --- spec/Finder/RelatedProductsByOrderHistoryFinderSpec.php | 9 ++++----- spec/Finder/RelatedProductsByTaxonsFinderSpec.php | 9 ++++----- spec/Finder/RelatedProductsCombinedFinderSpec.php | 9 ++++----- .../RelatedProductsPropertyBuilderSpec.php | 9 ++++----- .../RelatedProductsByOrderHistoryQueryBuilderSpec.php | 9 ++++----- spec/Repository/ProductRepositorySpec.php | 9 ++++----- .../Extension/RenderRelatedProductsExtensionSpec.php | 9 ++++----- src/BitBagSyliusCrossSellingPlugin.php | 9 ++++----- .../BitBagSyliusCrossSellingExtension.php | 6 ++++++ src/DependencyInjection/Configuration.php | 6 ++++++ src/Exception/ProductNotFoundException.php | 9 ++++----- src/Finder/AbstractRelatedProductsFinder.php | 9 ++++----- src/Finder/RelatedProductsByOrderHistoryFinder.php | 9 ++++----- src/Finder/RelatedProductsByTaxonsFinder.php | 9 ++++----- src/Finder/RelatedProductsCombinedFinder.php | 9 ++++----- src/Finder/RelatedProductsFinderInterface.php | 9 ++++----- src/PropertyBuilder/RelatedProductsPropertyBuilder.php | 9 ++++----- src/Query/RelatedProductsByOrderHistoryQueryBuilder.php | 9 ++++----- ...elatedProductsByOrderHistoryQueryBuilderInterface.php | 9 ++++----- src/Repository/ProductRepository.php | 9 ++++----- src/Repository/ProductRepositoryInterface.php | 9 ++++----- src/Twig/Extension/RenderRelatedProductsExtension.php | 9 ++++----- tests/Behat/Context/Hook/ElasticsearchContext.php | 9 ++++----- tests/Behat/Context/Setup/ElasticsearchContext.php | 9 ++++----- tests/Behat/Context/Setup/RelatedProductsContext.php | 9 ++++----- tests/Behat/Context/Ui/Shop/RelatedProductsContext.php | 9 ++++----- tests/Behat/Context/Ui/Shop/WelcomeContext.php | 6 ++++++ tests/Behat/Page/Shop/DynamicWelcomePage.php | 6 ++++++ tests/Behat/Page/Shop/Product/ShowPage.php | 9 ++++----- tests/Behat/Page/Shop/Product/ShowPageInterface.php | 9 ++++----- tests/Behat/Page/Shop/StaticWelcomePage.php | 6 ++++++ tests/Behat/Page/Shop/WelcomePageInterface.php | 6 ++++++ tests/Behat/Service/ElasticsearchCommands.php | 9 ++++----- tests/Unit/Finder/RelatedProductsByTaxonsFinderTest.php | 9 ++++----- .../RelatedProductsPropertyBuilderTest.php | 9 ++++----- 35 files changed, 152 insertions(+), 145 deletions(-) diff --git a/spec/Finder/RelatedProductsByOrderHistoryFinderSpec.php b/spec/Finder/RelatedProductsByOrderHistoryFinderSpec.php index e70a156..71efb4b 100644 --- a/spec/Finder/RelatedProductsByOrderHistoryFinderSpec.php +++ b/spec/Finder/RelatedProductsByOrderHistoryFinderSpec.php @@ -1,11 +1,10 @@ Date: Thu, 19 Aug 2021 19:36:35 +0200 Subject: [PATCH 2/3] Update README --- README.md | 109 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 61 insertions(+), 48 deletions(-) diff --git a/README.md b/README.md index d74c4e7..cd7772b 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,29 @@ -# [![](https://bitbag.io/wp-content/uploads/2021/06/CrossSelling.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=crossselling-plugin) +# [![](https://bitbag.io/wp-content/uploads/2021/06/CrossSelling.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) # BitBag SyliusCrossSellingPlugin ---- -[![](https://img.shields.io/packagist/l/bitbag/byrd-shipping-export-plugin.svg)](https://packagist.org/packages/bitbag/crossselling-plugin "License") -[![](https://img.shields.io/packagist/v/bitbag/crossselling-plugin.svg)](https://packagist.org/packages/bitbag/crossselling-plugin "Version") +[![](https://img.shields.io/packagist/l/bitbag/byrd-shipping-export-plugin.svg)](https://packagist.org/packages/bitbag/plugins_crossselling "License") +[![](https://img.shields.io/packagist/v/bitbag/plugins_crossselling.svg)](https://packagist.org/packages/bitbag/plugins_crossselling "Version") [![](https://img.shields.io/github/workflow/status/BitBagCommerce/SyliusCrossSellingPlugin/Build)](https://github.com/BitBagCommerce/SyliusCrossSellingPlugin/actions "Build status") -[![](https://poser.pugx.org/bitbag/crossselling-plugin/downloads)](https://packagist.org/packages/bitbag/crossselling-plugin "Total Downloads") +[![](https://poser.pugx.org/bitbag/plugins_crossselling/downloads)](https://packagist.org/packages/bitbag/plugins_crossselling "Total Downloads") [![Slack](https://img.shields.io/badge/community%20chat-slack-FF1493.svg)](http://sylius-devs.slack.com) -[![Support](https://img.shields.io/badge/support-contact%20author-blue])](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=crossselling-plugin) +[![Support](https://img.shields.io/badge/support-contact%20author-blue])](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) -At BitBag we do believe in open source. However, we are able to do it just because of our awesome clients, who are kind enough to share some parts of our work with the community. Therefore, if you feel like there is a possibility for us working together, feel free to reach us out. You will find out more about our professional services, technologies and contact details at [https://bitbag.io/](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling). +At BitBag we do believe in open source. However, we are able to do it just because of our awesome clients, who are kind enough to share some parts of our work with the community. Therefore, if you feel like there is a possibility for us to work together, feel free to reach out. You will find out more about our professional services, technologies, and contact details at [https://bitbag.io/](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling). + +Like what we do? Want to join us? Check out our job listings on our [career page](https://bitbag.io/career/?utm_source=github&utm_medium=referral&utm_campaign=career). Not familiar with Symfony & Sylius yet, but still want to start with us? Join our [academy](https://bitbag.io/pl/akademia?utm_source=github&utm_medium=url&utm_campaign=akademia)! ## Table of Content *** * [Overview](#overview) -* [Requirements](#requirements) * [Support](#we-are-here-to-help) * [About us](#about-us) * [Community](#community) -* [Demo](#demo) +* [Demo](#demo-sylius-shop) * [License](#license) * [Contact](#contact) @@ -36,72 +37,84 @@ For more details about the algorithm check [Usage](doc/usage.md). - [Testing](doc/testing.md) - [Usage](doc/usage.md) -## Requirements -| Package | Version | -|---------------|---------------------| -| PHP | \>= 7.3 | -| Elasticsearch | \^5.3.x | ^6.x | - ## We are here to help -This **open-source plugin was developed to help the Sylius community**. If you have any additional questions, would like help with installing or configuring the plugin or need any assistance with your Sylius project - let us know! +This **open-source plugin was developed to help the Sylius community**. If you have any additional questions, would like help with installing or configuring the plugin, or need any assistance with your Sylius project - let us know! [![](https://bitbag.io/wp-content/uploads/2020/10/button-contact.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) +# About us -## Contribution +--- -Learn more about our contribution workflow on http://docs.sylius.org/en/latest/contributing/. +BitBag is a company of people who **love what they do** and do it right. We fulfill the eCommerce technology stack with **Sylius**, Shopware, Akeneo, and Pimcore for PIM, eZ Platform for CMS, and VueStorefront for PWA. Our goal is to provide real digital transformation with an agile solution that scales with the **clients’ needs**. Our main area of expertise includes eCommerce consulting and development for B2C, B2B, and Multi-vendor Marketplaces.
+We are advisers in the first place. We start each project with a diagnosis of problems, and an analysis of the needs and **goals** that the client wants to achieve.
+We build **unforgettable**, consistent digital customer journeys on top of the **best technologies**. Based on a detailed analysis of the goals and needs of a given organization, we create dedicated systems and applications that let businesses grow.
+Our team is fluent in **Polish, English, German and, French**. That is why our cooperation with clients from all over the world is smooth. -# About us +**Some numbers from BitBag regarding Sylius:** +- 50+ **experts** including consultants, UI/UX designers, Sylius trained front-end and back-end developers, +- 120+ projects **delivered** on top of Sylius, +- 25+ **countries** of BitBag’s customers, +- 4+ **years** in the Sylius ecosystem. ---- +**Our services:** +- Business audit/Consulting in the field of **strategy** development, +- Data/shop **migration**, +- Headless **eCommerce**, +- Personalized **software** development, +- **Project** maintenance and long term support, +- Technical **support**. -BitBag is an agency that provides high-quality **eCommerce and Digital Experience software**. Our main area of expertise includes eCommerce consulting and development for B2C, B2B, and Multi-vendor Marketplaces. -The scope of our services related to Sylius includes: -- **Consulting** in the field of strategy development -- Personalized **headless software development** -- **System maintenance and long-term support** -- **Outsourcing** -- **Plugin development** -- **Data migration** - -Some numbers regarding Sylius: -* **20+ experts** including consultants, UI/UX designers, Sylius trained front-end and back-end developers, -* **100+ projects** delivered on top of Sylius, -* Clients from **20+ countries** -* **3+ years** in the Sylius ecosystem. +**Key clients:** Mollie, Guave, P24, Folkstar, i-LUNCH, Elvi Project, WestCoast Gifts. --- -If you need some help with Sylius development, don't be hesitate to contact us directly. You can fill the form on [this site](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) or send us an e-mail to hello@bitbag.io! +If you need some help with Sylius development, don't be hesitated to contact us directly. You can fill the form on [this site](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) or send us an e-mail at hello@bitbag.io! --- -[![](https://bitbag.io/wp-content/uploads/2020/10/badges-sylius.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) +[![](https://bitbag.io/wp-content/uploads/2021/08/sylius-badges-transparent-wide.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) + ## Community ---- For online communication, we invite you to chat with us & other users on [Sylius Slack](https://sylius-devs.slack.com/). -# Demo +# Demo Sylius Shop --- -We created a demo app with some useful use-cases of the plugin! Visit [demo.bitbag.shop](https://demo.bitbag.shop) to take a look at it. -The admin can be accessed under [demo.bitbag.shop/admin](https://demo.bitbag.shop/admin) link and `sylius: sylius` credentials. +We created a demo app with some useful use-cases of plugins! +Visit [sylius-demo.bitbag.io](https://sylius-demo.bitbag.io/) to take a look at it. The admin can be accessed under +[sylius-demo.bitbag.io/admin/login](https://sylius-demo.bitbag.io/admin/login) link and `bitbag: bitbag` credentials. +Plugins that we have used in the demo: + +| BitBag's Plugin | GitHub | Sylius' Store| +| ------ | ------ | ------| +| ACL Plugin | *Private. Available after the purchasing.*| https://plugins.sylius.com/plugin/access-control-layer-plugin/| +| Braintree Plugin | https://github.com/BitBagCommerce/SyliusBraintreePlugin |https://plugins.sylius.com/plugin/braintree-plugin/| +| CMS Plugin | https://github.com/BitBagCommerce/SyliusCmsPlugin | https://plugins.sylius.com/plugin/cmsplugin/| +| Elasticsearch Plugin | https://github.com/BitBagCommerce/SyliusElasticsearchPlugin | https://plugins.sylius.com/plugin/2004/| +| Mailchimp Plugin | https://github.com/BitBagCommerce/SyliusMailChimpPlugin | https://plugins.sylius.com/plugin/mailchimp/ | +| Multisafepay Plugin | https://github.com/BitBagCommerce/SyliusMultiSafepayPlugin | +| Wishlist Plugin | https://github.com/BitBagCommerce/SyliusWishlistPlugin | https://plugins.sylius.com/plugin/wishlist-plugin/| +| **Sylius' Plugin** | **GitHub** | **Sylius' Store** | +| Admin Order Creation Plugin | https://github.com/Sylius/AdminOrderCreationPlugin | https://plugins.sylius.com/plugin/admin-order-creation-plugin/ | +| Invoicing Plugin | https://github.com/Sylius/InvoicingPlugin | https://plugins.sylius.com/plugin/invoicing-plugin/ | +| Refund Plugin | https://github.com/Sylius/RefundPlugin | https://plugins.sylius.com/plugin/refund-plugin/ | + +**If you need an overview of Sylius' capabilities, schedule a consultation with our expert.** -We also recorded a webinar which presents most of the plugin features, including how they have been implemented and specific use-cases. - -
- -[![Webinar](https://img.youtube.com/vi/Nk8fKA48t_Y/0.jpg)](https://www.youtube.com/watch?v=Nk8fKA48t_Y) - -
+[![](https://bitbag.io/wp-content/uploads/2020/10/button_free_consulatation-1.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) -**If you need an overview of this plugin, schedule a consultation with our expert.** +## Additional resources for developers -[![](https://bitbag.io/wp-content/uploads/2020/10/button_free_consulatation-1.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) +--- +To learn more about our contribution workflow and more, we encourage you to use the following resources: +* [Sylius Documentation](https://docs.sylius.com/en/latest/) +* [Sylius Contribution Guide](https://docs.sylius.com/en/latest/contributing/) +* [Sylius Online Course](https://sylius.com/online-course/) ## License @@ -116,4 +129,4 @@ This plugin's source code is completely free and released under the terms of the --- If you want to contact us, the best way is to fill the form on [our website](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) or send us an e-mail to hello@bitbag.io with your question(s). We guarantee that we answer as soon as we can! -[![](https://bitbag.io/wp-content/uploads/2020/10/footer.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) +[![](https://bitbag.io/wp-content/uploads/2021/08/badges-bitbag.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) From efe34f81e084b039f028d01e4e694a879a095f00 Mon Sep 17 00:00:00 2001 From: Jakub Macioszek Date: Thu, 19 Aug 2021 20:00:24 +0200 Subject: [PATCH 3/3] Update UTM's --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index cd7772b..c512db5 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ -# [![](https://bitbag.io/wp-content/uploads/2021/06/CrossSelling.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) +# [![](https://bitbag.io/wp-content/uploads/2021/06/CrossSelling.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cross-selling) # BitBag SyliusCrossSellingPlugin ---- -[![](https://img.shields.io/packagist/l/bitbag/byrd-shipping-export-plugin.svg)](https://packagist.org/packages/bitbag/plugins_crossselling "License") -[![](https://img.shields.io/packagist/v/bitbag/plugins_crossselling.svg)](https://packagist.org/packages/bitbag/plugins_crossselling "Version") +[![](https://img.shields.io/packagist/l/bitbag/byrd-shipping-export-plugin.svg)](https://packagist.org/packages/bitbag/plugins_cross-selling "License") +[![](https://img.shields.io/packagist/v/bitbag/plugins_cross-selling.svg)](https://packagist.org/packages/bitbag/plugins_cross-selling "Version") [![](https://img.shields.io/github/workflow/status/BitBagCommerce/SyliusCrossSellingPlugin/Build)](https://github.com/BitBagCommerce/SyliusCrossSellingPlugin/actions "Build status") -[![](https://poser.pugx.org/bitbag/plugins_crossselling/downloads)](https://packagist.org/packages/bitbag/plugins_crossselling "Total Downloads") +[![](https://poser.pugx.org/bitbag/plugins_cross-selling/downloads)](https://packagist.org/packages/bitbag/plugins_cross-selling "Total Downloads") [![Slack](https://img.shields.io/badge/community%20chat-slack-FF1493.svg)](http://sylius-devs.slack.com) -[![Support](https://img.shields.io/badge/support-contact%20author-blue])](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) +[![Support](https://img.shields.io/badge/support-contact%20author-blue])](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cross-selling) -At BitBag we do believe in open source. However, we are able to do it just because of our awesome clients, who are kind enough to share some parts of our work with the community. Therefore, if you feel like there is a possibility for us to work together, feel free to reach out. You will find out more about our professional services, technologies, and contact details at [https://bitbag.io/](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling). +At BitBag we do believe in open source. However, we are able to do it just because of our awesome clients, who are kind enough to share some parts of our work with the community. Therefore, if you feel like there is a possibility for us to work together, feel free to reach out. You will find out more about our professional services, technologies, and contact details at [https://bitbag.io/](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cross-selling). Like what we do? Want to join us? Check out our job listings on our [career page](https://bitbag.io/career/?utm_source=github&utm_medium=referral&utm_campaign=career). Not familiar with Symfony & Sylius yet, but still want to start with us? Join our [academy](https://bitbag.io/pl/akademia?utm_source=github&utm_medium=url&utm_campaign=akademia)! @@ -40,7 +40,7 @@ For more details about the algorithm check [Usage](doc/usage.md). ## We are here to help This **open-source plugin was developed to help the Sylius community**. If you have any additional questions, would like help with installing or configuring the plugin, or need any assistance with your Sylius project - let us know! -[![](https://bitbag.io/wp-content/uploads/2020/10/button-contact.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) +[![](https://bitbag.io/wp-content/uploads/2020/10/button-contact.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cross-selling) # About us @@ -69,11 +69,11 @@ Our team is fluent in **Polish, English, German and, French**. That is why our c --- -If you need some help with Sylius development, don't be hesitated to contact us directly. You can fill the form on [this site](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) or send us an e-mail at hello@bitbag.io! +If you need some help with Sylius development, don't be hesitated to contact us directly. You can fill the form on [this site](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cross-selling) or send us an e-mail at hello@bitbag.io! --- -[![](https://bitbag.io/wp-content/uploads/2021/08/sylius-badges-transparent-wide.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) +[![](https://bitbag.io/wp-content/uploads/2021/08/sylius-badges-transparent-wide.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cross-selling) ## Community @@ -106,7 +106,7 @@ Plugins that we have used in the demo: **If you need an overview of Sylius' capabilities, schedule a consultation with our expert.** -[![](https://bitbag.io/wp-content/uploads/2020/10/button_free_consulatation-1.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) +[![](https://bitbag.io/wp-content/uploads/2020/10/button_free_consulatation-1.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cross-selling) ## Additional resources for developers @@ -127,6 +127,6 @@ This plugin's source code is completely free and released under the terms of the ## Contact --- -If you want to contact us, the best way is to fill the form on [our website](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) or send us an e-mail to hello@bitbag.io with your question(s). We guarantee that we answer as soon as we can! +If you want to contact us, the best way is to fill the form on [our website](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cross-selling) or send us an e-mail to hello@bitbag.io with your question(s). We guarantee that we answer as soon as we can! -[![](https://bitbag.io/wp-content/uploads/2021/08/badges-bitbag.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_crossselling) +[![](https://bitbag.io/wp-content/uploads/2021/08/badges-bitbag.png)](https://bitbag.io/contact-us/?utm_source=github&utm_medium=referral&utm_campaign=plugins_cross-selling)