|
Hi guys, could you log the changes please?
Thanks
G.
|
Changelog for 1.7.9
|
Posted 13 years, 3 months ago
by BodgeIT
|
|
Did you fix the mixing up of the delivery note email and invoice email templates I pointed out?
|
Missed Opportunity
|
Posted 13 years, 3 months ago
by BodgeIT
|
|
Hi
I'm trying to mould {items} into something more manageable.
Firstly it would be excellent if this could be mvc templated.
That being said, I want to change the Tax summary to a line item style layout and show only the total tax for the order under the subtotal column.
QTY Name Price Subtotal
2 Some stuff £6 £12
<hr />
VAT (20%) £2.40
<hr />
<b>Total £14.40</b>
Could you tell me what the internal variable you use for the order tax total?
I can't seem to pick it out from the ones you use?
Sorry if double posted, I tried to find my other post and it's dissapeared again.
Cheers
Gary
|
Reconfigure {items} ...
|
Posted 13 years, 3 months ago
by BodgeIT
|
|
Thanks, I already implemented your other suggestion to have blank entries in language file.
Works fine.
|
Missed Opportunity
|
Posted 13 years, 3 months ago
by BodgeIT
|
|
Well done on the new update but didn't you miss something?
I thought you guys were going to remove the text from the variables?
And you still haven't fixed the layout issue when SKU is not shown:
|
Missed Opportunity
|
Posted 13 years, 3 months ago
by BodgeIT
|
|
Posted this as a pointer to where some of the VM issues lie. not as a resolution to above post.
|
TOPIC: 18,79 % tax?
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
For those who are experiencing the same issue as reported in this post:
www.artio.net/support-forums/vm-invoice/...er-support/18-79-tax
This might help:
From: forum.virtuemart.net/index.php?topic=78957.0
I dug in and did some debugging. It turns out that even with the new subtraction method of calculating tax, the value that is being sent to paypal for zero tax ends up looking something like this:
5.3290705182E-15
Obviously a very small number. I'm not sure WHY this is happening for a zero, but it is actually a relatively easy fix. You need to put it in two places. The file you need to edit is:
/administrator/components/com_virtuemart/classes/payment/ps_paypal_api.php
First search for this line:
Code: [Select]
$taxamt = $amt - $shippingamt - $order_totals['item_total'];
In my file it is around line #1526
Put the following immediately after that line:
Code: [Select]
if ($taxamt < 0.01){
$taxamt = 0.00;
}
Next, search for this line:
Code: [Select]
$taxamt = $amt - $order_totals['item_total'] - $shippingamt;
You'll find it AROUND line# 1640
And again, put this code right after it:
Code: [Select]
if ($taxamt < 0.01){
$taxamt = 0.00;
}
Saver your file and you shouldn't get that tax problem again. Now there might be precision issues. I haven't run into that, but if anyone does, let me know and I'll add a string formatting function in there to take care of that.
|
TOPIC: 18,79 % tax?
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
I am only using one virtuemart addon, a payment process component called PayPal Pro US www.virtuemart-solutions.com/index.php?p...uemart&Itemid=5. Having contacted them they are adamant, as you are, that the issue is not theirs.
As a humble site builder(not coder) stuck in the middle, I just try to come up with workable solutions.
|
Cannot redeclare cla ...
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
I created a work around by wrapping all the code(inside the <?php ?> tags) in the phpmailer.php file with:
if (!class_exists ( phpmailer)) {
original contents
}
Hope this helps if anyone else comes across this.
|
Cannot redeclare cla ...
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
I have an issue with the plugin which gives me an error
Cannot redeclare class PHPMailer in /public_html/libraries/phpmailer/phpmailer.php on line 34
I have no other mailing plugins in play.
When I tried to copy you phpmail.php file with is version 5 to Joomla, it works but my Confirmation page is without template container.
If you keep deleting this post I will keep adding it until you tell me why it shouldn't be posted.
|
Cannot redeclare cla ...
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
I have the same problem with your plugin now.
I have no other "emailing" plugins, so the only other culprite must be Virtuemart.
Surely you cannot claim that the virtuemart system must be alterred for your to work?
If you wish to check my system please let me know and I will create a login for you.
|
ERROR with the AUTOR ...
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
Thanks for the link.
I've emailed my orderid, along with a link to this post.
|
VM Invoice docs
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
No, I've had to change the email subject for the Delivery Note email to Invoice and change the content of the DELIVERY NOTE EMAIL to read like it is for an INVOICE.
I have a workaround...you have a commercial application that doesn't work as it should.
|
Correct Email not se ...
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
Thanks...figured that out....
30 mins seems a bit slow, is there any major impact on server for a small site with 2 or 3 orders a day if that speed is uped to 5 mins?
|
VM Invoice docs
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
You misunderstand.
The issue is:
Even with Delivery Note section disabled.
When auto email is sent, it arrives with "Delivery Note" as subject.
With Delivery email contents and Invoice attached.
|
Correct Email not se ...
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
Brilliant that's enough, just to make it personal.
Thanks
|
VM Invoicing - Varia ...
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
Just wanted to know if the variables available in the invoice config section are also available for the email templates?
If not could you please add at least the customers name as a variable here as most people regard indirect mail e.g. "Dear Sir/Madam" as spam or spyware when related to accounts or purchases and tend to delete without opening attachments.
wrong forum...should be VM Invoicing
|
VM Invoicing - Varia ...
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
I don't have access to cron on my customers account so I have installed the plugin.
In my tests I'm using the paypal api payment method and emails are not being sent even if the payment shows as confirmed in the invoice list.
EDIT: Apologies, I've just figured out how it works now...goes out every 30m...I expect that's in the manual!
One thing though the automatic email that went out used the delivery note email template with the invoice attached even though I have DN turned off. Why is it doing that and how do I stop it.
My workaround for now is to copy the invoice email template contents to the delivery note sections but I would like this to function properly.
|
Correct Email not se ...
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
There's a PDF in the list of files I can download but when I click it, it takes me to my account page.
I therefor have not RTFM!
I want to know if there's anything special I need to do to have emails sent automatically on purchase confirmation?
|
VM Invoice docs
|
Posted 13 years, 4 months ago
by BodgeIT
|
|
Of course you can!
Jesus sometimes it's the most obvious things that are right in front of your face that are the hardest to see!
Thanks.
|
Why include Text lab ...
|
Posted 13 years, 4 months ago
by BodgeIT
|
More |