GithubHelp home page GithubHelp logo

Comments (8)

asvishnyakov avatar asvishnyakov commented on May 29, 2024

@OlegoO @IgorisB It's not possible currently.

  • There is no auto-reorder interval per product. We can set interval only per subscription (i.e. for all products in the cart), but not per-product.
  • We can't create multiple subscriptions in checkout: subscription created from product cart and only one cart is available for user at one time.

from vc-theme-b2b.

OlegoO avatar OlegoO commented on May 29, 2024

@asvishnyakov In the user-story, we are focus on "should see".
For implementation, we can save auto-reorder interval into line-item as Dynamic-property and then use it on check-out page

from vc-theme-b2b.

asvishnyakov avatar asvishnyakov commented on May 29, 2024

@OlegoO And what will it give? You can't create multiple subscriptions - them creates from cart, and only one cart are available for you at one time.

from vc-theme-b2b.

Woland2k avatar Woland2k commented on May 29, 2024

@asvishnyakov why can't we create two subscriptions in the case, one per each product?

from vc-theme-b2b.

asvishnyakov avatar asvishnyakov commented on May 29, 2024

@Woland2k it's not possible technically. on storefront, subscription creates from cart, so you need multiple carts to create multiple subscriptions, but only one cart available for you at one time. Of course, we may call subscription module API from b2b module, but when we must implement in b2b module all logic related to adding products to cart, billing, shipping processes and other things what storefront do.

from vc-theme-b2b.

Woland2k avatar Woland2k commented on May 29, 2024

@asvishnyakov we can add extra handlers to when order is created in backend to create multiple subscriptions?

from vc-theme-b2b.

asvishnyakov avatar asvishnyakov commented on May 29, 2024

@Woland2k Currently - no. In theory, this is solution, but subscription module & storefront must be extended or even redesigned to allow this behavior. Currently, we can have creation of single subscription from single order from single cart. May be @tatarincev and @eMazeika may say something about this (they are creators of this module), but as I can see in code and in docs, single cart - single order - multiple subscriptions or single cart - multiple orders - multiple subscriptions scenarios is not allowed currently by subscriptions module and storefront.

from vc-theme-b2b.

tatarincev avatar tatarincev commented on May 29, 2024

This issue has been closed because it has been inactive for a long time
You may reopen this issue if it has been closed in error.

from vc-theme-b2b.

Related Issues (20)

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.