gantz37 3 Posted September 4, 2011 qualcuno sa come togliere il costo della spedizione solo nel blocco carrello? Share this post Link to post Share on other sites
cyber 59 Posted September 6, 2011 modules/blockcart e nel tpl modifichi ciao Share this post Link to post Share on other sites
cablos 0 Posted September 19, 2011 modules/blockcart e nel tpl modifichi ciao cosa si modifica di preciso? Grazie Ciao! Share this post Link to post Share on other sites
cablos 0 Posted September 19, 2011 trovata la soluzione: This is how I removed all the informations about shipping: 1. 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); l'ho testato è funziona!! ciao Share this post Link to post Share on other sites
gantz37 3 Posted September 19, 2011 ho provato a modificare i files come consigliato da cablos, ho testato su vari browser e sembra che su chrome non funziona, viene cancellato la scritta spedizione ma lo calcola lo stesso su totale, invece su firefox e internet explorer funzionano Share this post Link to post Share on other sites
mmario 0 Posted September 28, 2011 che versione hai? Share this post Link to post Share on other sites
BBService 5 Posted December 29, 2011 Per la versione 1.4.5.1 blockart.tpl rimuovere: <span>{l s='Shipping' mod='blockcart'}</span> <span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span> blockart.php sostituire 'total' => Tools::displayPrice($totalToPay, $currency), con 'total' => Tools::displayPrice($params['cart']->getOrderTotal($useTax, Cart::BOTH_WITHOUT_SHIPPING), $currency), www.iltshop.it PERFETTO !!! Share this post Link to post Share on other sites
ba609 4 Posted March 20, 2014 Salve,avete qualche idea o sapete consigliarmi qualche modulo che mi calcoli le spese di spedizione prima della registrazione del cliente, altrimenti un cliente non italiano potrebbe essere tratto in inganno dalle spese di spedizione indicate nel carrello, anche se le nascondo non è detto che poi tale cliente voglia registrasi per vedere quanto gli costa la spedizione. La spedizione è calcolata in base al peso e alla nazione. Versione utilizzata PrestaShop™ 1.5.4.1 Ciao Share this post Link to post Share on other sites