bobik1 Posted February 25, 2013 Share Posted February 25, 2013 Hello I would like to ask you - How to remove shipping costs from block card in version 1.4.9 I try tricks for other version, but they don`t work. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted February 25, 2013 Share Posted February 25, 2013 Hi, do you want remove it only from blockcart or remove shipping costs also from order totals? Regards Link to comment Share on other sites More sharing options...
bobik1 Posted February 25, 2013 Author Share Posted February 25, 2013 Only from blockcart. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted February 26, 2013 Share Posted February 26, 2013 Ok, follow the guide: find blockcart module and edit blockcart.tpl and comment this: {* <span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span> <span>{l s='Shipping' mod='blockcart'}</span> <br/> {if $show_wrapping} {assign var='cart_flag' value='Cart::ONLY_WRAPPING'|constant} <span id="cart_block_wrapping_cost" class="price cart_block_wrapping_cost">{if $priceDisplay == 1}{convertPrice price=$cart->getOrderTotal(false, $cart_flag)}{else}{convertPrice price=$cart->getOrderTotal(true, $cart_flag)}{/if}</span> <span>{l s='Wrapping' mod='blockcart'}</span> <br/> {/if} {if $show_tax && isset($tax_cost)} <span id="cart_block_tax_cost" class="price ajax_cart_tax_cost">{$tax_cost}</span> <span>{l s='Tax' mod='blockcart'}</span> <br/> {/if} *} Link to comment Share on other sites More sharing options...
bobik1 Posted February 26, 2013 Author Share Posted February 26, 2013 I know this file. I deleted this lines <span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span> <span>{l s='Shipping' mod='blockcart'}</span> <br/> But nothing. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted February 27, 2013 Share Posted February 27, 2013 Hi again, 1) you must delete/comment all code from me previous post 2) check your cahce settings 3) did you edit file from your active theme? 4) check this file into the override folder (somethig like: your_active_theme/modules/blockcart/blockcart.tpl) Link to comment Share on other sites More sharing options...
bobik1 Posted March 1, 2013 Author Share Posted March 1, 2013 Thank you very much. It work even on latest version 1.5.3 I have other question - Could you tell me whether I can remove Shipping from "Shopping cart summary" I want to stay only on the end of shopping process. I want to stay only when you have to choose"Payment Method" Link to comment Share on other sites More sharing options...
dsgnmind Posted April 5, 2013 Share Posted April 5, 2013 Hi there. I tried this mod. While it removed the title 'Shipping' from the blockcart - the total still shows the shipping amount. We want to change the 'Total' to 'Sub-Total' and have the amount show only the total of products minus vouchers. Can anyone help in pulling this sub-total (products minus vouchers) amount? I believe it has to do with pulling the right reference in the following code <span id="cart_block_total" class="price ajax_block_cart_total">{$total}</span> <span>{l s='Sub-Total' mod='blockcart'}</span> any help would be great! Link to comment Share on other sites More sharing options...
dsgnmind Posted April 9, 2013 Share Posted April 9, 2013 Hey bobki1 - have you tried changing out the definition of 'total' in blockcart.php. You can try what worked for us on this thread (see my last comment) but I understand it may not, being a different version. http://www.prestashop.com/forums/topic/232479-free-shipping/page__st__20 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