Simple way to add each product feature in shopping cart page. 1. Change in controllers\ParentOrderController.php in line 244 after: [php] 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) { [/php] code: [php]$features[] = Product::getFeaturesStatic($productId);[/php] […]

Read more

Change in modules\blockcart\ajax-cart.js line 40 [javascript] //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; }); [/javascript] Change in themes\prestashop\product-list.tpl after li tag notice: remove “\{” to “{” and “\}” to “}” in this code [php] <div class="p_qty […]

Read more

1. Change in modules\blockcart\blockcart.tpl after line 125: [php] <span>{l s=’Tax’ mod=’blockcart’}</span> <span id="cart_block_tax_cost" class="price ajax_cart_tax_cost">{$tax_cost}</span> <br/> [/php] add code: [php] <span>{l s=’Total without tax’ mod=’blockcart’}</span> <span id="cart_block_total_without_tax" class="price ajax_cart_total_without_tax">{$total_without_tax}</span> <br/> [/php] 2. Change in modules\blockcart\blockcart.php after line 95: [php] ‘total’ => Tools::displayPrice($totalToPay, $currency), [/php] add code: [php] ‘total_without_tax’ => Tools::displayPrice($totalToPayWithoutTaxes), [/php] 3. Change in modules\blockcart\ajax-cart.js […]

Read more

1. Change in [admin folder]/tabs/AdminCategories.php Approx line 232, replace [php] echo ‘<div class="lang_’.$language[‘id_lang’].’" style="display: ‘.($language[‘id_lang’] == $this->_defaultFormLanguage ? ‘block’ : ‘none’).’; float: left;"> <textarea class="rte" name="description_’.$language[‘id_lang’].’" rows="10" cols="100">’.htmlentities($this->getFieldValue($obj, ‘description’, (int)($language[‘id_lang’])), ENT_COMPAT, ‘UTF-8′).'</textarea> </div>’; [/php] whith [php] echo ‘ <div class="lang_’.$language[‘id_lang’].’" style="display: ‘.($language[‘id_lang’] == $this->_defaultFormLanguage ? ‘block’ : ‘none’).’; float: left;"> <textarea class="rte" name="description_’.$language[‘id_lang’].’" rows="10" cols="100">’.htmlentities($this->getFieldValue($obj, […]

Read more