Simple way to add each product feature in shopping cart page. 1. Change in controllers\ParentOrderController.php in line 244 after: protected function _assignSummaryInformations() { global $currency; if (file_exists(_PS_SHIP_IMG_DIR_.(int)(self::$cart->id_carrier).’.jpg’)) self::$smarty->assign(‘carrierPicture’, 1); $summary = self::$cart->getSummaryDetails(); $customizedDatas = Product::getAllCustomizedDatas((int)(self::$cart->id)); // override customization tax rate with real tax (tax rules) foreach($summary[‘products’] AS &$productUpdate) { code: $features[] = Product::getFeaturesStatic($productId); and after: […]

Read more

Change in modules\blockcart\ajax-cart.js line 40 //for category product-list page ‘add’ button… $(‘.p_add .ajax_add_to_cart_button’).unbind(‘click’).click(function(){ var idProduct = $(this).attr(‘rel’).replace(‘ajax_id_product_’, ”); var qty = $(‘.qty_ajax_id_product_’+idProduct+’ input’).val(); ajaxCart.add(idProduct, null, true, null, qty, null); return false; }); Change in themes\prestashop\product-list.tpl after li tag notice: remove “\{” to “{” and “\}” to “}” in this code 1\}onkeyup=”checkMinimalQuantity(\{$product.minimal_quantity\});”\{/if\} />

Read more

1. Change in modules\blockcart\blockcart.tpl after line 125: {l s=’Tax’ mod=’blockcart’} {$tax_cost} add code: {l s=’Total without tax’ mod=’blockcart’} {$total_without_tax} 2. Change in modules\blockcart\blockcart.php after line 95: ‘total’ => Tools::displayPrice($totalToPay, $currency), add code: ‘total_without_tax’ => Tools::displayPrice($totalToPayWithoutTaxes), 3. Change in modules\blockcart\ajax-cart.js after line 575: $(‘.ajax_cart_tax_cost’).text(jsonData.taxCost); add code: $(‘.ajax_cart_total_without_tax’).text(jsonData.totalWithoutTax); 4. Change in modules\blockcart\blockcart-json.tpl after line 96: “shippingCost”: “{$shipping_cost|html_entity_decode:2:’UTF-8′}”, […]

Read more