Overriding Templates

The Prodigy WordPress plugin includes a variety of PHP templates that control the frontend design of your store.  The templates included with the plugin can be found in the following directory:

prodigy-commerce/templates/partials

You should avoid modifying the templates in the plugin since any changes that you make directly in the plugin will be lost whenever you upgrade to a new version.  You can override these templates in your theme or child theme by creating a prodigy directory and copying the templates from the plugin into your theme.  For example, to override the Product Archive template you would copy the template from:

prodigy-commerce/templates/partials/archive-product.php

to:

<your-theme-or-child>/prodigy/archive-product.php

You should not include the partials subdirectory when copying templates to your theme, however, you should include any subdirectories that reside within the partials subdirectory.  As an example, to override the Single Product Title template, you would copy the template from:

prodigy-commerce/templates/partials/single-product/title.php

to:

<your-theme-or-child>/prodigy/single-product/title.php

Template Structure

Product Archive Templates

prodigy-commerce/partials/archive-product.php
prodigy-commerce/partials/taxonomy-product-category.php
prodigy-commerce/partials/taxonomy-product-tag.php
prodigy-commerce/partials/shop/content.php
prodigy-commerce/partials/shop/mobile-sortable.php
prodigy-commerce/partials/shop/no-search-results.php
prodigy-commerce/partials/shop/pagination.php
prodigy-commerce/partials/shop/products-loop-rating.php
prodigy-commerce/partials/shop/products-loop.php
prodigy-commerce/partials/shop/quick-view.php
prodigy-commerce/partials/shop/sidebar.php
prodigy-commerce/partials/shop/sortable.php

Single Product Templates

prodigy-commerce/partials/content-single-product.php
prodigy-commerce/partials/single-product.php
prodigy-commerce/partials/single-product-reviews.php
prodigy-commerce/partials/single-product/add-to-cart.php
prodigy-commerce/partials/single-product/breadcrumbs.php
prodigy-commerce/partials/single-product/categories.php
prodigy-commerce/partials/single-product/photoswipe.php
prodigy-commerce/partials/single-product/price.php
prodigy-commerce/partials/single-product/product-attributes.php
prodigy-commerce/partials/single-product/product-categories.php
prodigy-commerce/partials/single-product/product-image.php
prodigy-commerce/partials/single-product/product-sku.php
prodigy-commerce/partials/single-product/product-tags.php
prodigy-commerce/partials/single-product/product-thumbnails.php
prodigy-commerce/partials/single-product/range-price.php
prodigy-commerce/partials/single-product/rating.php
prodigy-commerce/partials/single-product/review-meta.php
prodigy-commerce/partials/single-product/review-rating.php
prodigy-commerce/partials/single-product/review.php
prodigy-commerce/partials/single-product/short-description.php
prodigy-commerce/partials/single-product/title.php
prodigy-commerce/partials/single-product/up-sell-products.php
prodigy-commerce/partials/single-product/variants.php
prodigy-commerce/partials/single-product/tabs/additional-information.php
prodigy-commerce/partials/single-product/tabs/description.php
prodigy-commerce/partials/single-product/tabs/tabs.php

Shortcode Templates

prodigy-commerce/partials/shortcode/pages/cart/common.php
prodigy-commerce/partials/shortcode/pages/cart/item.php
prodigy-commerce/partials/shortcode/active-filters.php
prodigy-commerce/partials/shortcode/attributes-filter.php
prodigy-commerce/partials/shortcode/banner.php
prodigy-commerce/partials/shortcode/breadcrumbs.php
prodigy-commerce/partials/shortcode/cart.php
prodigy-commerce/partials/shortcode/categories_grid.php
prodigy-commerce/partials/shortcode/categories-filter.php
prodigy-commerce/partials/shortcode/categories.php
prodigy-commerce/partials/shortcode/caregory_link_with_image.php
prodigy-commerce/partials/shortcode/category_link_without_image.php
prodigy-commerce/partials/shortcode/feature_products_grid.php
prodigy-commerce/partials/shortcode/feature_products.php
prodigy-commerce/partials/shortcode/feed_categories.php
prodigy-commerce/partials/shortcode/my-account.php
prodigy-commerce/partials/shortcode/price-filter.php
prodigy-commerce/partials/shortcode/related-grid-products.php
prodigy-commerce/partials/shortcode/related-slider-products.php
prodigy-commerce/partials/shortcode/search.php
prodigy-commerce/partials/shortcode/thank-you.php
prodigy-commerce/partials/shortcode/top-menu-catergories.php

Other Tmeplates

prodigy-commerce/partials/global/wrapper-end.php
prodigy-commerce/partials/global/wrapper-start.php
prodigy-commerce/partials/404.php
prodigy-commerce/partials/content-404.php