Topic-icon VM2Sellscount modification

More
13 Feb 2014 17:32 #21468 by nordmograph
Replied by nordmograph on topic VM2Sellscount modification
OK I get it so it must show

total sales * (20% of the product price) + sum of all donations for this product.

Which means the shop is donating 20% and customers donate what they want.

Is that it ?

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

  • calavaro
  • calavaro's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
14 Feb 2014 01:01 - 14 Feb 2014 01:04 #21479 by calavaro
Replied by calavaro on topic VM2Sellscount modification
Yes, that is it!

Double double confirm with several examples...
Example 1
T-Shirt Price: US$ 30
Voluntary donation: US$ 5
Output: (30*0.2)+5 = 11

Example 2
T-Shirt Price: US$ 30
Voluntary donation: US$ 7
Output: (30*0.2)+7 = 13

Example 3
T-Shirt Price: US$ 30
Voluntary donation: US$ 0
Output: (30*0.2)+0 = 6

Example 4
T-Shirt Price: US$ 30
Voluntary donation: US$ 1000
Output: (30*0.2)+1000 = 1006

The output for "Donated so far:" should be a running total
After Example 1: "Donated so far: US$ 11"
After Example 2: "Donated so far: US$ 24"
After Example 3: "Donated so far: US$ 30"
After Example 4: "Donated so far: US$ 1036"

:)
Last edit: 14 Feb 2014 01:04 by calavaro.

Please Log in or Create an account to join the conversation.

More
14 Feb 2014 01:06 - 14 Feb 2014 01:08 #21480 by nordmograph
Replied by nordmograph on topic VM2Sellscount modification
Not yet ... :)
When I said:
total sales * (20% of the product price) + sum of all donations for this product.
I was wrong right ?
Site gives 20% only once (not on every sales) right?

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
Last edit: 14 Feb 2014 01:08 by nordmograph.

Please Log in or Create an account to join the conversation.

  • calavaro
  • calavaro's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
14 Feb 2014 01:44 #21481 by calavaro
Replied by calavaro on topic VM2Sellscount modification
The site gives 20% donation for every 1 item sold.

Lets assume 10 sales, and price is US$ 30 per sale.
That means the site is giving 10*30*20% = US$ 60 in total.
Then add any voluntary donations on top of that (example 3 voluntary donations of 5, 10 and 15).
The total donated is US$ 60+5+10+15 = US$ 90

Please Log in or Create an account to join the conversation.

More
14 Feb 2014 08:47 #21484 by nordmograph
Replied by nordmograph on topic VM2Sellscount modification
Ok so I was right. let's go.

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

Please Log in or Create an account to join the conversation.

  • calavaro
  • calavaro's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
14 Feb 2014 10:45 #21489 by calavaro
Replied by calavaro on topic VM2Sellscount modification
Please let me know if there is anything else you need from me and the estimated time of delivery. Thank you!

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.
Copyright © 2021 Nordmograph - Joomla extensions. All Rights Reserved.
Joomla! is Free Software released under the GNU General Public License.
Browser of the future