Coder Social home page Coder Social logo

little_esty_shop_bulk_discounts's Introduction

little_esty_shop_bulk_discounts's People

Contributors

austinandrade avatar brianzanti avatar catherinemdean15 avatar isabellevillasenor avatar saundracatalina avatar scottalexandra avatar timomitchel avatar

little_esty_shop_bulk_discounts's Issues

Merchant Bulk Discount Show

  1. As a merchant
  2. When I visit my bulk discount show page
  3. Then I see the bulk discount's quantity threshold and percentage discount

Merchant Bulk Discounts Index

  1. As a merchant
  2. When I visit my merchant dashboard
  3. Then I see a link to view all my discounts
  4. When I click this link
  5. Then I am taken to my bulk discounts index page
  6. Where I see all of my bulk discounts including their
  7. percentage discount and quantity thresholds
  8. And each bulk discount listed includes a link to its show page

Merchant Bulk Discount Edit

  1. As a merchant
  2. When I visit my bulk discount show page
  3. Then I see a link to edit the bulk discount
  4. When I click this link
  5. Then I am taken to a new page with a form to edit the discount
  6. And I see that the discounts current attributes are pre-poluated in the form
  7. When I change any/all of the information and click submit
  8. Then I am redirected to the bulk discount's show page
  9. And I see that the discount's attributes have been updated

Merchant Bulk Discount Delete

  1. As a merchant
  2. When I visit my bulk discounts index
  3. Then next to each bulk discount I see a link to delete it
  4. When I click this link
  5. Then I am redirected back to the bulk discounts index page
  6. And I no longer see the discount listed

Optional: Create a Holiday Discount

  1. As a merchant,
  2. when I visit the discounts index page,
  3. In the Holiday Discounts section, I see a create discount button next to each of the 3 upcoming holidays.
  4. When I click on the button I am taken to a new discount form that has the form fields auto populated with the following:
  • Discount name: discount
  • Percentage Discount: 30
  • Quantity Threshold: 2
  1. I can leave the information as is, or modify it before saving.
  2. I should be redirected to the discounts index page where I see the newly created discount added to the list of discounts.

Merchant Bulk Discounts Index

  1. As a merchant
  2. When I visit the discounts index page
  3. I see a section with a header of "Upcoming Holidays"
  4. In this section the name and date of the next 3 upcoming US holidays are listed.

Optional: View a Holiday Discount

  1. As a merchant (if I have created a holiday discount for a specific holiday),
  2. when I visit the discount index page,
  3. within the Upcoming Holidays section I should not see the button to 'create a discount' next to that holiday,
  4. instead I should see a view discount link.
  5. When I click the link I am taken to the discount show page for that holiday discount.

Merchant Bulk Discount Create

  1. As a merchant
  2. When I visit my bulk discounts index
  3. Then I see a link to create a new discount
  4. When I click this link
  5. Then I am taken to a new page where I see a form to add a new bulk discount
  6. When I fill in the form with valid data
  7. Then I am redirected back to the bulk discount index
  8. And I see my new bulk discount listed

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.