Hello @a101web,
Thanks for posting in!
The code you were talking about has been added in /framework/functions/plugin/woocommerce.php
on line 311:
// Cross Sells (Cart Only)
// =============================================================================
function x_woocommerce_output_cross_sells() {
if ( x_get_option( 'x_woocommerce_cart_cross_sells_enable' ) == '1' ) {
$count = x_get_option( 'x_woocommerce_cart_cross_sells_count' );
$columns = x_get_option( 'x_woocommerce_cart_cross_sells_columns' );
woocommerce_cross_sell_display( $count, $columns, 'rand' );
}
}
remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' );
add_action( 'woocommerce_cart_collaterals', 'x_woocommerce_output_cross_sells', 21 );
If it is not in your current installed version, please re-install your X theme. You may need to go to Appearance > Themes and delete the X theme. You can then upload a fresh copy of the X theme. Use the Theme Options Manager in X > Validation screen to backup your theme option settings.
If nothing is helping, provide us access to your site so that we can check your settings. Please create a secure note with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
To know how to create a secure note, please check this out: How The Forum Works
Best Regards.