IBICO Posted November 4, 2010 Share Posted November 4, 2010 I get som irritating wrong valued shipping price when adding a product and then going to CART. If I choose CHECKOUT and proceed to shipping I get the correct value.I have no shipping value with that value of 10usd. I have airmail 9usd.. No extra fee added in the shop. EMS lowest value are like 28usd.Would like to either get this corrected, or to just remove the shipping value when going to the shopping cart. Link to comment Share on other sites More sharing options...
rocky Posted November 5, 2010 Share Posted November 5, 2010 To remove shipping from the shopping cart summary, change lines 111-149 (in PrestaShop v1.3.2) of shopping-cart-tpl in your theme's directory from: {if $shippingCost > 0} {if $use_taxes} {if $priceDisplay} {l s='Total shipping (tax excl.):'} {displayPrice price=$shippingCostTaxExc} {else} {l s='Total shipping (tax incl.):'} {displayPrice price=$shippingCost} {/if} {else} {l s='Total shipping:'} {displayPrice price=$shippingCostTaxExc} {/if} {/if} {if $use_taxes} {l s='Total (tax excl.):'} {displayPrice price=$total_price_without_tax} {l s='Total tax:'} {displayPrice price=$total_tax} {l s='Total (tax incl.):'} {displayPrice price=$total_price} {else} {l s='Total:'} {displayPrice price=$total_price_without_tax} {/if} to: {*{if $shippingCost > 0} {if $use_taxes} {if $priceDisplay} {l s='Total shipping (tax excl.):'} {displayPrice price=$shippingCostTaxExc} {else} {l s='Total shipping (tax incl.):'} {displayPrice price=$shippingCost} {/if} {else} {l s='Total shipping:'} {displayPrice price=$shippingCostTaxExc} {/if} {/if}*} {if $use_taxes} {l s='Total (tax excl.):'} {displayPrice price=$total_price_without_tax-$shippingCostTaxExc} {l s='Total tax:'} {displayPrice price=$total_tax} {l s='Total (tax incl.):'} {displayPrice price=$total_price-$shippingCost} {else} {l s='Total:'} {displayPrice price=$total_price_without_tax-$shippingCostTaxExc} {/if} Link to comment Share on other sites More sharing options...
IBICO Posted November 5, 2010 Author Share Posted November 5, 2010 Worked with my uhupage theme also .. thank you. :-D.. Not sure why it came up with that 10usd shipping all the time Link to comment Share on other sites More sharing options...
logan1ro Posted April 3, 2011 Share Posted April 3, 2011 I think it's not working on PS 1.4 Link to comment Share on other sites More sharing options...
Arieswe Posted June 8, 2011 Share Posted June 8, 2011 Prestashop 1.4I did make 2 changes.1- module blockcart/blockcart.php (for changing calculation).After calculating 'total' i'm replacing 'total' with: 'total' => Tools::displayPrice($params['cart']->getOrderTotal($useTax, Cart::BOTH_WITHOUT_SHIPPING), $currency), 2- module blockcart/blockcart.tpl (for changing, delete display in the cart)You can delete or mark the display of shipping. {* {l s='Shipping' mod='blockcart'} {$shipping_cost} *} 2 Link to comment Share on other sites More sharing options...
jesusruiz Posted June 24, 2011 Share Posted June 24, 2011 Arieswe, The total fine is calculated, step 1 is correct. But step 2, I do not work, do not hide shipping.Should we change any other file in Prestashop 1.4.2?Thanks Link to comment Share on other sites More sharing options...
Arieswe Posted June 24, 2011 Share Posted June 24, 2011 Hej jesuruiz,My version is: 1.4.0.17. Did you delete it???Is your theme using another blockcart.tpl???Have a look with firefox and firebug for the description. and do a search in all files for the description. Good luck, i'm gonna celebrate midsummer now. Link to comment Share on other sites More sharing options...
jesusruiz Posted June 24, 2011 Share Posted June 24, 2011 Thanks for your answer Arieswe The funny thing is that although I delete several lines from the blockcart.tpl, this still shows the same O_oI've looked several times with Firebug code, and clearly states: that is the same as you've indicated in your previous post, but nothing.I will keep looking, because something else put in the code will not work for your solution. Although it is strange ... Link to comment Share on other sites More sharing options...
Arieswe Posted June 24, 2011 Share Posted June 24, 2011 Last time today..... Maybe you can try Preferences / Performance / Force compile to yes. if you don't already have it on. Link to comment Share on other sites More sharing options...
jesusruiz Posted June 24, 2011 Share Posted June 24, 2011 Arieswe, are God.Indeed, activating that option, and if it shows the changes.Now would be ideal, that the word transport and the costs will be, when we choose the process of transport in the Cart.I have read in a message to this forum to do so. But for now, the main thing I've solved thanks to you.Pardon for my english.A greeting and thanks for the help Link to comment Share on other sites More sharing options...
shamon Posted September 5, 2011 Share Posted September 5, 2011 Please warning with uhupage templates I've bought this one http://www.uhupage.c...?id_product=158 and i've too much problems !! he doesn't want to refund so i'm searching persons who are disppointed to build a case.thank you we are a lot : http://www.prestashop.com/forums/topic/110610-petit-coup-de-gueule-concernant-les-themes-uhupage/ http://www.prestashop.com/forums/topic/128321-uhupage-templates/page__gopid__624465#entry624465 Link to comment Share on other sites More sharing options...
shamon Posted September 5, 2011 Share Posted September 5, 2011 Please warning with uhupage templates I've bought this one http://www.uhupage.c...?id_product=158 and i've too much problems !! he doesn't want to refund so i'm searching persons who are disppointed to build a case.thank you we are a lot : http://www.prestashop.com/forums/topic/110610-petit-coup-de-gueule-concernant-les-themes-uhupage/ http://www.prestashop.com/forums/topic/128321-uhupage-templates/page__gopid__624465#entry624465 Link to comment Share on other sites More sharing options...
BBService Posted December 29, 2011 Share Posted December 29, 2011 Prestashop 1.4 I did make 2 changes. 1- module blockcart/blockcart.php (for changing calculation). After calculating 'total' i'm replacing 'total' with: 'total' => Tools::displayPrice($params['cart']->getOrderTotal($useTax, Cart::BOTH_WITHOUT_SHIPPING), $currency), 2- module blockcart/blockcart.tpl (for changing, delete display in the cart) You can delete or mark the display of shipping. {* {l s='Shipping' mod='blockcart'} {$shipping_cost} *} Thank you !!! HAPPY !! For version 1.4.5.1 to blockart.tpl remove: <span>{l s='Shipping' mod='blockcart'}</span> <span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span> and to blockart.php replace: 'total' => Tools::displayPrice($totalToPay, $currency), to 'total' => Tools::displayPrice($params['cart']->getOrderTotal($useTax, Cart::BOTH_WITHOUT_SHIPPING), $currency), www.iltshop.it it's perfect !!! 2 Link to comment Share on other sites More sharing options...
tool2000 Posted December 30, 2011 Share Posted December 30, 2011 One Vote for this solution, Thank you! Link to comment Share on other sites More sharing options...
suniilm Posted January 31, 2013 Share Posted January 31, 2013 how can we remove the shipping section from shopping cart summary of prestashop1.5 1 Link to comment Share on other sites More sharing options...
waynemiller Posted February 10, 2013 Share Posted February 10, 2013 Any news on removing this from 1.5.2 ? I dont want to see shipping in the shopping cart summary Please help Link to comment Share on other sites More sharing options...
Udobno Posted February 11, 2013 Share Posted February 11, 2013 Any news on removing this from 1.5.2 ? I dont want to see shipping in the shopping cart summary Please help +1 Anyone has an idea how to do it ? Link to comment Share on other sites More sharing options...
dformica Posted October 4, 2013 Share Posted October 4, 2013 How to do this on PS 1.5.5.0 ? Please Help. Link to comment Share on other sites More sharing options...
vekia Posted October 4, 2013 Share Posted October 4, 2013 method provided above doesnt work for your ps 1.5 ? i mean modification of tpl file? it looks almost the same as in 1.5 Link to comment Share on other sites More sharing options...
satriyoz Posted March 19, 2014 Share Posted March 19, 2014 (edited) Thankyou very much !!.. i'm using presta 1.5.5 and it's works like a charm !.. it's only for cart at the right page.. not cart summary after several times i'm trying.. finally.. FYI, 1st. open blockcart.tpl at your /modules/blockcart and also your /themes/nameofthemes/modules/blockcart and edit this line, make it inactive with comment tag or delete <div class="cart-prices-block"> <span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span> <span>{l s='Shipping' mod='blockcart'}</span> </div> 2nd. find this line in the same files, <span id="cart_block_total" class="price ajax_block_cart_total">{$total}</span> and edit to <span id="cart_block_total" class="price ajax_block_cart_total">{$product_total}</span> 3rd. find this line <span class="ajax_cart_total" {if $cart_qties == 0}style="display:none"{/if}> {if $cart_qties > 0} {if $priceDisplay == 1} {convertPrice price=$cart->getOrderTotal(false)} {else} {convertPrice price=$cart->getOrderTotal(true)} {/if} {/if} </span> and change to <span class="ajax_cart_total" {if $cart_qties == 0}style="display:none"{/if}> {$product_total} </span> 4th. edit ajax-cart.js in /modules/blockcart and find this line $('.ajax_block_cart_total').text(jsonData.total); change to $('.ajax_block_cart_total').text(jsonData.productTotal); and incording to Arieswie and bbboos, open blockcart.php replace this 'total' => Tools::displayPrice($totalToPay, $currency), to 'total' => Tools::displayPrice($params['cart']->getOrderTotal($useTax, Cart::BOTH_WITHOUT_SHIPPING), $currency), and voila.. try to reload the page or clear smartycache and cart module doesn't include shipping anymore.. Edited March 19, 2014 by satriyoz (see edit history) 1 Link to comment Share on other sites More sharing options...
framarfre Posted December 10, 2014 Share Posted December 10, 2014 Thankyou very much !!.. i'm using presta 1.5.5 and it's works like a charm !.. it's only for cart at the right page.. not cart summary after several times i'm trying.. finally.. FYI, 1st. open blockcart.tpl at your /modules/blockcart and also your /themes/nameofthemes/modules/blockcart and edit this line, make it inactive with comment tag or delete <div class="cart-prices-block"> <span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span> <span>{l s='Shipping' mod='blockcart'}</span> </div> 2nd. find this line in the same files, <span id="cart_block_total" class="price ajax_block_cart_total">{$total}</span> and edit to <span id="cart_block_total" class="price ajax_block_cart_total">{$product_total}</span> 3rd. find this line <span class="ajax_cart_total" {if $cart_qties == 0}style="display:none"{/if}> {if $cart_qties > 0} {if $priceDisplay == 1} {convertPrice price=$cart->getOrderTotal(false)} {else} {convertPrice price=$cart->getOrderTotal(true)} {/if} {/if} </span> and change to <span class="ajax_cart_total" {if $cart_qties == 0}style="display:none"{/if}> {$product_total} </span> 4th. edit ajax-cart.js in /modules/blockcart and find this line $('.ajax_block_cart_total').text(jsonData.total); change to $('.ajax_block_cart_total').text(jsonData.productTotal); and incording to Arieswie and bbboos, open blockcart.php replace this 'total' => Tools::displayPrice($totalToPay, $currency), to 'total' => Tools::displayPrice($params['cart']->getOrderTotal($useTax, Cart::BOTH_WITHOUT_SHIPPING), $currency), and voila.. try to reload the page or clear smartycache and cart module doesn't include shipping anymore.. Hi, this solution work fine on PrestaShop 1.6.0.9?? Link to comment Share on other sites More sharing options...
Spoons Posted May 29, 2015 Share Posted May 29, 2015 Any idea how to do this in Prestashop 1.6? Thanks, Justin Link to comment Share on other sites More sharing options...
El Patron Posted October 20, 2016 Share Posted October 20, 2016 Any idea how to do this in Prestashop 1.6? Thanks, Justin Hi Justin, Here is solution, now there is no need to hide or worry about showing inaccurate shipping carriers/costs. Solves the inaccurate shipping carrier costs for logged/non-logged. Please see PrestaShop International Shipping Carrier Localization Pro Link to comment Share on other sites More sharing options...
Spir Posted June 1, 2017 Share Posted June 1, 2017 (edited) Using 1.6 the solution is the same. Here is what I did (I'm talking about shopping_cart.tpl here): put the shipping cost in the table in comment {********************************************************* {if $total_shipping_tax_exc <= 0 && !isset($virtualCart)} ... shipping display logic here ... {/if} *********************************************************} Then at the bottom of the table where the total is display I did this: {if $use_taxes} <td colspan="3" id="total_price_container"> <div id="total_price_label">{l s='Total'}</div> <div id="total_price" class="price">{displayPrice price=$cart->getOrderTotal(true, Cart::BOTH_WITHOUT_SHIPPING)}</div> {* <div id="total_price" class="price">{displayPrice price=$total_price}</div> *} </td> {else} <td colspan="3" id="total_price_container"> <div id="total_price_label">{l s='Total'}</div> <div id="total_price" class="price">{displayPrice price=$cart->getOrderTotal(false, Cart::BOTH_WITHOUT_SHIPPING)}</div> {* Tools::displayPrice($params['cart']->getOrderTotal($useTax, Cart::BOTH_WITHOUT_SHIPPING), $currency) *} {* <div id="total_price" class="price">{displayPrice price=$total_price_without_tax}</div> *} </td> {/if} I'm not using the default theme so it may be different. but the price display is the same Edited June 1, 2017 by Spir (see edit history) Link to comment Share on other sites More sharing options...
Nguyen Posted May 30, 2018 Share Posted May 30, 2018 (edited) How to do this in the prestashop 1.7.3? Please help! I mean remove the shipping option on checkout process, Many thanks Nim Edited May 30, 2018 by Nguyen (see edit history) 1 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