Forum Support

Shape 5
April 18, 2024, 10:50:48 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: S5 Column Cart no correct calcul  (Read 829 times)
lulu
Jr. Member
**
Offline Offline

Posts: 32



« on: January 18, 2008, 03:05:27 PM »

Hi,

The calculation is not correct
order total : 90.00

S5 Column Cart   add tax  In supplement   Shocked

Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #1 on: January 20, 2008, 03:29:31 PM »

It is correct. The S5 column cart includes tax in its total displayed.  The total on the Virtuemart cart page only displays the total of the order excluding tax.

Regards,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
lulu
Jr. Member
**
Offline Offline

Posts: 32



« Reply #2 on: January 21, 2008, 05:43:40 AM »

Hi, jonahh

NO NO sorry    is not correct

my exemple : 90 €= order TTC         75.25 HT because order TTC   (TVA 19.60 %)
VM displays the total AND tax

If you look at the basket.php code it is different   Coupon discount is not correct










Lucien
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #3 on: January 21, 2008, 11:05:56 AM »

So you are saying that when you use a coupon the total is not correct?
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
lulu
Jr. Member
**
Offline Offline

Posts: 32



« Reply #4 on: January 21, 2008, 11:33:31 AM »

Hi, jonahh

sorry my english

No I say that the code php is not correct

the code basket.php <> the code S5_

the code calcul  taxe or not tax  basket.php

   if( $auth["show_price_including_tax"] == 1 ) {
         $product_price = $price["product_price"] * ($my_taxrate+1);
      } else {
         $product_price = $price["product_price"];
      }


The code  S5_

   if( $auth['show_price_including_tax']) {
         $tax_total *= $discount_factor;
      }
      $tax_total += $shipping_tax;
      $tax_total = $CURRENCY_DISPLAY->getRounded( $order_taxable );
      $tax_total = $ps_checkout->calc_order_tax($order_taxable, $vars);
      $ordertotal = ($tax_total) + ($total);
  }
Logged
jonahh
Administrator
*****
Offline Offline

Posts: 23789



WWW
« Reply #5 on: January 23, 2008, 07:09:34 PM »

Hello Lulu,

The problem has been fixed and the download updated. Thanks for the input.

Regards,
Logged

Jonah Hall
------------
Shape 5 Team

- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
lulu
Jr. Member
**
Offline Offline

Posts: 32



« Reply #6 on: January 24, 2008, 12:19:47 PM »

Super   merci   Smiley
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.