imlifu Posted July 30, 2006 Share Posted July 30, 2006 I installed "Switch Between Inc and Ex Tax_v1_RC2" contribution, once I click on button switch shown inc and ex tax button, there are no price changed, what I did wrong, any helps will be greatly appreciated Quote Link to comment Share on other sites More sharing options...
imlifu Posted July 30, 2006 Author Share Posted July 30, 2006 Yes it works eventually after i setup new tax zone for my country. but the button of switch doesn't showup, I loaded the button pic file to includes/language/english as instructed. how to do to let the picture of button comes out? Quote Link to comment Share on other sites More sharing options...
imlifu Posted July 31, 2006 Author Share Posted July 31, 2006 the button of switch doesn't showup, only shows a red cross inside, no button picture Quote Link to comment Share on other sites More sharing options...
promosat Posted August 18, 2007 Share Posted August 18, 2007 the button of switch doesn't showup, only shows a red cross inside, no button picture hi add this to catalog/includes/boxes/ shopping_cart.php // ==== START CONTRIBUTION "Switch between displaying prices Inc./Ex. VAT" =================================== $info_box_contents = array(); if ($vat_disp == '1') { $info_box_contents[] = array('align' => 'center', 'text' => SWITCHING_VAT_DISPLAYED . '<br><b>' . SWITCHING_VAT_INC . '</b>'); } else { $info_box_contents[] = array('align' => 'center', 'text' => SWITCHING_VAT_DISPLAYED . '<br><b>' . SWITCHING_VAT_EX . '</b>'); } if ($vat_disp == '1') { $info_box_contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency', 'vat_disp')) . 'vat_disp=0') . '">' . tep_image_button('button_inc_ex_vat.gif', SWITCHING_VAT_CHANGE_TO_EX) . '</a>'); } else { $info_box_contents[] = array('align' => 'center', 'text' => '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency', 'vat_disp')) . 'vat_disp=1') . '">' . tep_image_button('button_inc_ex_vat.gif', SWITCHING_VAT_CHANGE_TO_INC) . '</a>'); } new infoBox($info_box_contents); // ==== FINISH CONTRIBUTION "Switch between displaying prices Inc./Ex. VAT" =================================== and Upload the attached 'button_inc_ex_vat.gif' to your relevant language file(s): "catalog/includes/language/ENGLISH/images/buttons" "catalog/includes/language/GERMAN/images/buttons" "catalog/includes/language/ESPANOL/images/buttons" fo me all working fine Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.