Support » Plugin: WooCommerce » Page-ID of thank-you/order-received page not different anymore

  • Resolved mike8040

    (@mike8040)


    So I had a div element shown on the checkout page with page-ID selector and hidden on the TY page with its page-ID. Now after weeks I see that the element is missing in the checkout because now both pages have the same page ID. Some update must have changed it. Is WooC responsible for this and which selector can I use now for the thank-you page?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @mike8040 ,

    try this selector: .woocommerce-order-received
    Thanks
    Ahir Hemant

    Thread Starter mike8040

    (@mike8040)

    Wow, great. Works. Thanks a lot. Just curious. Is there are similar selector for the checkout if one don’t want to use the page-id?

    Ahir Hemant

    (@hemant-ahir)

    Hi
    you can use .woocommerce-checkout for checkout page, make sure this is for checkout page and not Order thank you page.

    Thanks
    Ahir Hemant

    Plugin Support MayKato woo-hc

    (@maykato)

    Hi @mike8040

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page-ID of thank-you/order-received page not different anymore’ is closed to new replies.