[Resolved] GP WooCommerce Customizer

Home Forums Support GP WooCommerce Customizer

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1325707
    Ciji

    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

    #1325841
    Leo
    Staff
    Customer Support

    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 🙂

    #1326473
    Ciji

    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.

    #1326547
    David
    Staff
    Customer Support

    Hi there,

    try adding this PHP Snippet:

    remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cross_sell_display' );

    #1326719
    Ciji

    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?

    #1326837
    Tom
    Lead Developer
    Lead Developer

    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?

    #1326875
    Ciji

    I’m embarrassed to say – That was it. Thank you.

    Btw, I love the theme. Great work.

    #1327589
    Tom
    Lead Developer
    Lead Developer

    Glad I could help! Thank you 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.