Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

edit orders and special price


paulm2003

Recommended Posts

Hi,

 

I am trying to update the edit orders contribution ( http://www.oscommerce.com/community/contributions,1435 ) to use the special price if a product is added to the order. I have been staring at the code a while (1300+ lines), but i don't understand enough of it to make it work.

(I did make some changes to the VAT calculation which was quite easy but...).

 

I suppose something like this could be inserted somewhere:

if (tep_get_products_special_price($product_info['products_id']))
{
  $products_price =(tep_get_products_special_price($product_info['products_id']));
}
else
{
   $products_price = $product_info['products_price'];
}

no idea how and where to implement it though.

 

Any tips welcome!

And if somebody already has a working edit orders with special price it would be great of course.

Link to comment
Share on other sites

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...