Jump to content
junior_pat

Round billing

Recommended Posts

Posted (edited)

Hello,
I want to make a 10% discount on products for a specified period. The problem is that in my billing it is 36 or 38 cents. How can this increase or decrease automatically depending on the amount?

When I go under inventory, I have a window that puts me selected but do not know what it is. Thank you to enlighten me.

Looking forward to hearing from you receive my best regards.

Capture d’écran 2019-03-04 à 20.34.03.png

Edited by junior_pat

Share this post


Link to post
Share on other sites

The field that is indicated above is a selctor for what tax you wish/need to apply. The text entry box is not calculated from anywhere. This tax value requires you to enter the correct amount.

Currently, there is no feature to have a coupon/discount start at a specified time. There is a setting to have a coupon/discount stop at a specified time.

The discount amount can be either a fixed price, or a percentage.

Share this post


Link to post
Share on other sites

With some code editing, a 0.34 or 0.38 can be run through a PHP math function to round it to 0.3 or 0.4 - what exactly do you want the result to be?

Share this post


Link to post
Share on other sites

I wish that 0. 03 it marks me 0. 05 (15. 03-> 15. 05); until 0. 02 it sets 0. 00 (13. 02-> 13.00); until 0. 07 it gives me 0. 05 and 0. 08 that enlarged to the higher number (0. 1)

What should I put as code and in which file?

Thank you for your help

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...