Git Product home page Git Product logo

syliusbonuspointsplugin's Introduction

BitBag SyliusBonusPointsPlugin


Slack Support

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/.

Like what we do? Want to join us? Check out our job listings on our career page. Not familiar with Symfony & Sylius yet, but still want to start with us? Join our academy!

Table of Content


Overview

This plugin allows you to create rules for assigning bonus points to users.
Users can exchange them for discounts(1 bonus point = 1 currency discount) when creating an order.

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!

Read more about Sylius CMS

Screenshots

Screenshot showing menu where bonus points rules are managed

Screenshot showing example of bonus points rule

Screenshot showing customer view after discounting an order

Screenshot showing order shipped for free

About us


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.

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.

Key clients: Mollie, Guave, P24, Folkstar, i-LUNCH, Elvi Project, WestCoast Gifts.


If you need some help with Sylius development, don't be hesitated to contact us directly. You can fill the form on this site or send us an e-mail at [email protected]!


Community


For online communication, we invite you to chat with us & other users on Sylius Slack.

Demo Sylius Shop


We created a demo app with some useful use-cases of plugins! Visit sylius-demo.bitbag.io to take a look at it. The admin can be accessed under 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.

Additional resources for developers


To learn more about our contribution workflow and more, we encourage you to use the following resources:

License


This plugin's source code is completely free and released under the terms of the MIT license.

Contact


If you want to contact us, the best way is to fill the form on our website or send us an e-mail to [email protected] with your question(s). We guarantee that we answer as soon as we can!

syliusbonuspointsplugin's People

Contributors

bartektw avatar christopherhero avatar daniel8702 avatar gabriela-lubkowska avatar gracjanjozefczyk avatar jakubtobiasz avatar krisflorq avatar leszczuu avatar liszkapawel avatar macbalc avatar patrick477 avatar senghe avatar snowbaha avatar tbuczen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

syliusbonuspointsplugin's Issues

Next release

When do you plan to do a new release to add latest changes to the master (and new version tag)?

Bonus points calculation is off in BitBag\SyliusBonusPointsPlugin\Resolver\BonusPointsResolver

Hello,

First of all I wanted to thank you for your very useful bundle. However, I have spotted what seems to be a mistake in the calculation of bonus points (method resolveBonusPoints in BitBag\SyliusBonusPointsPlugin\Resolver\BonusPointsResolver).
This method basically adds up all the non-expired customer bonus points, then deduces used bonus points and returns the result. The calculation does a general balance between available points and used points when it should take into account that available points evolve over time. Here is an example:

Capture d’écran 2020-06-18 à 16 34 50

  • First order: January 1st, 8 points expiring April 2nd.
  • Second order: April 1st, 8 points expiring July 1st.
  • Thirst order: April 1st, -8 points.
  • Fourth order: June 1st, 4 points expiring December 18th.

When I do the balance on June 18th I get:

Capture d’écran 2020-06-18 à 16 51 31

I have 4 points instead of 12 because the calculation discarded the 8 points now expired and normally used with the client's third order.

Furthermore, I see another problem as time goes on: More points (used or not) will go expired making the pool of used bonus points bigger and bigger while the pool of bonus points will decrease, making the ability of a customer to generate bonus points harder and harder as time passes.

To correct this, the calculation should go through the customer bonus points history and for each event (addition or subtraction of points) check available points at the time and subtract, if necessary, first from the most ancients valid points.

Including bonus points / discount amount to product page & cart

We would like to set up the following situations. We want to ...

  • show visitors the number of bonus points the visitor would collect if the product would be purchased. Same for the discount. How much discount would the visitor get, after buying the product.

  • show visitor the number of bonus points one collects if the total cart would be purchased and the total discount the visitor is entitled to, after completing the purchase. 

  • show to a signed in user - in their account - the total number of collected bonus points and to which discount amount this entitles to. 

Can you please help / suggest if there are any predefined parameters we can use? If not, can you make suggestions how we can make this work?

The entity-class BitBag\SyliusBonusPointsPlugin\Entity\BonusPointsStrategyRule mapping is invalid

Hello,

Thank you for your work on this plugin.
We installed it on our Sylius project, but when we want to validate the mapping using the bin/console doctrine:schema:validate command we have the following issue that we can't understand :

Mapping
-------

 [FAIL] The entity-class BitBag\SyliusBonusPointsPlugin\Entity\BonusPointsStrategyRule mapping is invalid:
 * The association BitBag\SyliusBonusPointsPlugin\Entity\BonusPointsStrategyRule#bonusPointsStrategy refers to the inverse side field BitBag\SyliusBonusPointsPlugin\Entity\BonusPointsStrategy#rules which does not exist.

Is there something we have to configure or implement somewhere to avoid this issue ?

Sylius 1.12 ?

Do you plan to make the plugin available for Sylius 1.12?

Thank you

conflict with api-platform/core 2.6

Hello,

I saw there is a conflict with "api-platform/core" 2.6 and it's now the version of the current sylius 2.10.

What is the issue? Will you do something ? If yes, When do you plan to adapt it?

Thank you :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.