Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Price Calculator

Featured Replies

I need to build an automatic price calculator for my T-Shirt printing company where the user enters some key info and it spits out an exact price per shirt. Where do I even start with this one?

1. User chooses a shirt from a pull down. Shirts are a set price, this should be simple.

2. User chooses number of colors for the front, back, sleeve, etc... Number of colors effects the run price. (2 colors is less than 5 for example) each color requires one screen. ( 2 color front and 2 color back = 4 Screens X 12.50ea flat fee in attition to the run price)

3. User enters number of shirts to be printed. The more shirts printed the lower the price per print. 2 colors printed on 20 shirts is more expensive than 2 colors printed on 100 shirts.

Any help is welcome! :)

I settled a similiar, though much more complex, problem by use of a script. This can be attached to a button that the user has to press to get their final price.

Another advantage of using a script is that you can check the customers entries are valid before you do your calcs.

HTH

Phil

Define a price table with a record for each price level and its minimum amount. Then lookup the unit price from there, using 'lookup next lower'.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.