According to the WordPress Codex
archive-{post_type}.php
So, in your case (depending on your naming):
archive-products.php
If you have a custom taxonomy archive also, then the challenge is structuring your archive to represent the proper taxonomy template.
If you need to have a custom taxonomy archive, I would recommend that you use the post-type archive structure above, and then within the archive file, determine the taxonomy that is being used, and load a template part.
Sample psuedo-code (on archive-products.php):
$tax = get_query_var( 'taxonomy' );
$term = get_query_var( 'term' );
if ($tax == 'your_taxonomy') {
get_template_part('my_slug', 'my_name');
} else {
// get the default template part...
}
Related Posts:
- Custom Post Type Archives by Date and Taxonomy
- Page is defaulting to archive page and not designated template
- Custom Post Type Archive URL takes over page URL
- where can I see my custom post type archive template?
- get_categories for custom post type and filter by custom taxonomy (brand) and list child categories of a defined category
- Category page only displaying the posts from a custom type
- How to list custom post types?
- How to show the archive / post type description on Single templates
- Hierarchical Custom Post Types – Show only parent on tax archive?
- Custom template page with custom archives listing by user
- Create template for taxonomy results limited by Custom Post Type
- How do I check if the user is on a taxonomy term parent, child or grandchild page?
- WordPress Doesn’t Generate Taxonomy Archive
- How can I get this request to use the Custom Post Type page template instead?
- Archive for a Taxonomy of a Custom Post type
- how to remove pages loading with the archive templates
- How can I use archive-{post_type}.php theme template?
- Use the custom post type archive for taxonomies?
- Custom Post Type setup
- How to constrain the results to a specific post_type on tag archive page?
- Archive Template being used instead of Category Template for Custom Post Type
- How can I allow users to edit text that will be displayed on a custom post type archive page?
- Custom post types not showing on the standard WordPress Category page
- Archive for custom taxonomy
- Turning archive templates to a page template maintaining the slug
- Taxonomy template file not working with a taxonomy that contains a slash
- One of my headings is mysteriously coming up as a link in my CPT Archive
- Single taxonomy for different custom post types
- I want to create an archive and single page for a custom taxonomy for a custom post type
- Organising custom taxonomies and custom post types
- Custom Post Type tag taxonomy “Page Not Found”
- How to display custom post types AND regular posts separately on a shared taxonomy archive?
- How can I set up the URL for a category archive for a custom post type?
- Custom Post Type Template based on Taxonomy
- how to pass args for archive.php query?
- Show custom category archive as front page and remove taxonomy slug from urls
- Get custom post type slug for an archive page
- How to pass URL parameters for advanced taxonomy queries with multiple terms for one custom taxonomy
- Custom Taxonomy’s Label to change the text appearing in Appearance > Menu
- How to limit the number of terms (terms acts like categories)
- Custom Post Type – Taxonomy Dropdown Menu?
- How can I list all the categories under a Custom Post Type (taxonomy)?
- Query Custom Post Type taxonomy type based on page
- Change title in head on Archive page
- Using 1 taxonomy for multiple post types?
- Disable Single Post View for Specific Taxonomy on Custom Post Type
- How to query custom posts using a dynamic category
- How to get a list of term names of the custom post type im currently on in single.php
- Custom Permalinks for Custom post Type Archives?
- is_singular won’t call my functions?
- How to show term-specific post list, without posts associated with child terms?
- Custom Post Type with Custom Title
- Create Pages from Database
- Pages, Custom Posts & Custom Taxonomy defining slug structure
- Get the most popular terms for a custom post type
- Custom taxonomy archive page not working
- wrong template for page of archive
- Include different loop templates in search query
- Custom post type taxonomy template
- Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?
- CPT: archive-cpt.php VS custom page template
- Taxonomy Templates
- Bug when editing custom post type category?
- Having trouble understanding custom post type and taxonomy :/
- Display custom post type taxonomies as an archive page
- tax_query returning all posts instead of selective posts in WP_Query
- get the custom post type title/name
- Get archive post type name
- How to build custom route by adding taxonomies to URL ? ex: www.demo.com/communities/palo-alto/
- Custom post with more than one custom taxonomy
- Get the taxonomy of a post hierarchically
- How to specify a template for a path like http://example.com/something?
- Categories and tags for custom post types
- WordPress 3.9 not using custom template
- How to Create Template File for Parent Page of Custom Post Type
- Custom post_type search pages
- How to get all Custom Post Type Filtered by one Specific Taxonomy Term
- Archive-posttype.php isn’t loaded
- How to rewrite custom taxonomy term archive to use THE SAME SLUG/front as CPT
- Get assigned post categories
- Query custom post types & Taxonomies and list them in a table on a page
- How can I relate custom post types?
- Tag template not returning posts [closed]
- How to achieve a multi-taxomony layout with posts?
- Filter taxonomy by CPT
- Custom Post Taxonomy Template Not Loading Properly
- How to get current post type?
- Tell wordpress to show a single page instead of an archive page
- Templating advice sub posts of a CTP
- Can I organise my custom post types by page?
- Wrap an X amount of taxonomy posts in a separate Row in WordPress
- Site loads very slow for archive custom post type page
- Default taxonomy ‘post_tag’ added to CPT managing by custom role : nothing in the metabox
- Custom post type post taxonomies
- Problems with custom post type and hierarchical permalinks
- Structure of custom post type / taxonomy?
- WP_Query is getting the post but the_post() not rendering any Post
- Display associated taxonomy child name on single CPT page
- Issue On Listing Woocommerce Parent Tag List
- Why isn’t page attributes dropdown not showing up in a custom post type