Sam-AUST Posted March 15, 2016 Share Posted March 15, 2016 File attached shows how the update / delete buttons appear in shopping cart (not all the time, only sometimes). This is in the bootstrap version. Does anyone know how to prevent? I was using Chrome at the time. Link to comment Share on other sites More sharing options...
Sam-AUST Posted July 23, 2016 Author Share Posted July 23, 2016 Alternatively, does anyone know how to change the update and delete buttons to words instead of symbols? Link to comment Share on other sites More sharing options...
♥14steve14 Posted July 24, 2016 Share Posted July 24, 2016 @@Sam-AUST Hopefully I will get this right. I too wanted to add text to the images on the update and remove buttons and this is what was done for me. I hope Gary will not mind me mentioning this change. To change the buttons to add text find in shopping_cart.php file $products_name .= '<br>' . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'style="width: 65px;" min="0"', 'number') . tep_draw_hidden_field('products_id[]', $products[$i]['id']) . ' ' . tep_draw_button(NULL, 'fa fa-refresh', NULL, NULL, NULL, 'btn-info btn-xs') . ' ' . tep_draw_button(NULL, 'fa fa-remove', tep_href_link(FILENAME_SHOPPING_CART, 'products_id=' . $products[$i]['id'] . '&action=remove_product'), NULL, NULL, 'btn-danger btn-xs'); Replace it with $products_name .= '<br>' . tep_draw_input_field('cart_quantity[]', $products[$i]['quantity'], 'style="width: 65px;" min="0"', 'number') . tep_draw_hidden_field('products_id[]', $products[$i]['id']) . ' ' . tep_draw_button(CART_BUTTON_UPDATE, 'fa fa-refresh', NULL, NULL, NULL, 'btn-info btn-xs') . ' ' . tep_draw_button(CART_BUTTON_REMOVE, 'fa fa-remove', tep_href_link(FILENAME_SHOPPING_CART, 'products_id=' . $products[$i]['id'] . '&action=remove_product'), NULL, NULL, 'btn-danger btn-xs'); Then add to your includes/language/english/shopping_cart.php file define('CART_BUTTON_UPDATE', 'Update'); define('CART_BUTTON_REMOVE', 'Remove'); Just remember that this is a core code change and should you ever update all your files to a later version you will have to redo this manual change. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Sam-AUST Posted July 25, 2016 Author Share Posted July 25, 2016 Ty, will try asap. Link to comment Share on other sites More sharing options...
burt Posted July 27, 2016 Share Posted July 27, 2016 @@14steve14 @@Sam-AUST https://github.com/gburton/Responsive-osCommerce/commit/e63c1715b7a68b52706c6d1c0444ee4bd1bbda6f No reason why not Core. So I added it. That's the way I roll. Link to comment Share on other sites More sharing options...
Sam-AUST Posted July 27, 2016 Author Share Posted July 27, 2016 Haha fair enough! A question for @@burt - If someone was to use BS for a working shop right now, July 2016, what version should it be? Link to comment Share on other sites More sharing options...
burt Posted July 27, 2016 Share Posted July 27, 2016 In my opinion: Edge. Gold is Old. Link to comment Share on other sites More sharing options...
Sam-AUST Posted July 27, 2016 Author Share Posted July 27, 2016 Does that mean it is stable enough? I guess so if you're saying use it LOL Link to comment Share on other sites More sharing options...
♥14steve14 Posted July 27, 2016 Share Posted July 27, 2016 @@14steve14 @@Sam-AUST https://github.com/gburton/Responsive-osCommerce/commit/e63c1715b7a68b52706c6d1c0444ee4bd1bbda6f No reason why not Core. So I added it. That's the way I roll. Gary, I think this was a change that I asked you to make on my site as my older generation customers may have gotten confused without the text. REMEMBER BACKUP, BACKUP AND BACKUP Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.