Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

specials - show price with tax in admin


Guest

Recommended Posts

In Australia the displayed/advertised price must include sales tax.

 

The specials admin page displays the net (pre tax) price only. This is a bit of pain to calculate a rounded special price. i.e. discount a product so the final retail price inc sales tax is $129.00 It takes extra time to do the calculations right so I don't end up with $129.12 or some other odd amount.

 

What I want to do is have the gross (inc tax) price displayed so I can enter in the sale price including tax.

 

Or the next best thing would be the final price being calculated and displayed when I enter the discount in (like in the add/edit products)

 

Is there some way of doing this?

Link to comment
Share on other sites

  • 1 year later...

Hi,

 

I've got exactly the same problem (UK) with specials in admin. I need to see the prices including tax in the drop down menu as well as entering a special price including tax. We've got a large neumber of products and therefore it will be a real pain to enter prices without tax.

 

Can anyone please help? I'm surprised this issue has not been addessed. I've searched the forums thoroughly but not found a solution to date.

 

Thanks

Link to comment
Share on other sites

  • 4 weeks later...
Hi,

 

I've got exactly the same problem (UK) with specials in admin. I need to see the prices including tax in the drop down menu as well as entering a special price including tax. We've got a large neumber of products and therefore it will be a real pain to enter prices without tax.

 

Can anyone please help? I'm surprised this issue has not been addessed. I've searched the forums thoroughly but not found a solution to date.

 

Thanks

 

:'( Same here for me in Norway... Any solution for this problem?

 

 

:rolleyes: Regards Gorm

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

I'm in Oz too, and I have the same problem. It is a real pain having to enter in the special price excluding tax.

 

Ideally, we should be able to enter the special price including tax. The system should then subtract the tax amount from it and store the final value in the database. I'm having a play with the code right now, but I'm not a php pro, more of a tinkerer.

Link to comment
Share on other sites

  • 5 months later...
I'm in Oz too, and I have the same problem. It is a real pain having to enter in the special price excluding tax.

 

Ideally, we should be able to enter the special price including tax. The system should then subtract the tax amount from it and store the final value in the database. I'm having a play with the code right now, but I'm not a php pro, more of a tinkerer.

 

:'(

 

one more guy.. trying to figure it out...

Link to comment
Share on other sites

  • 4 months later...
  • 8 months later...
  • 9 months later...

Not sure if it will fix your problem but you could just add this bit of code to your catalog/product info.php file to display under the price, I found it in the forum. Since in Australia it should be displayed.

 

<span class="smallText">*inc GST</span></td>

Link to comment
Share on other sites

  • 1 month later...
Not sure if it will fix your problem but you could just add this bit of code to your catalog/product info.php file to display under the price, I found it in the forum. Since in Australia it should be displayed.

 

<span class="smallText">*inc GST</span></td>

 

 

Ausgirl, could you please let me know just where this code would be placed on the catalog/product info.php page , there are several references to "price" and I don't know which is the display reference...am also in Oz

 

Thanks

 

PS ..........most countries seem to have a form of GST, VAT or sales tax, so does this seem a fairly standard include that has fallen through the floorboards......?

Link to comment
Share on other sites

Its about a 1/4 of the way down (About Line 126) yours may be different as mine is heavily modified. Anyway here is some of the code to help you find where to place it. It just displays the *inc GST under your product price. In Australia this has to be displayed on your site whether its included in the price or if you choose to have it added at checkout. Anyway heres where it goes.

 

$pf->loadProduct((int)$HTTP_GET_VARS['products_id'], (int)$languages_id);

$products_price=$pf->getPriceString();

if (tep_not_null($product_info['products_model'])) {

$products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>';

} else {

$products_name = $product_info['products_name'];

}

?>

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td valign="top"><h1><?php echo $products_name; ?></h1></td>

<td align="right" valign="top"><h1><?php echo $products_price; ?></h1><br><span class="smallText">*inc GST</span></td>

</td>

Link to comment
Share on other sites

Its about a 1/4 of the way down (About Line 126) yours may be different as mine is heavily modified. Anyway here is some of the code to help you find where to place it. It just displays the *inc GST under your product price. In Australia this has to be displayed on your site whether its included in the price or if you choose to have it added at checkout. Anyway heres where it goes.

 

$pf->loadProduct((int)$HTTP_GET_VARS['products_id'], (int)$languages_id);

$products_price=$pf->getPriceString();

if (tep_not_null($product_info['products_model'])) {

$products_name = $product_info['products_name'] . '<br><span class="smallText">[' . $product_info['products_model'] . ']</span>';

} else {

$products_name = $product_info['products_name'];

}

?>

<tr>

<td><table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td valign="top"><h1><?php echo $products_name; ?></h1></td>

<td align="right" valign="top"><h1><?php echo $products_price; ?></h1><br><span class="smallText">*inc GST</span></td>

</td>

 

 

 

Thanks very much Ruth,

 

This effectively displays the tag stating that GST is included. (and only when it is correct....read on)

 

This was at Line 92 on my setup, about 1/4 down as you said.

 

My version now reads:

 

<?php echo $products_price; ?></font><span class="smallText"> *incl GST</span></td>

 

I have now found a really weird thing happening unrelated to this previous exchange tho' still to do with TAX......

 

Having defined the following in Admin under New Product (for each product)

 

Tax Class: (GST)

Products Price (Net): ("less tax" price is calculated automatically when the Gross price is entered in the next field)

Products Price (Gross): ("including tax" price)

 

Some of the products at Level 1 (category) display the net price (excl tax) but in Level 2 (sub-category) they appear correctly as the tax inclusive price !!??

 

BUT other products (in different Level 1 categories) display correctly as the tax inclusive price in both Level 1 & 2.......grrrrr

 

In each case, when the "Details" are clicked for any product, the inclusive price appears......as it does at Checkout !!

 

The inconsistency has me perplexed.......maybe with an election looming we could persuade them all to abolish tax altogether !

 

If anyone has any take on this, I would be very interested to hear, at the moment am contemplating undoing all tax references for all products and generating a tax invoice independently for each transaction and sending as a pdf to customers.

 

Cheers

 

M

Link to comment
Share on other sites

  • 2 months later...

Hi all,

 

A while ago I found a fix for this same problem on the forums, which involved some minor code changes, and just meant adding 'i' after the prices in 'specials' - the prices then displayed as entered (i.e. with tax already 'i'ncluded).

Now that I have made a new unstall I have lost this mod and can't find it again.

Does anybody know where I can look?

Link to comment
Share on other sites

  • 1 year later...

I know its a bit late, i've just started my website a came up with the same problem.

 

Created a small work around that takes the net amount of the item and multiplies by 1.1 (10%)

 

pretty simple, just modify "specials.php" in root shops site. Code below

 

$p_price = '<span class="productSpecialPrice">'.$currencies->display_price($specials['specials_new_products_price']*1.1,'').'</span> <s>'.$currencies->display_price($specials['products_price'], tep_get_tax_rate($specials['products_tax_class_id'])).'</s>';

 

 

Hope it helps someone out there

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...