Tax in orders (QuickCart v1.4)

nadiesinweb

Avatar: nadiesinweb

2012-03-07 13:01

Hi.
First sorry for my bad english.
I want ask for tax in v1.4 of Quick.Cart.
I need add tax to summary of products in order (not to delivery).
I had tested several plugins without success.
I know I must update to newest version, but I prefer wait...
Can any one help me?

» Quick.Cart v1.x

Guido

Avatar: Guido

2012-03-07 22:45

I use this code from boboo:

======================
i just added 1 (one!) line in /core/orders.php in function sendEmailWithOrderDetails and in function sendEmailToCustomerWithOrderDetails over the line:
$oTpl->setVariables( 'aData', $aData );
the added line is:
$aData['fTax']=normalizePrice(round($aData['sOrderSummary']-($aData['sOrderSummary']/1.2),2));
and one line in /templates/orders_print.tpl under the line:
$lang[Summary_cost]: $aData[sOrderSummary] $config[currency_symbol]
i added:
VAT: $aData[fTax] $config[currency_symbol]
======================

http://opensolution.org/Quick.Cart/forum/displaying-tax-in-customer-e-mail-order,7306.html

Guido

Avatar: Guido

2012-03-07 22:49

With this code amount of tax is displayed in confirmation e-mail to buyer and admin.

This e-mail function is not available in older default versions of QC..

Guido

nadiesinweb

Avatar: nadiesinweb

2012-03-08 08:43

Hi Guido.
Thanks for your answer but I have not "sendEmailWithOrderDetails" and "sendEmailToCustomerWithOrderDetails" functions in "/core/orders.php" (because different versions of QC, perhaps)

Can you tell me your QC site to see how it works?
Thanks

Guido

Avatar: Guido

2012-03-08 12:04

This function is only in recent versions of QC.
It can be integrated into older versions, you can download code from download page:

http://opensolution.org/download,en,18.html?sDir=Quick.Cart/plugins/archive

But if you want to display tax on orderspage:
http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=5799&page=999

nadiesinweb

Avatar: nadiesinweb

2012-03-08 14:49

I have seen several solutions in this forum but I can not make it woks fine.
Also I have installed singleRateTax plugin in my v1.4 site without success.
I have tested upgrading to newest version, convert from v1 to v2 to v3 to v4 (to v5, failed) but I need tax in orders in any version.
Please, please,
Can someone send me any version of quick.cart with tax in orders (without db or not)?

My mail is info@nadiesinweb.com
Thanks for all

Guido

Avatar: Guido

2012-03-08 15:00

What do you want?

1) QuickCart with option sent amount of tax to customer
2) QuickCart only display amount of tax on order page
3) Both

I can provide you with option 1..

What is your tax/vat percentage?

boboo

Avatar: boboo

2012-03-08 16:26

In Spain 16%

http://qc-plugins.kimla.de

nadiesinweb

Avatar: nadiesinweb

2012-03-09 08:32

Hi Guido.
Today in Spain vat (aka IVA) is 18% but it can grows soon by crisis. I need tax var in configuration.
You can see I have done until now in http://www.nadiesinweb.com/adrimar2/index.php (you can make an order to see it; it's for test)
I need tax in order page aply to subtotal (not to delivery):
sum of products = subtotal
subtotal + tax of subtotal + delivery = total
Tax must save in orders (admin) and show it in mail to customer.
If only maybe "option 1" I will test it; perhaps it can be ok.
Thanks

Guido

Avatar: Guido

2012-03-10 00:10

Hi,

I am very sorry, but I cannot provide you with this...
I only have the first option.
I used the code from boboo (displayed above) and this code takes tax/vat from the total price. So in my shop tax is part of the productprice. You want something else.

Guido

beholder

Avatar: beholder

2012-03-11 15:30

Contact me, I can support your older QC version for a small fee. Should not be a problem.

http://cicmanec.sk/easyplugins/

Back to top
about us | contact