{"id":6090,"date":"2024-04-14T13:40:29","date_gmt":"2024-04-14T05:40:29","guid":{"rendered":"https:\/\/webflow.tenten.co\/?p=6090"},"modified":"2024-04-14T13:40:29","modified_gmt":"2024-04-14T05:40:29","slug":"generate-a-purchase-button","status":"publish","type":"post","link":"https:\/\/webflow.tenten.co\/en\/generate-a-purchase-button\/","title":{"rendered":"Generate a purchase button"},"content":{"rendered":"\n<div class=\"docs_rich-text w-richtext\">\n<p>You have the option to include an <strong>Add to shopping cart<\/strong> feature in <strong>Selection<\/strong> lists that are linked to your \u201cmerchandise\u201d <strong>Collection<\/strong>. This enables customers to promptly add items to their shopping cart from any of your product selections showcased on your landing page and other sections.<\/p>\n<p>You can also position an Add to cart feature on your merchandise layout page.<\/p>\n<h5><strong>Throughout this tutorial<\/strong><\/h5>\n<ol>\n<li>Position an <strong>Add to cart<\/strong> element within a Selection list<\/li>\n<li>Design and personalize the diverse conditions<\/li>\n<li>Insert the personalized purchase button on your product page<\/li>\n<\/ol>\n<h5><strong>Prerequisite for this tutorial<\/strong><\/h5>\n<p>Before proceeding with this tutorial, make sure to review the following guides:<\/p>\n<ul>\n<li>Add to shopping cart<\/li>\n<li>Selection list<\/li>\n<li>Selection page<\/li>\n<\/ul>\n<h2><strong>Incorporate a purchase button element<\/strong><\/h2>\n<p>Ensure that you have set up a merchandise show grid \u2014 a selection list linked to the merchandise collection. Add an <strong>Add to shopping cart<\/strong> element in this selection list from the <strong>Add panel<\/strong> or via <strong>Quick find<\/strong> (CMD\/CTRL+E).<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1501px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b949870643f61230c48b28_5efb81929eae4b7525b7a49a_5efb7e807a5ab34b1cba8cab_t5q2y6-h09lysv__xquccchaqqubwbj3itxyexezoprdnhjyowntcvisukr2g9mxys9llagthcldleddxedg19edrqmqoyt7mtzcezlzmgmzvuxvz8gf5s_wiemwo-1.png\" title=\"64b949870643f61230c48b28_5efb81929eae4b7525b7a49a_5efb7e807a5ab34b1cba8cab_t5q2y6-h09lysv__xquccchaqqubwbj3itxyexezoprdnhjyowntcvisukr2g9mxys9llagthcldleddxedg19edrqmqoyt7mtzcezlzmgmzvuxvz8gf5s_wiemwo-1\"><\/div>\n<\/figure>\n<h3><strong>Conceal the Purchase now button (optional)<\/strong><\/h3>\n<p>For a simplistic purchase button, you can also hide the <strong>Order now<\/strong> button in the default state. Once you have selected the add to cart element, you can deactivate the <strong>Order now<\/strong> button in the <strong>Add to cart settings<\/strong> panel<\/p>\n<h3><strong>Conceal the quantity field (optional)<\/strong><\/h3>\n<p>For an even simpler purchase button, you may choose to hide the quantity field in the default state. Therefore, with the purchase button element selected, disable the <strong>quantity<\/strong> field in the <strong>Add to cart settings <\/strong>panel.<\/p>\n<blockquote><p>If you opt to hide the quantity field in a \u201cpurchase\u201d component, when a customer adds an item to their shopping cart, the default quantity of 1 item will be included. They can modify the quantity later from within the cart.<\/p><\/blockquote>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1501px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b949870643f61230c48b38_5efb81920d9552bb8eadd718_5efb7e7f8e5e9f9ff396a9d0_lsbhoqez6wu0g0krouyhjdgpdy0tybjbdb-joviq7rir939kavilzqvkxqbifnbhokd3e5cozvulbm7sz38lbkylf4hgv8ncske1lzybzhj0dmbwnkv6mp4diqydd-1.png\" title=\"64b949870643f61230c48b38_5efb81920d9552bb8eadd718_5efb7e7f8e5e9f9ff396a9d0_lsbhoqez6wu0g0krouyhjdgpdy0tybjbdb-joviq7rir939kavilzqvkxqbifnbhokd3e5cozvulbm7sz38lbkylf4hgv8ncske1lzybzhj0dmbwnkv6mp4diqydd-1\"><\/div>\n<\/figure>\n<h2><strong>Design and customize the varied conditions<\/strong><\/h2>\n<p>Several elements make up the purchase component. These elements can be styled and customized extensively. You have the flexibility to modify the appearance of elements like the \u201csubmit button\u201d, the \u201cout of stock\u201d state message, and the \u201cerror\u201d state message.<\/p>\n<p>If your item has variations, you can somewhat customize labels and option fields. Additionally, you can style the label and input field of the quantity field if it\u2019s enabled for a \u201cpurchase\u201d component.<\/p>\n<p>You can alter the default error messages from the <strong>Error message settings<\/strong>.<\/p>\n<p><strong>Explore more about:<\/strong> Add to shopping cart<\/p>\n<h2><strong>Integrate the customized purchase button in your merchandise page<\/strong><\/h2>\n<p>Now that your <strong>Add to shopping cart<\/strong> component is styled and personalized, you can incorporate it into other merchandise selection lists or the merchandise layout page. To achieve this, ensure you select the primary <strong>Add to shopping cart<\/strong> wrapper and copy it. Subsequently, access the merchandise page or choose any selection list linked to the \u201cmerchandise\u201d category and paste your completely customized add to cart component.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1501px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b949870643f61230c48b2f_5efb81f929dfd7350d22d414_5efb7f0b0e3676b86374bd58_nt_buxvat62gibexarhr1jag5nsxwi_oflpprj6okupfx6zlkrys3u8gsxfhq5gnoiss1btbkqfy5dhvgzdmmp6u9uzvkt7ygxoigwtxcrlez0kyc51sjo-km3og9.png\" title=\"64b949870643f61230c48b2f_5efb81f929dfd7350d22d414_5efb7f0b0e3676b86374bd58_nt_buxvat62gibexarhr1jag5nsxwi_oflpprj6okupfx6zlkrys3u8gsxfhq5gnoiss1btbkqfy5dhvgzdmmp6u9uzvkt7ygxoigwtxcrlez0kyc51sjo-km3og9\"><\/div>\n<\/figure>\n<p>Choose the main <strong>Add to shopping cart<\/strong> wrapper to paste it across different pages and lists.<\/p>\n<blockquote><p>Currently, it\u2019s not possible to store the Add to cart component as a symbol. Nevertheless, you can still duplicate and insert it between the merchandise page and product selection lists. Any adjustments made to the settings in the Elements panel will solely impact the selected instance. Regarding styles, updating the style of an element with a class will update all elements with the identical class. Hence, ensure to allocate a class to each element in your cart even if you don\u2019t intend to style it immediately. Your future self will appreciate this approach.<\/p><\/blockquote>\n<\/div>\n","protected":false},"excerpt":{"rendered":"Add, style, and customize an add-to-cart button in your product lists and products page.","protected":false},"author":2,"featured_media":6091,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[297],"tags":[],"class_list":{"0":"post-6090","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-ecommerce-user-accounts","8":"cs-entry"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts\/6090","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/comments?post=6090"}],"version-history":[{"count":0,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts\/6090\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/media\/6091"}],"wp:attachment":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/media?parent=6090"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/categories?post=6090"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/tags?post=6090"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}