Tagged: x
-
AuthorPosts
-
November 26, 2016 at 5:46 am #1271407
warhostParticipantHi,
I am trying to move the Cross-Sells below the cart table (where it says the prices).
How is this done properly?
I tried adding a filter according to this, but had no success:
// Remove Cross Sells From Default Position
remove_action( ‘woocommerce_cart_collaterals’, ‘woocommerce_cross_sell_display’ );
// ———————————————
// Add them back UNDER the Cart Table
add_action( ‘woocommerce_after_cart_table’, ‘woocommerce_cross_sell_display’ );Any ideas?
November 26, 2016 at 1:11 pm #1271569
Nabeel AModeratorHi there,
Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.
November 27, 2016 at 4:08 am #1272012
warhostParticipantThis reply has been marked as private.November 27, 2016 at 5:03 am #1272035
ChristianModeratorPlease use this
remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' ); add_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display', 50 );Tested that in my test site and it works.
Thanks.
December 1, 2016 at 11:21 am #1277635
warhostParticipantHi,
I added this, but now there are no cross sells shown at all in the checkout.
December 1, 2016 at 5:41 pm #1278067
RadModeratorHi there,
Would you mind providing your FTP login credentials as well? And please provide a mockup design of how it should be. Filters and hooks has limitation, it can’t go further where it’s assigned. Maybe your target location doesn’t have that hook.
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1271407 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
