{"id":1666547,"date":"2020-09-15T12:47:46","date_gmt":"2020-09-15T12:47:46","guid":{"rendered":"https:\/\/toolset.com\/?post_type=course-lesson&#038;p=1666547"},"modified":"2021-05-31T07:27:10","modified_gmt":"2021-05-31T07:27:10","slug":"creating-custom-templates-for-single-product-pages","status":"publish","type":"course-lesson","link":"https:\/\/toolset.com\/fr\/course-lesson\/creating-custom-templates-for-single-product-pages\/","title":{"rendered":"Creating Custom Templates for WooCommerce Products"},"content":{"rendered":"\n<p>WooCommerce comes with a standard template for displaying your products. The theme you choose can make some styling changes and turn some features on or off, but anything more than that usually requires custom coding.<\/p>\n\n\n\n<p>With Toolset, you can create advanced features and have full control over your site\u2019s styling, with no coding necessary. You can recreate features you find on major retail sites, or dream up your own features and build them using custom post types and fields, post relationships, custom layouts, and more.<\/p>\n\n\n\n<p>Here are some ideas of some things you can do using Toolset:<\/p>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid tb-grid\" data-toolset-blocks-grid=\"56fb2f2e6ff89efa941db6eff432ee03\">\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"842dae4bd4b009e46f6932d3c170e0db\">\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"61fdc22dd9c522252d90a5ac52184db3\">\n<p class=\"has-text-align-center\"><strong>Create product Q&amp;As using forms and custom repeating fields<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"0defacad465a30a0d23fd252f3750aca\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/1.q-and-a.png\"><img decoding=\"async\" width=\"1024\" height=\"549\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/1.q-and-a-1024x549.png\" alt=\"Create product Q&amp;As using forms and custom repeating fields\" class=\"wp-image-2029599\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/1.q-and-a-1024x549.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/1.q-and-a-300x161.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/1.q-and-a-150x80.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/1.q-and-a-768x411.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/1.q-and-a-1536x823.png 1536w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/1.q-and-a-2048x1097.png 2048w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/1.q-and-a-805x431.png 805w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/1.q-and-a-840x450.png 840w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"e23313d3829fa61a8a8dbede105dbbb1\">\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"61fdc22dd9c522252d90a5ac52184db3\">\n<p class=\"has-text-align-center\"><strong>Display products by brand or designer using custom taxonomies<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"3d06778f989f006b8744108d89d5739e\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/2.brand-custom-taxonomy-1.png\"><img decoding=\"async\" width=\"1024\" height=\"549\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/2.brand-custom-taxonomy-1-1024x549.png\" alt=\"Display products by brand or designer using custom taxonomies\" class=\"wp-image-2029619\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/2.brand-custom-taxonomy-1-1024x549.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/2.brand-custom-taxonomy-1-300x161.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/2.brand-custom-taxonomy-1-150x80.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/2.brand-custom-taxonomy-1-768x411.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/2.brand-custom-taxonomy-1-805x431.png 805w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/2.brand-custom-taxonomy-1-840x450.png 840w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/2.brand-custom-taxonomy-1.png 1120w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"e6746b0a6040e3b1ee2a85c53b4757f9\">\n<p class=\"has-text-align-center\"><strong>Display upsells, and popular cross-sells using <a href=\"https:\/\/toolset.com\/fr\/course-lesson\/what-are-post-relationships-and-how-they-work\/\">post relationships<\/a><\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"1bd0fc2a09b8d23aa219534fca6f883a\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/3.upsells-cross-sells-1.png\"><img decoding=\"async\" width=\"1024\" height=\"549\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/3.upsells-cross-sells-1-1024x549.png\" alt=\"Display upsells, and popular cross-sells using post relationships\" class=\"wp-image-2029639\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/3.upsells-cross-sells-1-1024x549.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/3.upsells-cross-sells-1-300x161.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/3.upsells-cross-sells-1-150x80.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/3.upsells-cross-sells-1-768x411.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/3.upsells-cross-sells-1-805x431.png 805w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/3.upsells-cross-sells-1-840x450.png 840w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/3.upsells-cross-sells-1.png 1120w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"e6746b0a6040e3b1ee2a85c53b4757f9\">\n<p class=\"has-text-align-center\"><strong>Share special offers using conditional blocks with information from custom fields<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"1e3e5d0cf88f75d9df4a58abe585da23\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/4.special-offer-1.png\"><img decoding=\"async\" width=\"1024\" height=\"549\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/4.special-offer-1-1024x549.png\" alt=\"Share special offers using conditional blocks with information from custom fields\" class=\"wp-image-2029659\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/4.special-offer-1-1024x549.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/4.special-offer-1-300x161.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/4.special-offer-1-150x80.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/4.special-offer-1-768x411.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/4.special-offer-1-805x431.png 805w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/4.special-offer-1-840x450.png 840w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/4.special-offer-1.png 1120w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"2a884c7c6732dc22da8dae9ff3e68959\">\n<p class=\"has-text-align-center\"><strong>Create shoppable outfit inspiration using post relationships<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"c4522375c282cab079fe7b67cd22b448\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/8.products-per-outfit-1.png\"><img decoding=\"async\" width=\"1024\" height=\"549\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/8.products-per-outfit-1-1024x549.png\" alt=\"Create shoppable outfit inspiration using post relationships\" class=\"wp-image-2029681\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/8.products-per-outfit-1-1024x549.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/8.products-per-outfit-1-300x161.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/8.products-per-outfit-1-150x80.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/8.products-per-outfit-1-768x411.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/8.products-per-outfit-1-1536x823.png 1536w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/8.products-per-outfit-1-2048x1097.png 2048w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/8.products-per-outfit-1-805x431.png 805w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/8.products-per-outfit-1-840x450.png 840w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-toolset-blocks-grid-column tb-grid-column tb-grid-align-top\" data-toolset-blocks-grid-column=\"3034fbe886c11054e95b46b09d3e4112\">\n<div class=\"wp-block-toolset-blocks-container tb-container\" data-toolset-blocks-container=\"2a884c7c6732dc22da8dae9ff3e68959\">\n<p class=\"has-text-align-center\"><strong>Show your store locations on a map using custom views<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"3863f3c16ac90dc2a644d208d0f82d4c\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/6.store-locations.png\"><img decoding=\"async\" width=\"1024\" height=\"549\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/6.store-locations-1024x549.png\" alt=\"Show your store locations on a map using custom views\" class=\"wp-image-2029691\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/6.store-locations-1024x549.png 1024w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/6.store-locations-300x161.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/6.store-locations-150x80.png 150w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/6.store-locations-768x411.png 768w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/6.store-locations-1536x823.png 1536w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/6.store-locations-2048x1097.png 2048w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/6.store-locations-805x431.png 805w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/6.store-locations-840x450.png 840w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div><\/div>\n<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">How to Design Product Templates<\/h2>\n\n\n\n<ol class=\"wp-block-list\"><li>Go to <strong>Toolset <\/strong>\u2192 <strong>Dashboard <\/strong>and click the <strong>Create Content Template<\/strong> button in the <strong>Products<\/strong> row.<\/li><li>Use the WordPress Block Editor to design your template.<\/li><li>Insert the Toolset <strong>Heading <\/strong>and <strong>Single Fields<\/strong> blocks with dynamic sources to display your product title, content, custom fields and taxonomies.<\/li><li>Choose blocks from the <strong>Toolset WooCommerce<\/strong> section to display WooCommerce elements such as the <strong>Add to Cart Button<\/strong>, <strong>Product Price<\/strong>, <strong>Rating<\/strong>, and more. You will notice that all Toolset WooCommerce blocks allow you to <a href=\"https:\/\/toolset.com\/fr\/course-lesson\/selecting-woocommerce-blocks-output-type\/\">select a custom or native output type<\/a>.<\/li><\/ol>\n\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-media aligncenter\" data-toolset-blocks-image=\"fc580ee4927fef139b8a3d3abd2b06cd\"><img decoding=\"async\" width=\"730\" height=\"456\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2020\/10\/toolset-woocommerce-single-product-page-standard-elements.png\" alt=\"\" class=\"wp-image-1802635\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2020\/10\/toolset-woocommerce-single-product-page-standard-elements.png 730w, https:\/\/toolset.com\/wp-content\/uploads\/2020\/10\/toolset-woocommerce-single-product-page-standard-elements-300x187.png 300w, https:\/\/toolset.com\/wp-content\/uploads\/2020\/10\/toolset-woocommerce-single-product-page-standard-elements-150x94.png 150w\" sizes=\"auto, (max-width: 730px) 100vw, 730px\" \/><div class=\"tb-image-caption\"><figcaption>Standard elements of a single-product page<\/figcaption><\/div><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\" tb-image tb-image-dynamic aligncenter\" data-toolset-blocks-image=\"17b74ab63aa94adfdcb78d762bae554a\"><a href=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/toolset-woocommerce-blocks-insert-dialog.png\"><img decoding=\"async\" width=\"350\" height=\"653\" loading=\"lazy\" src=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/toolset-woocommerce-blocks-insert-dialog.png\" alt=\"\" class=\"wp-image-2019645\" srcset=\"https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/toolset-woocommerce-blocks-insert-dialog.png 350w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/toolset-woocommerce-blocks-insert-dialog-161x300.png 161w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/toolset-woocommerce-blocks-insert-dialog-80x150.png 80w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/toolset-woocommerce-blocks-insert-dialog-279x520.png 279w, https:\/\/toolset.com\/wp-content\/uploads\/2021\/04\/toolset-woocommerce-blocks-insert-dialog-300x560.png 300w\" sizes=\"auto, (max-width: 350px) 100vw, 350px\" \/><\/a><div class=\"tb-image-caption\"><figcaption>Toolset WooCommerce Blocks section<\/figcaption><\/div><\/figure>\n<\/div>\n\n\n<p>Be sure to check out our detailed lesson that explains how to <a href=\"https:\/\/toolset.com\/fr\/course-lesson\/displaying-images-with-toolset\/\">display images with Toolset<\/a>.<\/p>\n","protected":false},"author":4341,"featured_media":1712647,"template":"","related-lesson":[8445],"class_list":["post-1666547","course-lesson","type-course-lesson","status-publish","has-post-thumbnail","hentry","related-lesson-e-commerce"],"_links":{"self":[{"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/course-lesson\/1666547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/course-lesson"}],"about":[{"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/types\/course-lesson"}],"author":[{"embeddable":true,"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/users\/4341"}],"version-history":[{"count":8,"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/course-lesson\/1666547\/revisions"}],"predecessor-version":[{"id":2072247,"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/course-lesson\/1666547\/revisions\/2072247"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/media\/1712647"}],"wp:attachment":[{"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/media?parent=1666547"}],"wp:term":[{"taxonomy":"related-lesson","embeddable":true,"href":"https:\/\/toolset.com\/fr\/wp-json\/wp\/v2\/related-lesson?post=1666547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}