• Resolved dabeed

    (@dabeed)


    We’re modifying the My Account menu/order via woocommerce_account_menu_items and are therefore trying to add Wishlist to that new menu/order as an endpoint using woocommerce_account_wishlist_endpoint. However, we’re not quite sure what to use for get_template_part. We’ve tried things like ../../wp-content/plugins/ti-woocommerce-wishlist/templates/ti-wishlist and several others, but at best we’ve only seen the lower buttons for “apply action”, “add selected to cart” and “add all to cart” display. Things that have been added to the wishlist don’t display.

    We’ve also tried making My Account the parent page of the Wishlist page, but that also doesn’t display any items already in the wishlist (and doesn’t then allow us to modify the menu/order via woocommerce_account_menu_items.

    Is there are particular path and filename we can use for get_template_part for the endpoint?

    Thanks!!

    • This topic was modified 2 years, 6 months ago by dabeed.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author templateinvaders

    (@templateinvaders)

    Hi @dabeed

    In version 2.0.0 of our plugin, we added the feature to set up the wishlist page as the WooCOmmerce My account endpoint. It requires enabling the “Require Login” option in plugin settings.

    Thread Starter dabeed

    (@dabeed)

    That doesn’t appear to work. While the URL remains under /my-account/, the structure is not that of the WooCommerce Account page. For example, there is no woocommerce-account body class, the My Account menu, <nav class=”woocommerce-MyAccount-navigation”>, is gone.

    How do we make it so that it actually IS an endpoint inside My Account (not just the URL) and not simply added to the initial menu, which then disappears as soon as you click on Wish List?

    Plugin Author templateinvaders

    (@templateinvaders)

    Hi @dabeed

    Did you try to enable the option “Setup wishlist page under WooCommerce My Account section”?
    It’s exactly what you asked.

    Thread Starter dabeed

    (@dabeed)

    Yes:
    https://snipboard.io/e3O2Hk.jpg

    If you then go to My Account (renamed My Garage here) you see the menu on the left:
    https://snipboard.io/SP9UhO.jpg

    On that page there is a woocommerce-account body class:
    https://snipboard.io/h6NnJA.jpg

    And the structure includes a wrapping “woocommerce” div, nav.woocommerce-MyAccount-navigation, and div.woocommerce-MyAccount-content:
    https://snipboard.io/VKIbur.jpg

    But when you go to the Wish List (renamed Parts List here), while the URL is /my-account/wishlist-manage/ – the menu is gone:
    https://snipboard.io/MHQo3g.jpg

    There is no woocommerce-account body class:
    https://snipboard.io/wkFZnf.jpg

    And while there is a wrapping “woocommerce” div, the rest of the structure is different:
    https://snipboard.io/mRvNjc.jpg

    What we want is for the entire user experience of the wish list to be IN My Account such that the user can then navigate to any other part of My Account while they are working on their wish list.

    Is this possible?

    • This reply was modified 2 years, 6 months ago by dabeed.
    Plugin Author templateinvaders

    (@templateinvaders)

    Hi @dabeed

    You are using the premium version of our plugin but we mentioned above that such feature appear from version 2.0.0 of our plugin. The premium version major update will be available in a couple of days.

    You activated the option to place just a menu item on my account navigation linked to wishlist page while the new feature will setup wishlist under my account section.

    Thread Starter dabeed

    (@dabeed)

    Great! Looking forward to it!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Wishlist as My Account endpoint’ is closed to new replies.