I am using the code below to display a list of items all with the same category, which works. However the URL is not want I would like displayed. The URL shows as DOMAIN/store/products/category/ceramics/264
This code is on the site index page and points to the store page: site/store/products/
I would like to remove the /264
How would I do this? I have Low Seg2Cat installed, but I’m not sure how to use it in this case?
The category group is 26 and is called ‘ceramics’, however the category added to the group is also called ‘ceramics’ and is 264!
The channel “promotional” has the ceramics group added to it under the Categories tab and the category ‘ceramics’ (264) is selected.
Could the issue be the the category group / category?
{exp:channel:entries channel="promotional" status="open" category="{last_segment}" limit="4"}
<div class="item {if count == 1}active{/if}"> <!-- Start .item -->
{promo_product_image}
{image:url}
{/promo_product_image}
<div class="container">
<div class="carousel-caption">
<h1>{promo_main_title}</h1>
{promo_product_description}
{categories show_group="26|25|28"}
<a href="http://{path=%27store/products%27}/{category_id}%22class=%22btn" class="btn btn-outline-white">View Details</a>
{/categories}
</div>
</div>
</div> <!-- End .item -->
{/exp:channel:entries}I have also tried this code, but it does not remove the /264.
{exp:channel:entries channel="promotional" status="open" category="{last_segment_category_id}" limit="4"}I would be most grateful for anyone’s help.