Dominator69 Posted September 26, 2011 Posted September 26, 2011 In the shopping_cart.php there are 2 words that they are not in the translation files is there a way to define them in one of the translation files $products_name .= '<br /><br />' . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']) . tep_draw_button(IMAGE_BUTTON_UPDATE, 'refresh') . ' or <a href="' . tep_href_link(FILENAME_SHOPPING_CART, 'products_id=' . $products[$i]['id'] . '&action=remove_product') . '">remove</a>'; words are "or" and "remove" thanks in advance !
multimixer Posted September 26, 2011 Posted September 26, 2011 in file catalog/includes/languages/your_language/shopping_cart.php add before the lasr closing ?> define('TEXT_CART_REMOVE', 'remove'); define('TEXT_CART_OR', 'or'); Then change the line you posted in file catalog/shopping_cart.php to be $products_name .= '<br /><br />' . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'size="4"') . tep_draw_hidden_field('products_id[]', $products[$i]['id']) . tep_draw_button(IMAGE_BUTTON_UPDATE, 'refresh') . ' ' . TEXT_CART_OR . ' <a href="' . tep_href_link(FILENAME_SHOPPING_CART, 'products_id=' . $products[$i]['id'] . '&action=remove_product') . '">' . TEXT_CART_REMOVE . '</a>'; My community profile | Template system for osCommerce - New: Responsive | Feedback channel
Recommended Posts
Archived
This topic is now archived and is closed to further replies.