Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tax Rates


iurisampaio

Recommended Posts

Posted

Hi there,

 

I see only the admin interface "Locations/Taxes" to edit/add/delete

However the taxes are not applied when the user buy a product on my store.

 

How to apply taxation on my store in the users purchasing?

How to turn on this functionality on my website?

 

iuri

Posted

Hello

Have you set your admin to include tax under admin / configuration / my store?

You need to also have a Zone defined that includes the states / countries you want to have to pay tax

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Posted
Hello

Have you set your admin to include tax under admin / configuration / my store?

You need to also have a Zone defined that includes the states / countries you want to have to pay tax

Nic

 

Nic,

 

Yes i turned on the option to include taxes on my store.

The clue is that something is broken in the scripts.

But i have no idea what pages are involved in the process of taxation module.

What do you know?

Posted
Nic,

 

Yes i turned on the option to include taxes on my store.

The clue is that something is broken in the scripts.

But i have no idea what pages are involved in the process of taxation module.

What do you know?

 

 

So far i figured out the pages involved in the process.

Although i cant understand why at page /includes/classes/order_total.php , function output doesn;t return the ot_tax item

It is weird i put echo $size and only the position of ot_tax has its value set as 0

The others have 1 as their values.

 

function output() {

$output_string = '';

if (is_array($this->modules)) {

reset($this->modules);

while (list(, $value) = each($this->modules)) {

$class = substr($value, 0, strrpos($value, '.'));

if ($GLOBALS[$class]->enabled) {

$size = sizeof($GLOBALS[$class]->output);

echo $size;

for ($i=0; $i<$size; $i++) {

$output_string .= ' <tr>' . "\n" .

' <td align="right" class="main">' . $GLOBALS[$class]->output[$i]['title'] . '</td>' . "\n" .

' <td align="right" class="main">' . $GLOBALS[$class]->output[$i]['text'] . '</td>' . "\n" .

' </tr>';

}

}

}

}

 

 

I wonder what i am missing here.

does anyone have a clue?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...