I would like to add the URL of the channel entry I have selected (atm 2 channels are available to choose from), so I would like a url like:
summerhouses/product1
or
greehnouses/product2
how would I modify the code below to achieve this?
The code below just shows: /product1
{% for row in entry.homeFeaturedProducts.order('RAND()')|batch(4) %}
{% for entry in row %}
<h2 class="product-card-title"><a href="{{ entry.getUrl }}">{{ entry.title }}</a></h2>
<span class="product-card-desc">Product Description</span>
<span class="product-card-price">{{ entry.price }}</span>
{% endfor %}
{% endfor %}