FSE Templates Getting Duplicated when using PODS custom fields
-
Hello,
My goal is to create product category pages to have dynamic content. Im using FSE and trying to edit my Product Category Template. For example I want a gallery related to a product category and for it to be pulled dynamically. It works at first but twice now I have ran into the issue where my product category template just keeps on duplicating. (first photo below for ref)
I have 2 PODS, one is taxonomy extended pod for product category and the other is a custom post type pod. This custom post type has a connection to my product categories.
The reason I have it set up that way is because the plugin i’m using (greenshift) to create a dynamic gallery block only lets you chose from post type and then a custom field. Since product category is a taxonomy I cant pull a custom field from that. So thus I set up the custom post type related to the category and upload my gallery there to pull that dynamically.
Like I referenced above it works at first for a while then randomly it starts creating duplicate template pages anytime I open the product by category template to edit it and the product category archive starts to behave weird.
When I try to delete the duplicate templates at first it wont let me because it says its published by woocommerce, so i try to clear the customizations and at first it says e.substr is not a function, but then it reverts to saying I published it and it lets me delete it. (second photo attached for ref)
Hope I explained this all in a way that made sense, i’m very new to web development but any help would be greatly appreciated thanks!
The topic ‘FSE Templates Getting Duplicated when using PODS custom fields’ is closed to new replies.