• How to use the conditional logic to display the side cart on every page of the website or only to a specific as the checkout page?

    Thanks for helping!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi angeloarlotta,

    Please read this documentation https://docs.woocommerce.com/document/conditional-tags/

    Best regards,

    Thread Starter angeloarlotta

    (@angeloarlotta)

    Hi @rosenguyen I added is_checkout() on the assign page field but the sidebar cart does not display.
    What I’m missing?

    Thanks,
    Angelo

    Hi,

    The sidebar cart is not designed to display on check out page.

    Best regards,

    • This reply was modified 5 years, 3 months ago by rosenguyen.
    Thread Starter angeloarlotta

    (@angeloarlotta)

    Hi,
    sorry you reported in the previous message: “You want to display the sidebar cart only on checkout page right? please use this structure:is_checkout()”

    I need to display the sidebar cart also in the checkout page, in addition to the others, why it should be not possible with conditional tags as you mention in the Sidebar Cart page settings “Set pages to display the sidebar cart using WP’s conditional tags”.

    I tried with is_checkout() as mentioned but it doesn’t works.

    Please how can I solve?

    Thank you very much for your support,
    Angelo

    Sorry for my mistake in the previous message.

    I have checked it again, and the sidebar Cart are not designed to display on Checkout page in our plugin. As you know, all the information in Sidebar Cart is displayed on Checkout Page as default, so the sidebar Cart for that page is not necessary. Therefore, the conditional tag will not work for checkout page.

    • This reply was modified 5 years, 3 months ago by rosenguyen.
    Thread Starter angeloarlotta

    (@angeloarlotta)

    All the informations in Sidebar Cart are displayed on checkout page, correct, but on the checkout page the items cannot be edited, so users should turn back, modify and reopen the checkout page. Instead, I think the sidebar cart is a quick tool for users that need to edit product quantity or delete some other one and then click on the button to reload the page, so in most cases it would be very useful to have the sidebar cart in the checkout page.

    Thank you for your explanation.

    We will forward it to our plugin developers.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Assign page’ is closed to new replies.