elektrojo Posted June 2, 2016 Share Posted June 2, 2016 (edited) I need to remove shipping fees info from cart ajax cz they are misleading for customers, I am using prestashop 1.6.1.5 here is my shop www.elektrojo.com and here what i wish to see I tried this but didn't work1. Go to "blockcart.tpl" and comment out these lines:<span>{l s='Shipping' mod='blockcart'}</span><span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span><br/>2. In the same file, find this line:<span id="cart_block_total" class="price ajax_block_cart_total">{$total}</span>and replace {$total} with {$product_total}:<span id="cart_block_total" class="price ajax_block_cart_total">{$product_total}</span>3. probably the "AJAX mode" is on so you "must" edit also the "ajax-cart.js" file which exists in "blockcart" folder in "modules" folder. Open it and go to line 560. Replace:$('.ajax_block_cart_total').text(jsonData.total);with this$('.ajax_block_cart_total').text(jsonData.productTotal); Edited June 3, 2016 by elektrojo (see edit history) 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