Jump to content

Show product quantity only if have less than x amount


alfredadler

Recommended Posts

  • 2 weeks later...

Attached you can find my solution, which I used for updating the stock quantities for my combinations using jQuery.
You can adjust the logic and styling to show different styling based on the amount via conditional logic.
Reason I did it through Jquery is because I wanted it to be automatically updated whenever a new combination was selected. (Listening to browser event)

Most likely with simpler solutions like above you'll have a working solution.
When we looking for a solution similar to mine JavaScript is needed I think

HOW TO update stock quantity based on combination.docx

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...