Skip to content

Automatic backlink #7458

Answered by winnerlein
perevezencev asked this question in Q&A
Discussion options

You must be logged in to vote

You need to use a computed (back)link for products instead of a normal link, just like you're already using a computed link for Category.parent.

Additionally, I recommend one-to-many links over many-to-one links, i.e. the single link should be the normal link, and the many link should be computed. In your case Category.parent and Product.category should be the normal links, and Category.subcategories and Categories.products should be computed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by perevezencev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants