Giter Site home page Giter Site logo

Comments (3)

perrytew avatar perrytew commented on September 22, 2024

'sup Dan.

So, if I understand the issues:

  1. You can add and purchase inactive items using the REST API?? That's not good.
  2. You'd like an inactive flag on the Item object?

Have I captured the issues?

from responsive_checkout.

WriterDanGaidin avatar WriterDanGaidin commented on September 22, 2024
  1. Bingo. Yeah, I didn't think it was all that great of a situation either. :)
  2. That or have this situation not be possible by removing "inactive" items from the list of those added to a cart before I ever see them. I don't know how difficult something like filtering "inactive" items from the cart object prior to responding to a REST call would be for you guys to implement. It seems to me like this would be the most appropriate way to do it, but having a flag on the Item object would absolutely fix the issue for the forseeable future. I'm good with whatever's best for you guys.

Thanks, Perry.

from responsive_checkout.

perrytew avatar perrytew commented on September 22, 2024

We've patched the back end to disallow inactive items now and show the inactive flag on the item.
Closing this issue.

from responsive_checkout.

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.