Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

I'm using this contribution lev_discountv2.4 that gives me a variable discount based on the order total but in the admin invoice, it doesn't show the total with the discount added

Is there anyway to add this to the admin invoice, the only thing I do notice with this is updates to ot_lev_discount.php to comment out one line at line 75:

 

// $od_amount = $od_amount + $tod_amount;

 

This line was adding tax back to the discount amount when the module was set to include tax (true) and calculate tax (true). I couldnt get it to calculate properly with any other settings.

 

here is picture of what I get:

 

 

pricecut1.jpg

 

Is this possible? Thanks for any help or direction with this

 

Kelly

Posted

I figured this out if anyone should need how to do this all you have to do is sort it right, go into the admin/modules/order total and edit each one to set the sort numbers, in my picture example the sort would be;

sub total is sort number 1

shipping is sort number 2

and so on

 

 

 

I'm using this contribution lev_discountv2.4 that gives me a variable discount based on the order total but in the admin invoice, it doesn't show the total with the discount added

Is there anyway to add this to the admin invoice, the only thing I do notice with this is updates to ot_lev_discount.php to comment out one line at line 75:

 

// $od_amount = $od_amount + $tod_amount;

 

This line was adding tax back to the discount amount when the module was set to include tax (true) and calculate tax (true). I couldnt get it to calculate properly with any other settings.

 

here is picture of what I get:

pricecut1.jpg

 

Is this possible? Thanks for any help or direction with this

 

Kelly

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...