Site logo

Archived topic

GP WooCommerce Customizer

7 replies · Started by Ciji on June 12, 2020

Viewing posts 1–8 of 8

Hi,

When I uncheck the boxes for Product Title, image, and such under the General heading in the GP Customizer WooCommerce Tab, it removes each item from the product loop on the bottom of the checkout page (which is great!) as well as removing related products and upsells from my single products page (not so great) even though I have the 'Display related products' and 'Display upsell products' boxes checked under the Single Product heading.

Is there a way to keep the related products and upsells on the single product pages and still remove the product loop from the checkout page?

Thanks,
Ciji

Hi there,

The site you've linked requires a username and password to view.

Any chance you can unlock it so we can see the isshe?

Let me know :)

Thank you for getting back to me.

The site is now unlocked. My apologies.

You can see a single product page here: https://www.nwtw.org/staging/product/writers-room/
The checkout page is here: https://www.nwtw.org/staging/checkout/

I simply want to remove the product loop on the bottom of the check out page, but when I do it through the GP Customizer WooCommerce Tab it also removes the related products and upsells from the single products page- which I'd like to keep.

Hi there,

try adding this PHP Snippet:

remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' );

Thank you.

I tried that snippet (I use code snippets) but it doesn't remove the product loop on the checkout page (https://www.nwtw.org/staging/checkout/).

I think it might not work because the product loop isn't cross-sells. Is that possible?

I also have the "Distraction Free" checkbox selected in the GP Customizer WooCommerce under the Checkout heading, but the footer still shows up. Could that be a related issue?

That's strange that products are displaying in the checkout in the first place - how was that done?

The body classes for the checkout are saying it's a product archive, which is why they're displaying. Can you make sure the checkout page is only set as the checkout page (and not anything else) in your WooCommerce settings?

I'm embarrassed to say - That was it. Thank you.

Btw, I love the theme. Great work.

Glad I could help! Thank you :)

This archived topic is closed to new replies.