{"id":19311,"date":"2018-03-07T20:09:08","date_gmt":"2018-03-07T18:09:08","guid":{"rendered":"https:\/\/www.fooevents.com\/?p=19311"},"modified":"2024-01-25T00:42:44","modified_gmt":"2024-01-25T08:42:44","slug":"tworzenie-roznych-typow-biletow-fooevents-przy-uzyciu-atrybutow-odmian-woocommerce","status":"publish","type":"post","link":"https:\/\/www.fooevents.com\/pl\/create-different-ticket-types-fooevents-using-woocommerce-variations-attributes\/","title":{"rendered":"Jak tworzy\u0107 r\u00f3\u017cne typy bilet\u00f3w w FooEvents przy u\u017cyciu odmian i atrybut\u00f3w WooCommerce?"},"content":{"rendered":"<p>Jedn\u0105 z wielu mocnych stron FooEvents jest to, \u017ce wykorzystuje on pot\u0119\u017cn\u0105 funkcjonalno\u015b\u0107, kt\u00f3ra jest wbudowana w <a href=\"https:\/\/woocommerce.com\/?aff=8264&amp;cid=702452\" target=\"_blank\" rel=\"noopener\">WooCommerce<\/a> core. Dobrym tego przyk\u0142adem jest spos\u00f3b, w jaki FooEvents u\u017cywa <em>WooCommerce Produkty zmienne<\/em> aby utworzy\u0107 r\u00f3\u017cne typy bilet\u00f3w.<\/p>\n<div class=\"ast-oembed-container\" style=\"height: 100%;\"><iframe title=\"U\u017cywanie wariant\u00f3w i atrybut\u00f3w WooCommerce z FooEvents\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/8QW1Oaozq0k?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/div>\n<p>Na przyk\u0142ad mo\u017ce zaistnie\u0107 potrzeba sprzeda\u017cy r\u00f3\u017cnych rodzaj\u00f3w bilet\u00f3w w r\u00f3\u017cnych cenach w zale\u017cno\u015bci od obszaru wydarzenia, do kt\u00f3rego uczestnik powinien mie\u0107 dost\u0119p. Korzystaj\u0105c ze zmiennych produkt\u00f3w WooCommerce, mo\u017cna tworzy\u0107 r\u00f3\u017cne warianty \"produktu wydarzenia\", kt\u00f3re dzia\u0142aj\u0105 r\u00f3wnie\u017c jako r\u00f3\u017cne typy bilet\u00f3w. Poni\u017cej <a href=\"http:\/\/demo.fooevents.com\/product\/concert\/\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">przyk\u0142ad demonstracyjny<\/a> Stworzyli\u015bmy trzy rodzaje bilet\u00f3w: siedz\u0105ce, stoj\u0105ce i Golden Circle. Ka\u017cdy rodzaj biletu jest sprzedawany w innej cenie, a szczeg\u00f3\u0142y dotycz\u0105ce wariantu b\u0119d\u0105 automatycznie wy\u015bwietlane na bilecie uczestnika, jak wida\u0107 na poni\u017cszym zrzucie ekranu.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-large wp-image-19312\" src=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-concert-1024x439.png\" alt=\"\" width=\"1024\" height=\"439\" title=\"\" srcset=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-concert-1024x439.png 1024w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-concert-300x129.png 300w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-concert-768x330.png 768w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-concert-512x220.png 512w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-concert.png 1163w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Korzystanie z wariant\u00f3w nie ogranicza si\u0119 tylko do typ\u00f3w bilet\u00f3w, ale mo\u017ce by\u0107 r\u00f3wnie\u017c wykorzystane do okre\u015blenia, w kt\u00f3rej instancji wydarzenia klient b\u0119dzie uczestniczy\u0142. Poni\u017cej <a href=\"http:\/\/demo.fooevents.com\/product\/race\/\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">przyk\u0142ad demonstracyjny<\/a> Skonfigurowali\u015bmy sprzeda\u017c bilet\u00f3w na wydarzenie sportowe i wykorzystali\u015bmy r\u00f3\u017cne warianty, aby umo\u017cliwi\u0107 uczestnikom wyb\u00f3r trasy, w kt\u00f3rej chcieliby wzi\u0105\u0107 udzia\u0142, a tak\u017ce kategorii wiekowej, do kt\u00f3rej nale\u017c\u0105. Informacje te zostan\u0105 przechwycone i przedstawione na bilecie. Mo\u017cesz tak\u017ce wyeksportowa\u0107 plik CSV, kt\u00f3ry zawiera dane uczestnik\u00f3w, a tak\u017ce wybrane przez nich warianty.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter wp-image-19315 size-large\" src=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-race-1024x543.png\" alt=\"\" width=\"1024\" height=\"543\" title=\"\" srcset=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-race-1024x543.png 1024w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-race-300x159.png 300w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-race-768x407.png 768w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-race-512x271.png 512w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-race.png 1164w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<p>Oto kilka innych przyk\u0142ad\u00f3w tego, jak wariacje mog\u0105 by\u0107 wykorzystywane do r\u00f3\u017cnych rodzaj\u00f3w wydarze\u0144, takich jak <a href=\"http:\/\/demo.fooevents.com\/product\/food-fair\/\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">Targi \u017cywno\u015bci<\/a>, <a href=\"http:\/\/demo.fooevents.com\/product\/church-fundraiser\/\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">Ko\u015bcielna zbi\u00f3rka pieni\u0119dzy<\/a> i <a href=\"http:\/\/demo.fooevents.com\/product\/theme-park-access\/\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">Wst\u0119p do parku rozrywki<\/a>.<\/p>\n<h1>Pierwsze kroki<\/h1>\n<p>Potrzebny b\u0119dzie aktywny\u00a0<a title=\"FooEvents dla WooCommerce\" href=\"https:\/\/www.fooevents.com\/pl\/wycena\/\">FooEvents dla WooCommerce<\/a>\u00a0licencja zainstalowana na stronie internetowej WordPress WooCommerce.<\/p>\n<p>Nast\u0119pnie nale\u017cy utworzy\u0107 wydarzenie. Je\u015bli potrzebujesz pomocy, odwied\u017a nasz\u0105 stron\u0119\u00a0<a title=\"Przewodnik pomocy FooEvents\" href=\"https:\/\/www.fooevents.com\/pl\/documentation\/setup-event-product\/\">Przewodnik pomocy<\/a>.<\/p>\n<h1>Jak skonfigurowa\u0107 odmiany i atrybuty<\/h1>\n<h3>1. Ustaw typ produktu<\/h3>\n<p>Przejd\u017a do \"WooCommerce\" &gt; \"Produkty\" i otw\u00f3rz wydarzenie w obszarze administracyjnym WordPress. Wybierz zmienny produkt z listy rozwijanej Dane produktu.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-19318\" src=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variableprod.png\" alt=\"\" width=\"943\" height=\"389\" title=\"\" srcset=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variableprod.png 943w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variableprod-300x124.png 300w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variableprod-768x317.png 768w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variableprod-512x211.png 512w\" sizes=\"(max-width: 943px) 100vw, 943px\" \/><\/p>\n<h3>2. Skonfiguruj atrybuty, kt\u00f3re b\u0119d\u0105 u\u017cywane dla odmian<\/h3>\n<p>Przejd\u017a do zak\u0142adki \"Atrybuty\" i wybierz opcj\u0119 \"Dodaj\". Wprowad\u017a nazw\u0119 atrybutu, kt\u00f3ry b\u0119dzie pe\u0142ni\u0142 rol\u0119 etykiety dla danej odmiany. Mo\u017ce to by\u0107 dowolna nazwa, poniewa\u017c wszystkie warianty b\u0119d\u0105 automatycznie wy\u015bwietlane w bilecie i pliku eksportu CSV biletu\/uczestnika. W naszym przyk\u0142adzie nazwiemy go po prostu \"My Ticket Type\". W sekcji warto\u015bci okre\u015bl warianty, kt\u00f3re chcesz zaoferowa\u0107. U\u017cyj symbolu potoku (\"|\"), aby je rozdzieli\u0107. Upewnij si\u0119, \u017ce zaznaczy\u0142e\u015b pole wyboru \"Used for variations\". Po zako\u0144czeniu pami\u0119taj o zapisaniu atrybut\u00f3w.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-19319\" src=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-attributes.png\" alt=\"\" width=\"939\" height=\"378\" title=\"\" srcset=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-attributes.png 939w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-attributes-300x121.png 300w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-attributes-768x309.png 768w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-attributes-512x206.png 512w\" sizes=\"(max-width: 939px) 100vw, 939px\" \/><\/p>\n<h3>3. Dodaj warianty<\/h3>\n<p>Atrybuty zasadniczo tworz\u0105 ramy dla odmian. Teraz nale\u017cy okre\u015bli\u0107 szczeg\u00f3\u0142y ka\u017cdej odmiany. Aby to zrobi\u0107, przejd\u017a do karty odmian i wybierz opcj\u0119 \"Utw\u00f3rz odmiany ze wszystkich atrybut\u00f3w\", a nast\u0119pnie kliknij przycisk \"Dalej\". Spowoduje to wygenerowanie odmiany dla ka\u017cdej warto\u015bci okre\u015blonej podczas tworzenia atrybutu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-19320\" src=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-create-varaitions-01.png\" alt=\"\" width=\"937\" height=\"365\" title=\"\" srcset=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-create-varaitions-01.png 937w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-create-varaitions-01-300x117.png 300w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-create-varaitions-01-768x299.png 768w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-create-varaitions-01-512x199.png 512w\" sizes=\"(max-width: 937px) 100vw, 937px\" \/><\/p>\n<p>Nast\u0119pnie nale\u017cy okre\u015bli\u0107 szczeg\u00f3\u0142y wariantu\/typu biletu. Upewnij si\u0119, \u017ce ustawi\u0142e\u015b ka\u017cdy wariant jako \"wirtualny\", poniewa\u017c zapewni to, \u017ce bilety zostan\u0105 wys\u0142ane, gdy tylko zam\u00f3wienie zostanie oznaczone jako kompletne. Je\u015bli dost\u0119pna jest ograniczona liczba bilet\u00f3w, wybierz opcj\u0119 \"zarz\u0105dzaj zapasami\" i okre\u015bl liczb\u0119 bilet\u00f3w, kt\u00f3re chcesz zaoferowa\u0107. Zapisz produkt po wype\u0142nieniu szczeg\u00f3\u0142\u00f3w dla ka\u017cdego wariantu.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-19323\" src=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variation-settings.png\" alt=\"\" width=\"940\" height=\"770\" title=\"\" srcset=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variation-settings.png 940w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variation-settings-300x246.png 300w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variation-settings-768x629.png 768w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variation-settings-512x419.png 512w\" sizes=\"(max-width: 940px) 100vw, 940px\" \/><\/p>\n<h3>Sko\u0144czy\u0142e\u015b i mo\u017cesz teraz wy\u015bwietli\u0107 swoje wydarzenie!<\/h3>\n<p>Ka\u017cdy wariant b\u0119dzie wy\u015bwietlany na li\u015bcie rozwijanej. Gdy u\u017cytkownik zmieni wyb\u00f3r, cena i opis odpowiednio si\u0119 zmieni\u0105. U\u017cytkownicy mog\u0105 doda\u0107 do koszyka pojedynczy bilet lub kombinacj\u0119 bilet\u00f3w.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-19324\" src=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variation-preview-1024x497.png\" alt=\"\" width=\"1024\" height=\"497\" title=\"\" srcset=\"https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variation-preview-1024x497.png 1024w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variation-preview-300x146.png 300w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variation-preview-768x373.png 768w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variation-preview-512x249.png 512w, https:\/\/www.fooevents.com\/wp-content\/uploads\/2018\/03\/fooevents-demo-variation-preview.png 1165w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/p>\n<article id=\"post-18315\" class=\"clearfix post-18315 post type-post status-publish format-standard has-post-thumbnail hentry category-announcement category-howto tag-fooevents-multi-day tag-howto tag-plugin\">\n<div class=\"entry-wrap\">\n<div class=\"entry-content\">\n<p>Mamy nadziej\u0119, \u017ce ten post okaza\u0142 si\u0119 przydatny i chcieliby\u015bmy pozna\u0107 Twoje opinie, wi\u0119c zostaw komentarz poni\u017cej!<\/p>\n<\/div>\n<\/div>\n<\/article>","protected":false},"excerpt":{"rendered":"<p>One of the many strengths of FooEvents is that it leverages powerful functionality that is built into the WooCommerce core. A good example of this is the way FooEvents uses WooCommerce\u00a0Variable products to create different ticket types. For example, you may need to sell different types of tickets at various prices based on the area [&hellip;]<\/p>\n","protected":false},"author":1138,"featured_media":19377,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[53,436],"tags":[71,61,56,72,64,62],"class_list":["post-19311","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howto","category-updates","tag-attributes","tag-fooevents","tag-howto","tag-variable-products","tag-variations","tag-woocommerce"],"_links":{"self":[{"href":"https:\/\/www.fooevents.com\/pl\/wp-json\/wp\/v2\/posts\/19311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fooevents.com\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fooevents.com\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fooevents.com\/pl\/wp-json\/wp\/v2\/users\/1138"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fooevents.com\/pl\/wp-json\/wp\/v2\/comments?post=19311"}],"version-history":[{"count":0,"href":"https:\/\/www.fooevents.com\/pl\/wp-json\/wp\/v2\/posts\/19311\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fooevents.com\/pl\/wp-json\/wp\/v2\/media\/19377"}],"wp:attachment":[{"href":"https:\/\/www.fooevents.com\/pl\/wp-json\/wp\/v2\/media?parent=19311"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fooevents.com\/pl\/wp-json\/wp\/v2\/categories?post=19311"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fooevents.com\/pl\/wp-json\/wp\/v2\/tags?post=19311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}