{"id":340,"date":"2021-05-20T06:27:49","date_gmt":"2021-05-20T06:27:49","guid":{"rendered":"https:\/\/utillz.com\/docs\/heilz\/listing\/action\/action-type-purchase\/"},"modified":"2024-05-20T11:53:34","modified_gmt":"2024-05-20T11:53:34","slug":"action-type-purchase","status":"publish","type":"page","link":"https:\/\/utillz.com\/docs\/heilz\/listing\/action\/action-type-purchase\/","title":{"rendered":"Action type purchase"},"content":{"rendered":"<p>The purchase action type allows you and your visitors to sell anything under this action. The price will be calculated based on multiple criteria, like service fees, addons selection and more.<\/p>\n<p>Learn how to <a class=\"\" href=\"https:\/\/utillz.com\/docs\/heilz\/listing\/action\/\">add an action type to your listings<\/a>.<br \/>\n<img loading=\"lazy\" class=\"alignnone wp-image-341 size-full\" style=\"max-width: 65%;\" src=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Sed-interdum-auctor-elit-vel-finibus-magna-semper-vitae-\u2013-Heilz.png\" alt=\"\" width=\"517\" height=\"522\" srcset=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Sed-interdum-auctor-elit-vel-finibus-magna-semper-vitae-\u2013-Heilz.png 517w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Sed-interdum-auctor-elit-vel-finibus-magna-semper-vitae-\u2013-Heilz-297x300.png 297w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2021\/09\/Sed-interdum-auctor-elit-vel-finibus-magna-semper-vitae-\u2013-Heilz-150x150.png 150w\" sizes=\"(max-width: 517px) 100vw, 517px\" \/><\/p>\n<h3 id=\"pricing\">Pricing<\/h3>\n<p>If you have already added this to your listing action type, as a next step, you need to enable the <a class=\"\" href=\"https:\/\/utillz.com\/docs\/heilz\/monetize-your-business\/#enable-listing-pricing\">listing pricing<\/a> and trigger the price field for your listings. Edit your listing type and navigate to <strong>Listings <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Pricing<\/strong>, then check the option <strong>Allow pricing<\/strong>.<\/p>\n<h3 id=\"create-a-product\">Create a product<\/h3>\n<p>We are using <strong>WooCommerce<\/strong> as an eCommerce platform. Now that you have your action type and the pricing is enabled, we need a WooCommerce product in order to process the payments. Go to your admin dashboard, <strong>Products <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Add New<\/strong>, then name your product, leave everything else empty for now, and change the product data to <strong>Listing Purchase<\/strong>, then publish the product<strong>.<\/strong><\/p>\n<p>So far, so good. Now, go back to your listing type, navigate to Listing <i class=\"material-icon-arrow_right_alt __arrow\"><\/i> Action, expand your Purchase action type and select that same product in the option <strong>Select product<\/strong>.<\/p>\n\r\n        <div class=\"warning warning-info has--tooltip\">\r\n                            <span class=\"__tooltip\">Good to know<\/span>\r\n                        <div class=\"__inner\">\r\n                <div class=\"__content\">\r\n                    <p>If you don&#8217;t do that, it won&#8217;t allow you to process the payment, and you will get an error message about missing a product.<\/p>\r\n                <\/div>\r\n            <\/div>\r\n        <\/div>\r\n\r\n        \n<h4 id=\"other-articles-you-should-consider-reading\">Other articles you should consider reading<\/h4>\n<ul>\n<li><a class=\"\" href=\"https:\/\/utillz.com\/docs\/heilz\/monetize-your-business\/payment-processing\/\">Payment processing<\/a><\/li>\n<li><a class=\"\" href=\"https:\/\/utillz.com\/docs\/heilz\/monetize-your-business\/orders\/\">Orders<\/a><\/li>\n<li><a class=\"\" href=\"https:\/\/utillz.com\/docs\/heilz\/user-dashboard\/entries\/\">Entries<\/a><\/li>\n<li><a class=\"\" href=\"https:\/\/utillz.com\/docs\/heilz\/monetize-your-business\/fees\/\">Fees<\/a><\/li>\n<li><a class=\"\" href=\"https:\/\/utillz.com\/docs\/heilz\/user-dashboard\/payouts\/\">Payouts<\/a><\/li>\n<li><a class=\"\" href=\"https:\/\/utillz.com\/docs\/heilz\/monetize-your-business\/manage-user-earnings\/\">Manage user earnings<\/a><\/li>\n<\/ul>\n<h3 id=\"purchase-download-functionality\">Purchase download functionality<\/h3>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Add a download link field in listing type with download file key<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-462\" src=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/add-field-in-listing-type-1.png\" alt=\"\" width=\"848\" height=\"453\" srcset=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/add-field-in-listing-type-1.png 848w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/add-field-in-listing-type-1-300x160.png 300w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/add-field-in-listing-type-1-768x410.png 768w\" sizes=\"(max-width: 848px) 100vw, 848px\" \/><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Now you can see the download link field in listings<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-463\" src=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/add-link-1.png\" alt=\"\" width=\"864\" height=\"100\" srcset=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/add-link-1.png 864w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/add-link-1-300x35.png 300w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/add-link-1-768x89.png 768w\" sizes=\"(max-width: 864px) 100vw, 864px\" \/><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Listing owners now can add the link of their download assets<\/li>\n<li>When user purchase any listing then they can see the download button which will redirect the user after order status changes to completed in frontend dashboard&#8211;<i class=\"material-icon-arrow_right_alt __arrow\"><\/i>orders<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><img loading=\"lazy\" class=\"alignnone size-full wp-image-464\" src=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/Download-button-2.png\" alt=\"\" width=\"1298\" height=\"538\" srcset=\"https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/Download-button-2.png 1298w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/Download-button-2-300x124.png 300w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/Download-button-2-1024x424.png 1024w, https:\/\/utillz.com\/docs\/heilz\/wp-content\/uploads\/sites\/5\/2024\/03\/Download-button-2-768x318.png 768w\" sizes=\"(max-width: 1298px) 100vw, 1298px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The purchase action type allows you and your visitors to sell anything under this action. The price will be calculated based on multiple criteria, like &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":339,"menu_order":24,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/pages\/340"}],"collection":[{"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/comments?post=340"}],"version-history":[{"count":0,"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/pages\/340\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/pages\/339"}],"wp:attachment":[{"href":"https:\/\/utillz.com\/docs\/heilz\/wp-json\/wp\/v2\/media?parent=340"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}