No announcement yet.

Decimals in the Quantity Field

  • Filter
  • Time
  • Show
Clear All
new posts

    Decimals in the Quantity Field

    We are a B2B company. Part of our customer's monthly subscription involves being billed for the support hours that they used. We bill in 15-minute increments and by the hour (for example, we might bill a customer for 11.25 hours at $160 per hour for a total of $1,800). Not having the ability to use decimals in the quantity field has caused us to have to create custom items each month for each customer in the catalog and hide them from all other customers - it takes a lot of time.

    We would also like to be able to move our project billing over to our Ecommerce store as well, but we will likely run into the same issue with not being able to use decimals in the quantity field.

    You could set your price based off the quantity of 1 equaling 15 minutes.

    1 15 Minutes
    2 30 Minutes
    3 45 Minutes
    4 60 Minutes
    So to get 1 hour the quantity would have to be 4.
    Nick Harkins
    *Web Developer
    *Google Analytics, Search Console, Tag Manager, Merchant Center, Ads


      Easier, IMO, would be to use a basket charge. This can be done via SMT Code using <mvt:do file="g.Module_Library_DB" name="l.success" value="BasketCharge_Insert(basketcharge var)" />.

      Make a Custom Customer field to store the value of the invoice. Once inserted into the basket, remove the custom field value so it only gets added once.
      Bruce Golub
      Phosphor Media - "Your Success is our Business"

      Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook