You can customize the item name display in the shopping cart by overriding the default output.
By default, the item name will link to the page where the item was added from. In the following section I will show you how it can be overridden and the link is removed.
The “wspsc_cart_item_name” filter can be used to override the item name that gets displayed in the shopping cart.
Add the following block of code to your functions.php file of the theme which will replace the linked item name with just plain text name:
add_filter('wspsc_cart_item_name', 'wspsc_customize_cart_item_name', 10, 2); function wspsc_customize_cart_item_name( $item_name, $item ){ $item_name = esc_attr( $item['name'] ); return $item_name; }
Note: We provide technical support for our premium plugins via our customer only support forum