paulm2003 Posted March 13, 2004 Share Posted March 13, 2004 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.