What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello everyone! Our application is using Glue to gather some data from a Spryker shop and we need do

UMLFT1ARJ
UMLFT1ARJ Posts: 2 🧑🏻‍🚀 - Cadet
edited August 2019 in Help

Hello everyone! Our application is using Glue to gather some data from a Spryker shop and we need do display links to those returned entities, but those links should lead to Yves, such that a user in our backend can visit the entities in the shop frontend. Glue seems to only return links to Glue itself, how can we build respective links to Yves? Or where is such a transition observable in the core? Thanks in advance!

Comments

  • UK5DS29L2
    UK5DS29L2 Posts: 546 🧑🏻‍🚀 - Cadet

    My guess you should write your own REST controller without changing core Glue responses because it will be hard to update this later if you do.

  • UK5DS29L2
    UK5DS29L2 Posts: 546 🧑🏻‍🚀 - Cadet
    edited August 2019

    cannot find anything EXACTLY but I believe \SprykerShop\Yves\ProductDetailPage\Controller\ProductController::getProductUrl might be a good place to start

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Hi Robin, as per our Glue developers there is an epic in the development that is close to be released that will add Yves links for abstract-products, category-trees and category-nodes.

  • UMLFT1ARJ
    UMLFT1ARJ Posts: 2 🧑🏻‍🚀 - Cadet

    Hey, thank you both 🙂 Sounds good @valerii.trots 👍