What a nice mod!
I was wondering if there is a quick way to make the fee be based upon quantity as opposed to cost?
For example: 1 item in cart = $1.50 fee..2 items in cart = $2.00 fee... 3-4 items in cart = $2.50 fee..5-6 items in cart = $3.00 fee...7-12 items in cart = $5.00 fee.
If not does anyone know of a mod that makes this possible? Thanks in advance!
-Jared
I was wondering if there is a quick way to make the fee be based upon quantity as opposed to cost?
For example: 1 item in cart = $1.50 fee..2 items in cart = $2.00 fee... 3-4 items in cart = $2.50 fee..5-6 items in cart = $3.00 fee...7-12 items in cart = $5.00 fee.
If not does anyone know of a mod that makes this possible? Thanks in advance!
-Jared
I am using a coupon on a transaction and unfortunately it appears that the handling fee is based on the sub-total amount before the coupon is applied. When I tried changing the sort order nothing really changed, still got a $45 transaction with a $45 discount and a $2.50 handling fee.
Wasn't sure whether to open this is a new thread or not, buit it relates to the MOD.
I've installed the module, and got the percentage working. However it appears to calculate the percentage based on the sub-total and not on the total.
Is there any way to have the percentage calculated on the total price including the taxes? Fortunately shipping isn't an issue as its for a wholesaler/franchise and the items will be collected.
I've installed the module, and got the percentage working. However it appears to calculate the percentage based on the sub-total and not on the total.
Is there any way to have the percentage calculated on the total price including the taxes? Fortunately shipping isn't an issue as its for a wholesaler/franchise and the items will be collected.
Dark Flare Design :: http://www.darkflaredesign.co.uk :: Web, Print and Logo Design, Ayr
I hope you realize that it is not physically possible to continue performing calculations once the total has been determined. What you need to do is to put your "Order Totals" fields in the order required to satisfy both your business and government requirements, making sure that "Total" is ALWAYS the very last item in the sort order.iain_darkflare wrote:I've installed the module, and got the percentage working. However it appears to calculate the percentage based on the sub-total and not on the total.
Is there any way to have the percentage calculated on the total price including the taxes? Fortunately shipping isn't an issue as its for a wholesaler/franchise and the items will be collected.
Please use proper English at all times, so that all members may understand you.
Yeah I realise that the "Total" is always the last item. Apologies if I didn't word my original post to clarify what I was looking to do. I'm well aware that you can change the order in which the "Order Total" fields are displayed, but that makes no difference to the way they are calculated.
My client just wanted me to see if there was a way to calculate the Handling Fee based on the price including VAT, not excluding VAT, which is how it defaults.
The only way to do this that I can figure, would be to enter the product prices including VAT, but that isn't viable either, as the VAT has to be displayed separately.
I've explained that normally handling fees are based on the base price and usually not applicable on taxes etc, but that doesn't seem to be the way my client works. Anyway it seems they have decided that they will just bill their franchisees separately for their handling fees manually after the transaction is complete.
My client just wanted me to see if there was a way to calculate the Handling Fee based on the price including VAT, not excluding VAT, which is how it defaults.
The only way to do this that I can figure, would be to enter the product prices including VAT, but that isn't viable either, as the VAT has to be displayed separately.
I've explained that normally handling fees are based on the base price and usually not applicable on taxes etc, but that doesn't seem to be the way my client works. Anyway it seems they have decided that they will just bill their franchisees separately for their handling fees manually after the transaction is complete.
Dark Flare Design :: http://www.darkflaredesign.co.uk :: Web, Print and Logo Design, Ayr
I apologize for replying before I had thoroughly digested what you wrote.iain_darkflare wrote:I'm well aware that you can change the order in which the "Order Total" fields are displayed, but that makes no difference to the way they are calculated.
You are absolutely right. I had forgotten that taxes are or are not added to shipping charges based upon a Tax Class selection box in the shipping module, just as it is within a product. I also reread your original post, and some more confusing elements emerged.
I understand that this is for your client and not you directly, so you may not be privy to the legalities involved, but it seems odd for a wholesaler to be collecting tax on behalf of a retailer. How does the wholesaler know the retail price at which this reseller will sell the goods in order to collect tax based upon that retail amount instead of upon the wholesale price the store sells at? And how do you get OpenCart to calculate tax on that retail price instead of the wholesale price and to keep track of which tax authority should ultimately receive how much remittance based upon the tax jurisdiction of each ultimate retail sale? That seems like a tremendous amount of modification to OC. I can only imagine that the volume is large enough to make it worthwhile to do this extra programming and bookkeeping in order to remain legal. Which is why I imagine that this handling charge is a pretty large percentage.
In light of this, about the only thing I can think of is that you gross up the handling fee by the average percentage of retail tax applied to all orders, as compared with the average wholesale sales price of goods. If you had intended to charge 5% handling fee and the average margin across a broad sampling of orders is 50% and the average retail tax rate across a broad sampling of orders is 10%, then you would charge 5% + 0.75% = 5.75% (5% + 150% * 10% * 5%) handling fee instead. Since you had already performed the necessary tax rate and retail margin lookups when calculating the tax, it should be easy enough to just grab the actual tax amount for this purpose, and add it directly to your base handling charge.
This does not address the fact that your handling fees are most likely taxable in themselves, but there is really no way to properly handle what would essentially become a circular calculation.
Please use proper English at all times, so that all members may understand you.
Jared, did you ever find a solution to this?jtech wrote:What a nice mod!
I was wondering if there is a quick way to make the fee be based upon quantity as opposed to cost?
For example: 1 item in cart = $1.50 fee..2 items in cart = $2.00 fee... 3-4 items in cart = $2.50 fee..5-6 items in cart = $3.00 fee...7-12 items in cart = $5.00 fee.
If not does anyone know of a mod that makes this possible? Thanks in advance!
-Jared
I'm certain the 1531 is ONLY an xml file. What files do I overwrite? What do I put in the 'Order Total' field?Qphoria wrote:you need to upload the files and overwrite the existing. There is no "Order Total" in my mod
It seems I have put various values in various fields but no matter what the Handling Fee does not show up.
It is a vQmod script. You need vQmod. Click the "vQmod" in my signature.HomesteadGenStore wrote:I'm certain the 1531 is ONLY an xml file. What files do I overwrite? What do I put in the 'Order Total' field?Qphoria wrote:you need to upload the files and overwrite the existing. There is no "Order Total" in my mod
It seems I have put various values in various fields but no matter what the Handling Fee does not show up.
This mod is exactly what I need, but I am having trouble getting it to figure the handling fee correctly.
I am using Opencart version 1.5.3.1
I have installed vQmod, and that was successful.
I downloaded the XML file and placed it into the .../vqmod/xml folder.
I went into the admin menu and installed / enabled the handling mod. All of that is good to go.
I want there to be a 3% handling fee on all totals, regardless of max / min. So I put 9999999:3% for the 'Fee'. Is that correct? If so, it does nothing...
Am I supposed to put something in the 'Order Total' value? I saw elsewhere you said that this mod does not have an Order Total, but it is still there for me. If I put a value here, then it just adds that amount in front of the total. For example if a person has 7$ total, and if I put a 5 in for the Order Total, then the customers total becomes 57$.
If I put a value in both the Order Total area and the Fee area, it does add in the handling fee, but it does not do % like I need. For example if I put $9999 in the order total and 3% in the fee area, it adds $3.00 flat to all orders under 9999 instead of 3%.
Thanks
I am using Opencart version 1.5.3.1
I have installed vQmod, and that was successful.
I downloaded the XML file and placed it into the .../vqmod/xml folder.
I went into the admin menu and installed / enabled the handling mod. All of that is good to go.
I want there to be a 3% handling fee on all totals, regardless of max / min. So I put 9999999:3% for the 'Fee'. Is that correct? If so, it does nothing...
Am I supposed to put something in the 'Order Total' value? I saw elsewhere you said that this mod does not have an Order Total, but it is still there for me. If I put a value here, then it just adds that amount in front of the total. For example if a person has 7$ total, and if I put a 5 in for the Order Total, then the customers total becomes 57$.
If I put a value in both the Order Total area and the Fee area, it does add in the handling fee, but it does not do % like I need. For example if I put $9999 in the order total and 3% in the fee area, it adds $3.00 flat to all orders under 9999 instead of 3%.
Thanks

I ran into the same issue where the client noticed the totals were off after some live transactions 
I went through Q's code and noticed the numbers not calculating correctly. I updated the vQmod and tested against OpenCart v1.5.4.1 and it all works great now.

I went through Q's code and noticed the numbers not calculating correctly. I updated the vQmod and tested against OpenCart v1.5.4.1 and it all works great now.
Who is online
Users browsing this forum: No registered users and 3 guests