Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change the calculation on checkout_confirmation.php


annemarie2013

Recommended Posts

hi everyone,

 

lets see...i have three shipping modules, the two first ones as to add their value to the total cost of the order in the checkout_confirmation.php...the third one as to subtract the value from the shipping to the total cost of the order in the checkout_confirmation.php.

 

example:

subtotal: 100€

shipping : 10€

total: 90€

 

the shipping file i'am using for this is "table.php"

 

please help me...i know the theory but i dont know how to apply it on the file.

 

thank youuuuuuuuuuuuuuu :thumbsup:

Link to comment
Share on other sites

@@annemarie2013

 

Unfortunately, none of the standard shipping modules will allow you to enter a negative value. I suggest if you want to offer a shipping discount, that you provide a discount coupon code to your customers to be applied to shipping.

 

 

 

Chris

Link to comment
Share on other sites

hi again, i think you didn't understand, the shipping value is positive but when we arrive to the checkout_confirmation.php, then it has to subtract that value.

 

example:

subtotal: 100€ price of product

shipping : 10€ price of shipping

total: 90€ total to pay

 

 

thanks :thumbsup:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...