{"id":17733272,"date":"2024-05-04T23:39:04","date_gmt":"2024-05-04T23:39:04","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/help-with-a-calculation-for-increasing-volume-discount\/"},"modified":"2024-05-04T23:39:04","modified_gmt":"2024-05-04T23:39:04","slug":"help-with-a-calculation-for-increasing-volume-discount","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/help-with-a-calculation-for-increasing-volume-discount\/","title":{"rendered":"Help With A Calculation For Increasing Volume Discount."},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I am selling an item that costs $6.50\/unit. I&#8217;m using a slider with a maximum or 6 units. There is a $0.50 discount PER UNIT for each incremental increase in units purchased. So,1 unit = $6.50, 2 units = $12.00, 3 units = $16.50, 4 units = $20.00, 5 units = $22.50, and 6 units = 24.00<br \/><br \/>I&#8217;m not great at math like this, so I asked CoPilot. CoPilot gave me the following formula: <br \/>T(n)=n\u00d7(6.50\u2212(n\u22121)\u00d70.50)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let ( n ) be the number of units purchased. The initial cost of one unit is $6.50. For each additional unit, the cost decreases by $0.50. So, the cost for each unit when ( n ) units are purchased is ( 6.50 &#8211; (n &#8211; 1) \\times 0.50 ).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The total cost ( T ) for ( n ) units is the cost per unit times the number of units.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I do not know how to make that work with the calculations for this plugin. If someone could help, I would be so grateful.<\/p>\n","protected":false},"template":"","class_list":["post-17733272","topic","type-topic","status-publish","hentry","topic-tag-calculation","topic-tag-discount","topic-tag-formula","topic-tag-math"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17733272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/17733272\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=17733272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}