kevin13914 Posted May 8, 2010 Share Posted May 8, 2010 I searched my entire website files for the text "Prices are tax excluded". I found two instances and removed the text between the quotes/ One was in the cart block files, the other in the admin shipping files.But the text "Prices are tax excluded" in the cart block is still showing.How do I get this to go away? Link to comment Share on other sites More sharing options...
Orhion.ro Posted May 8, 2010 Share Posted May 8, 2010 Try first to uninstall the module then upload the modified one then reinstall it. Link to comment Share on other sites More sharing options...
kevin13914 Posted May 8, 2010 Author Share Posted May 8, 2010 Found it.Went into modules>cartblock and edited the >tpl files to remove the text.Refreshed my browser page and it was gone. Link to comment Share on other sites More sharing options...
ct1976 Posted June 28, 2010 Share Posted June 28, 2010 when i edit the modules>blockcart>blockcart.tpl to change text only from {if $priceDisplay == 1} <p id="cart-price-precisions"> {l s='Prices are tax excluded' mod='blockcart'} </p> {/if}TO{if $priceDisplay == 1} <p id="cart-price-precisions"> {l s='Prices include VAT' mod='blockcart'} </p> {/if}my cart disappears. Any ideas anyone please? Link to comment Share on other sites More sharing options...
rocky Posted June 29, 2010 Share Posted June 29, 2010 Edit config/config.inc.php and temporarily change 'display_errors' from 'off' to 'on' so that you get an error message instead of just a missing cart. Post the error message here. Link to comment Share on other sites More sharing options...
ct1976 Posted June 30, 2010 Share Posted June 30, 2010 there yu go....Fatal error: Smarty error: [in /home/ukbedso1/public_html/modules/blockcart/blockcart.tpl line 30]: syntax error: unidentified token ';' (Smarty_Compiler.class.php, line 1410) in /home/ukbedso1/public_html/tools/smarty/Smarty.class.php on line 1095thanks Link to comment Share on other sites More sharing options...
glenns Posted June 30, 2010 Share Posted June 30, 2010 Found it.Went into modules>cartblock and edited the >tpl files to remove the text.Refreshed my browser page and it was gone. I tried editing the tpl file to remove the text tax included as well as excluded...no joy, maybe I am not doing this in the right area...what line is it on? Would like the item NOT to say tax included as it is a bit misleading!Thanks! Link to comment Share on other sites More sharing options...
rocky Posted July 1, 2010 Share Posted July 1, 2010 What's on line 30 of blockcart.tpl? There must be a semicolon in there someone that isn't in the right place. Link to comment Share on other sites More sharing options...
ct1976 Posted July 1, 2010 Share Posted July 1, 2010 hi, line 30 is as below;<span class="ajax_cart_quantity">{if $cart_qties > 0}{$cart_qties}{/if}</span> Link to comment Share on other sites More sharing options...
rocky Posted July 2, 2010 Share Posted July 2, 2010 There is no semicolon on that line, so it can't be the right line. I can't see anything on that line that would cause an "unidentified token ';'" error. Link to comment Share on other sites More sharing options...
ct1976 Posted July 2, 2010 Share Posted July 2, 2010 hi,heres lines 1-60<head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"></head> {*************************************************************************************************************************************}{* IMPORTANT : If you change some data here, you have to report these changes in the ./blockcart-json.js (to let ajaxCart available) *}{*************************************************************************************************************************************} {if $ajax_allowed}<script type="text/javascript" src="{$content_dir}js/jquery/iutil.prestashop-modifications.js"></script>{* to perfectly play the tranfert animation, the script ifx.js has to be called here, but it creates a method conflict with jquery.serialScroll.js file *}<script type="text/javascript" src="{$content_dir}js/jquery/ifxtransfer.js"></script><script type="text/javascript">var CUSTOMIZE_TEXTFIELD = {$CUSTOMIZE_TEXTFIELD};var customizationIdMessage = '{l s='Customization #' mod='blockcart' js=1}';var removingLinkText = '{l s='remove this product from my cart' mod='blockcart' js=1}';</script><script type="text/javascript" src="{$content_dir}modules/blockcart/ajax-cart.js"></script>{/if} <!-- MODULE Block cart --><div id="cart_block" class="block exclusive"> <h4> <a href="{$base_dir_ssl}order.php">{l s='Cart' mod='blockcart'}</a> {if $ajax_allowed} <span id="block_cart_expand" {if $colapseExpandStatus eq 'expanded'}class="hidden"{/if}> </span> <span id="block_cart_collapse" {if $colapseExpandStatus eq 'collapsed' || !isset($colapseExpandStatus)}class="hidden"{/if}> </span> {/if} </h4> <div class="block_content"> <!-- block summary --> <div id="cart_block_summary" class="{if $colapseExpandStatus eq 'expanded' || !$ajax_allowed}collapsed{else}expanded{/if}"> <span class="ajax_cart_quantity">{if $cart_qties > 0}{$cart_qties}{/if}</span> <span class="ajax_cart_product_txt_s{if $cart_qties < 2} hidden{/if}">{l s='products' mod='blockcart'}</span> <span class="ajax_cart_product_txt{if $cart_qties != 1} hidden{/if}">{l s='product' mod='blockcart'}</span> <span class="ajax_cart_total">{if $cart_qties > 0}{if $priceDisplay == 1}{convertPrice price=$cart->getOrderTotal(false)}{else}{convertPrice price=$cart->getOrderTotal(true)}{/if}{/if}</span> <span class="ajax_cart_no_product">{if $cart_qties == 0}{l s='(empty)' mod='blockcart'}{/if}</span> </div> <!-- block list of products --> <div id="cart_block_list" class="{if $colapseExpandStatus eq 'expanded' || !$ajax_allowed}expanded{else}collapsed{/if}"> {if $products} <dl class="products"> {foreach from=$products item='product' name='myLoop'} {assign var='productId' value=$product.id_product} {assign var='productAttributeId' value=$product.id_product_attribute} <dt id="cart_block_product_{$product.id_product}{if $product.id_product_attribute}_{$product.id_product_attribute}{/if}" class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}"> <span class="quantity-formated"><span class="quantity">{$product.cart_quantity}</span>x</span> <a class="cart_block_product_name" href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)}" title="{$product.name|escape:htmlall:'UTF-8'}">{t text=$product.name length='16' encode='true'}</a> <span class="remove_link">{if !isset($customizedDatas.$productId.$productAttributeId)}<a class="ajax_cart_block_remove_link" href="{$base_dir}cart.php?delete&id_product={$product.id_product}&ipa={$product.id_product_attribute}&token={$static_token}" title="{l s='remove this product from my cart' mod='blockcart'}"> </a>{/if}</span> <span class="price">{displayWtPrice p="`$product.real_price`"}</span> </dt> {if isset($product.attributes_small)} <dd id="cart_block_combination_of_{$product.id_product}{if $product.id_product_attribute}_{$product.id_product_attribute}{/if}" class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}"> <a href="{$link->getProductLink($product.id_product, $product.link_rewrite, $product.category)}" title="{l s='Product detail'}">{$product.attributes_small}</a> {/if} <!-- Customizable datas --> {if isset($customizedDatas.$productId.$productAttributeId)} {if !isset($product.attributes_small)}<dd id="cart_block_combination_of_{$product.id_product}{if $product.id_product_attribute}_{$product.id_product_attribute}{/if}" class="{if $smarty.foreach.myLoop.first}first_item{elseif $smarty.foreach.myLoop.last}last_item{else}item{/if}">{/if} <ul class="cart_block_customizations" id="customization_{$productId}_{$productAttributeId}"> {foreach 1 Link to comment Share on other sites More sharing options...
rocky Posted July 2, 2010 Share Posted July 2, 2010 The forums converted the code to HTML, which makes it hard to check. Can you attach the file instead? Link to comment Share on other sites More sharing options...
ct1976 Posted July 3, 2010 Share Posted July 3, 2010 sorry! blockcart.docx Link to comment Share on other sites More sharing options...
ct1976 Posted July 3, 2010 Share Posted July 3, 2010 Can someone please advise me how to re-word from “Prices are tax excluded” to “Prices are VAT inclusive”.Just had a call that this line is putting customers off ordering Link to comment Share on other sites More sharing options...
rocky Posted July 3, 2010 Share Posted July 3, 2010 I can't see anything wrong with that file. Are you sure it is the same one on your server? If it is, there isn't anything I can do to help. There shouldn't be an error.You can go to Tools > Translations> Front Office translations, search for "Prices are tax excluded" and change the translation to "Prices are VAT inclusive", though that is confusing to translate "excluded" into "inclusive". Are you using "tax excluded" prices as "tax inclusive" prices? Link to comment Share on other sites More sharing options...
ct1976 Posted July 3, 2010 Share Posted July 3, 2010 finally found it, thankstranslations>modules 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