alexcat Posted February 16, 2011 Share Posted February 16, 2011 Hello, i want to add an extra fee in a downloadable products shop, but i can't, because with the downloadable products there isn't shipping cost and i can't add handling charges or other fees.So i would like to activate shipping costs with downloadable products.I think that i should edit 1 or 2 lines of code of order.php but i can't find it, i have tried to make some modifications in this part of the code of order.php but the shipping costs only are showed when you buy physical products, and i want to activate shipping costs as an extra fee in downloadable products!I have tried to change the "0" for "1" but doesn't work.../* Bypass payment step if total is 0 */function checkFreeOrder(){ global $cart; if ($cart->getOrderTotal() <= 0) { $order = new FreeOrder(); $order->validateOrder(intval($cart->id), _PS_OS_PAYMENT_, 0, Tools::displayError('Free order', false)); Tools::redirect('history.php'); }}/** * Set id_carrier to 0 (no shipping price) * */function setNoCarrier(){ global $cart; $cart->id_carrier = 0; $cart->update();}Anone could help me? a lot of thanks! Link to comment Share on other sites More sharing options...
alexcat Posted February 16, 2011 Author Share Posted February 16, 2011 any idea please? ... Link to comment Share on other sites More sharing options...
alexcat Posted February 16, 2011 Author Share Posted February 16, 2011 i have been testing for a 4 hours but i cant found the solution :-( Link to comment Share on other sites More sharing options...
alexcat Posted February 17, 2011 Author Share Posted February 17, 2011 i pay 25 usd if anyone solve this problem Link to comment Share on other sites More sharing options...
alexcat Posted February 18, 2011 Author Share Posted February 18, 2011 i pay 35 usd if anyone solve this problem Link to comment Share on other sites More sharing options...
alexcat Posted February 18, 2011 Author Share Posted February 18, 2011 i pay 45 usd if anyone solve this problem Link to comment Share on other sites More sharing options...
Troy Posted February 18, 2011 Share Posted February 18, 2011 Try posting at the below mentioned threads.http://www.prestashop.com/forums/viewforum/76/job_offers_and_paid_services Link to comment Share on other sites More sharing options...
Troy Posted February 19, 2011 Share Posted February 19, 2011 Are you going to charge people "shipping fees" to download those "free" prestashop themes? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now