====== Upgrading to v0.2.5 ===== //**Note:** These notes are specifically geared towards upgrading from v0.2.4.// Please make sure you review the [[http://www.foxycart.com/foxycart-v0.2.5.html|changelog]] before upgrading. [[http://www.foxycart.com/foxycart-v0.2.5.html|v0.2.5]] included two significant changes that will require changes to your CSS. ==== New "Remove" Buttons on Cart ==== Three new ''spans'' have been added with the classes: * ''fc_cart_remove_left'' * ''fc_cart_remove_center'' * ''fc_cart_remove_right'' Our recommendation is to hide the left and right spans by adding this to your CSS: span.fc_cart_remove_left, span.fc_cart_remove_right { display:none; } You can also use our "standard" theme to style the remove link by adding this: #fc_cart_table .fc_cart_remove_link { width:20px; height:0px; overflow:hidden; padding:16px 0px 0px 0px; display:block; background:url(https://www.foxycart.com/themes/standard/images/cart_item_remove.png) no-repeat 8px -3px; } #fc_cart_table .fc_cart_remove_link:hover { background-position:8px -27px; } The old cart HTML: Product Name $19.98 ($9.99 each) The new cart HTML: Product Name [x] [x] $19.90 ($9.95 each) [x] ==== New Cart Controls ==== The "Update" and "Checkout" buttons have been updated, and now appear both above and below the cart table. We recommend taking advantage of this, and modifying your CSS to apply to both the top and bottom set of buttons. Change/split all your ''#fc_cart_controls'' declarations to ''#fc_cart_controls_top'' and ''#fc_cart_controls_bottom''. Similarly, change/split all your ''#fc_cart_update'', ''#fc_cart_checkout'' and ''#fc_cart_notice'' to ''_top'' and ''_bottom'' suffixes. Old cart HTML:
Update Cart Check Out
New cart HTML:
Update Cart Check Out
Update Cart Check Out