I built comma separated category list, and breadrumb trails in one of my Miva Feeds. I went based off the following code snippets:
https://docs.miva.com/code-samples/assigned-categories (for the category list)
https://gist.github.com/jtmurch42/c2...d4077d93f3f9c4 (for breadcrumbs)
The Category List works fine. The issue is if a product does not have a category assigned, the breadcrumb will populate with the previous products breadcrumb. How can I get it to leave the breadcrumbs blank if the product is not assigned to any category? I tried various conditionals with no success.
PLEASE HELP!!!!
https://docs.miva.com/code-samples/assigned-categories (for the category list)
https://gist.github.com/jtmurch42/c2...d4077d93f3f9c4 (for breadcrumbs)
The Category List works fine. The issue is if a product does not have a category assigned, the breadcrumb will populate with the previous products breadcrumb. How can I get it to leave the breadcrumbs blank if the product is not assigned to any category? I tried various conditionals with no success.
PLEASE HELP!!!!
Comment