<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tutorials &#8211; WPInstitut</title>
	<atom:link href="https://wpinstitut.com/category/tutorials/feed" rel="self" type="application/rss+xml" />
	<link>https://wpinstitut.com</link>
	<description>Auctions For WooCommerce developers home page</description>
	<lastBuildDate>Mon, 09 Feb 2026 10:01:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://www.classicpress.net/?v=6.2.9-cp-2.7.0</generator>

<image>
	<url>https://wpinstitut.com/wp-content/uploads/2020/10/d36b9240f3ebc9057382dcf002d75bb2.png</url>
	<title>Tutorials &#8211; WPInstitut</title>
	<link>https://wpinstitut.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Competitions for WooCommerce &#8211; Elementor Support</title>
		<link>https://wpinstitut.com/competitions-for-woocommerce-elementor-support</link>
		
		<dc:creator><![CDATA[WPInstitut]]></dc:creator>
		<pubDate>Mon, 09 Feb 2026 10:00:41 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">https://wpinstitut.com/?p=3536</guid>

					<description><![CDATA[Competitions for WooCommerce supports Elementor natively through competition related widgets for single competition page. Prerequisites are Elementor and Elementor PRO. Elementor support means that now you have competition related widgets in Elementor widget list which can be used to easily rearrange, design and style single competition page using Elementor visual editor. How To Create Auction [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Competitions for WooCommerce supports Elementor natively through competition related widgets for single competition page. Prerequisites are Elementor and <a href="https://elementor.com/pricing-plugin/">Elementor PRO</a>.</p>
<p><img decoding="async" fetchpriority="high" src="https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-1.png" alt="" width="1179" height="771" class="aligncenter size-full wp-image-3537" srcset="https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-1.png 1179w, https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-1-300x196.png 300w, https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-1-1024x670.png 1024w, https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-1-768x502.png 768w" sizes="(max-width: 1179px) 100vw, 1179px"></p>
<p>Elementor support means that now you have competition related widgets in Elementor widget list which can be used to easily rearrange, design and style single competition page using Elementor visual editor.</p>
<p><img decoding="async" src="https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-2.png" alt="" width="1286" height="765" class="aligncenter size-full wp-image-3538" srcset="https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-2.png 1286w, https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-2-300x178.png 300w, https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-2-1024x609.png 1024w, https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-2-768x457.png 768w" sizes="(max-width: 1286px) 100vw, 1286px"></p>
<h2>How To Create Auction Page Template?</h2>
<ul>
<li>in wp-admin Products &gt; Categories, then Add New Category &gt; Competitions or skip this step if you will show this template for all your competition products</li>
<li>in wp-admin Products set couple of auctions to be in Auctions product category</li>
<li>in wp-admin click on Templates &gt; Add New</li>
<li>choose template type &gt; Single Product and enter name for the template</li>
<li>design and style page by dragging widgets from the left toolbar to the page as you would do for any other page</li>
<li>after you have finished click Publish</li>
<li>in publish settings click Add Condition, select In Category, select Products or Competitions category (you need to create Competitions product category priror that)</li>
<li>click Save &amp; Close</li>
</ul>
<p><img decoding="async" src="https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-3.png" alt="" width="1266" height="897" class="aligncenter size-full wp-image-3539" srcset="https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-3.png 1266w, https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-3-300x213.png 300w, https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-3-1024x726.png 1024w, https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-3-768x544.png 768w" sizes="(max-width: 1266px) 100vw, 1266px"></p>
<p>In order to load and display newly created Elementor template we will define condition where we will load template for all products categorized as Competitions product category or for all products.</p>
<p><img decoding="async" loading="lazy" src="https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-4-hello-elementor-theme.png" alt="" width="1431" height="611" class="aligncenter size-full wp-image-3540" srcset="https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-4-hello-elementor-theme.png 1431w, https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-4-hello-elementor-theme-300x128.png 300w, https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-4-hello-elementor-theme-1024x437.png 1024w, https://wpinstitut.com/wp-content/uploads/2026/02/comps-for-woo-elementor-4-hello-elementor-theme-768x328.png 768w" sizes="(max-width: 1431px) 100vw, 1431px"></p>
<p>For end &#8211; one recommendation &#8211; Click Elementor &gt; Settings then go to Performance tab. Disable caching during developing and in production if you have issues. In case you have some questions feel free to open <a href="https://wpinstitut.com/support">support ticket</a>.</p>
<p>&nbsp;</p>
<p>That&#8217;s all!</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Competitions for Woo &#8211; Sequential ticket numbers</title>
		<link>https://wpinstitut.com/competitions-for-woo-sequential-ticket-numbers</link>
		
		<dc:creator><![CDATA[WPInstitut]]></dc:creator>
		<pubDate>Tue, 13 Jan 2026 09:24:53 +0000</pubDate>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">https://wpinstitut.com/?p=3527</guid>

					<description><![CDATA[This code snippet requires Competitions for Woo v3.0.2 or higher. add_filter( 'competitions_for_woocommerce_generate_random_ticket_numbers', 'custom_sequential_ticket_numbers', 10, 3 ); function custom_sequential_ticket_numbers( $random_tickets, $product_id, $qty ) { $available_tickets = competitions_for_woocommerce_get_available_ticket( $product_id ); if ( empty( $available_tickets ) ) { return $random_tickets; } sort( $available_tickets ); $sequential_tickets = array_slice( $available_tickets, 0, $qty ); return $sequential_tickets; } &#160;]]></description>
										<content:encoded><![CDATA[<p>This code snippet requires Competitions for Woo v3.0.2 or higher.</p>
<pre class="lang:php">add_filter( 'competitions_for_woocommerce_generate_random_ticket_numbers', 'custom_sequential_ticket_numbers', 10, 3 );
function custom_sequential_ticket_numbers( $random_tickets, $product_id, $qty ) {
    $available_tickets = competitions_for_woocommerce_get_available_ticket( $product_id );
    if ( empty( $available_tickets ) ) {
        return $random_tickets;
    }
    sort( $available_tickets );
    $sequential_tickets = array_slice( $available_tickets, 0, $qty );
    return $sequential_tickets;
}</pre>
<p>&nbsp;</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Change number of lotteries displayed in My Tickets &gt; Active / Past</title>
		<link>https://wpinstitut.com/change-number-of-lotteries-displayed-in-my-tickets-active-past</link>
		
		<dc:creator><![CDATA[WPInstitut]]></dc:creator>
		<pubDate>Mon, 26 May 2025 07:51:05 +0000</pubDate>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">https://wpinstitut.com/?p=3444</guid>

					<description><![CDATA[Easy way to change number of items is to go to WordPress Settings > Reading and change option &#8220;Blog pages show at most&#8221;. If that does not work for you there are filters which can be used. You will need Competitions for WooCommerce v3.5 in order to get new filters needed for this code snippet. [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Easy way to change number of items is to go to WordPress Settings > Reading and change option &#8220;Blog pages show at most&#8221;. If that does not work for you there are filters which can be used. You will need Competitions for WooCommerce v3.5 in order to get new filters needed for this code snippet. Then change variable $limit to number you want and put code snippet to your child theme functions.php file.</p>
<pre class="lang:php">
add_filter( 'woocommerce_competition_my_tickets_endpoint_post_ids_active', 'my_custom_woocommerce_competition_my_tickets_endpoint_post_ids_active' );
add_filter( 'woocommerce_competition_my_tickets_endpoint_post_ids_past', 'my_custom_woocommerce_competition_my_tickets_endpoint_post_ids_past' );

function my_custom_woocommerce_competition_my_tickets_endpoint_post_ids_active() {

	$limit = 1;
	$current_user_id = get_current_user_id();
	$postids         = competitions_for_woocommerce_get_user_competitions();
	$posts_ids       = array();

	if ( count($postids)&gt;0 ) {

		$args = array(
			'posts_per_page' =&gt; $limit,
			'fields' =&gt; 'ids',
			'post_type'=&gt; 'product',
			'post__in' =&gt; $postids,
			'show_past_competitions' =&gt; false,
			'tax_query' =&gt; array( array('taxonomy' =&gt; 'product_type' , 'field' =&gt; 'slug', 'terms' =&gt; 'competition') ),
		);

		$the_query = new WP_Query( $args );
		$posts_ids = $the_query-&gt;posts;
	}
	$the_query = new WP_Query( $args );
	$posts_ids = $the_query-&gt;posts;

    return $posts_ids; // Always return the content, whether modified or not.
}


function my_custom_woocommerce_competition_my_tickets_endpoint_post_ids_past() {

	$limit = 1;
	$current_user_id = get_current_user_id();
	$postids         = competitions_for_woocommerce_get_user_competitions();
	$posts_ids       = array();

	if ( count( $postids ) &gt; 0 ) {
		// Return past user's competition products.
		$args = array(
			'fields' =&gt; 'ids',
			'post_type'=&gt; 'product',
			'post__in' =&gt; $postids,
			'show_past_competitions' =&gt; true,
			'meta_query' =&gt; array(
				array(
						'key' =&gt; '_competition_closed',
						'operator' =&gt; 'EXISTS',
					),
				),
		);

		$the_query = new WP_Query( $args );
		$posts_ids = $the_query-&gt;posts;
	}

    return $posts_ids; // Always return the content, whether modified or not.
}

</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Prevent proxy bidding to automatically raise bid to the reserve price (if proxy bid amount is higher than reserve price)</title>
		<link>https://wpinstitut.com/prevent-proxy-bidding-to-raise-bid-to-reserve-price</link>
		
		<dc:creator><![CDATA[WPInstitut]]></dc:creator>
		<pubDate>Tue, 08 Apr 2025 07:05:00 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Code Snippets]]></category>
		<guid isPermaLink="false">https://wpinstitut.com/?p=3387</guid>

					<description><![CDATA[In case you need proxy bidding not to reach reserve price instantly ie when reserve price is lower than current bid, next bid will be current bid + min bid increase, you can use code below in your child theme functions.php: add_filter( 'auctions_for_woocommerce_proxy_bid_to_reserve' , '__return_false', 20, 3 );]]></description>
										<content:encoded><![CDATA[<p>In case you need proxy bidding not to reach reserve price instantly ie when reserve price is lower than current bid, next bid will be current bid + min bid increase, you can use code below in your child theme functions.php:</p>
<pre class="lang:php">add_filter( 'auctions_for_woocommerce_proxy_bid_to_reserve' , '__return_false', 20, 3 );</pre>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Shortcode that outputs auction template parts</title>
		<link>https://wpinstitut.com/shortcode-that-outputs-auction-template-parts</link>
		
		<dc:creator><![CDATA[WPInstitut]]></dc:creator>
		<pubDate>Tue, 13 Aug 2024 10:10:28 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">https://wpinstitut.com/?p=3252</guid>

					<description><![CDATA[Introduction We received many inquries related to visual builders and compatibility with Auctions for WooCommerce. Since it is almost impossible to support all of them natively we had to find solution that is usable in all of those builders. For that purpose we introduced shortcode called auctions_templates &#8211; simple way to display auction related template [&#8230;]]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>We received many inquries related to visual builders and compatibility with Auctions for WooCommerce. Since it is almost impossible to support all of them natively we had to find solution that is usable in all of those builders. For that purpose we introduced shortcode called auctions_templates &#8211; simple way to display auction related template parts with any visual builder that has option to insert shortcode.</p>
<h2>Shortcode auctions_templates</h2>
<p>Shortcode reference with all possible values:</p>
<pre class="lang:php">[auctions_templates template="add-to-cart|pay|bid-form|condition|countdown|max-bid|reserve|auction-sealed|ajax-conteiner-start|ajax-conteiner-end|auctions_seated_progressbar_template"]</pre>
<p>This shortcode outputs parts of the auction related templates. So when you build your template using any visual builder for auction product they all have option to enter a shortcode. You then make template structure and insert shortcode blocks where you want countdown timer, auction informations, bid input form, buy now or pay now button. This is even useful for Elementor for which we have native widgets.</p>
<h2>Shortcode options</h2>
<pre class="lang:php">[auctions_templates template="add-to-cart"] - outputs Buy Now button, to display this auction needs 
to have set buy now price, please make sure that if option "Allow Buy It Now after bidding has started" 
is enabled bidding was not started yet

[auctions_templates template="pay"] - outputs Pay for Won Auction button

[auctions_templates template="bid-form"] - outputs bid form

[auctions_templates template="condition"] - displays auction condition info

[auctions_templates template="countdown"] - displays auction timer

[auctions_templates template="max-bid"] - displays user's max bid for proxy auction

[auctions_templates template="reserve"] - displays reserve price

[auctions_templates template="auction-sealed"] - displays if auction is sealed info

[auctions_templates template="ajax-conteiner-start"] - ajax wrapper start, everything enclosed in ajax cotainer 
will work with ajax, like live price update

[auctions_templates template="ajax-conteiner-end"] - ajax wrapper end

[auctions_templates template="auctions_seated_progressbar_template"] - progress bar for seated auctions, 
how many seats are sold</pre>
<p>&nbsp;</p>
<p>Hopefully this shortocde will make template building via visual editors much easier for our Auctions for WooCommerce users. If you have any issues please <a href="https://wpinstitut.com/support/">open ticket</a> and we will check it for you.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>WooCommerce REST API tutorial for Auctions and Competitions</title>
		<link>https://wpinstitut.com/woocommerce-rest-api-tutorial</link>
		
		<dc:creator><![CDATA[WPInstitut]]></dc:creator>
		<pubDate>Mon, 23 Oct 2023 08:25:42 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">https://wpinstitut.com/?p=3049</guid>

					<description><![CDATA[Introduction Auctions for WooCommerce support REST api from v2.8 and Competitions for WooCommerce support it from v1.0. Here we will show couple of examples how you can use WooCommerce REST api with our plugins. First, we need to set up test / dev enviroment, we need REST client and key that allows us access to [&#8230;]]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>Auctions for WooCommerce support REST api from v2.8 and Competitions for WooCommerce support it from v1.0. Here we will show couple of examples how you can use WooCommerce REST api with our plugins. First, we need to set up test / dev enviroment, we need REST client and key that allows us access to our WooCommerce. You need a REST client, any will do, for our tutorial we have small php client available for <a title="afw rest api example with rest client" href="https://wpinstitut.com/wp-content/uploads/2023/10/rest_api_example.zip">download here</a> along with some PHP code examples. You can extract this in any folder you want on your website or on 3rd party website / domain.</p>
<p>Please note that in our example $woocommerce variable is Client object not global WooCommerce variable. We are not loading WordPress code at all since this is whole point of using REST api &#8211; none of the globals are available when using REST api client.</p>
<h2>Generating key / secret for WooCommerce api access</h2>
<p>Please go to WooCommerce Settings &gt; Advanced tab.  Click on REST API and generate key / secret pair, you should get similar view as on screenshot below:</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-3051 alignnone" src="https://wpinstitut.com/wp-content/uploads/2023/10/wpi-api1.jpg" alt="" width="1080" height="496" srcset="https://wpinstitut.com/wp-content/uploads/2023/10/wpi-api1.jpg 1080w, https://wpinstitut.com/wp-content/uploads/2023/10/wpi-api1-300x138.jpg 300w, https://wpinstitut.com/wp-content/uploads/2023/10/wpi-api1-768x353.jpg 768w, https://wpinstitut.com/wp-content/uploads/2023/10/wpi-api1-1024x470.jpg 1024w" sizes="(max-width: 1080px) 100vw, 1080px"></p>
<p>You can set permissions to read or write only or read / write. You need to copy paste these into request.php file under part where you instance rest client object, you can&#8217;t miss this since it&#8217;s commented and fairly easy to spot.</p>
<h2>Generating REST api get request for retrieving product data</h2>
<p>We need to define some parameters for request using $data variable which is in fact array with paramters like type,  name, id, etc. There is plenty of parameters which can be used here, same as when you create custom query, <a href="https://woocommerce.github.io/woocommerce-rest-api-docs/#products" target="_blank" rel="noopener">complete WooCommere rest api reference documentation is here</a>. Here is code that gets 100 auction products in json format:</p>
<pre class="lang:php">$data = [
    'per_page' =&gt; 100,
    'type' =&gt; 'auction' // get auction product type, 100 per page
    // 'type' =&gt; 'competition' // get competition product type
];

echo "&lt;pre&gt;";
print_r( $woocommerce-&gt;get( 'products', $data) );
echo "&lt;/pre&gt;";</pre>
<p>For competitions this is similar, we just need to change product type:</p>
<pre class="lang:php">$data = [
    'per_page' =&gt; 100,
    'type' =&gt; 'competition'
];</pre>
<p>To retrieve specific product using ID you don&#8217;t need $data variable:</p>
<pre class="lang:php">echo "&lt;pre&gt;"; 
print_r( $woocommerce-&gt;get( 'products/12345') );
echo "&lt;/pre&gt;";</pre>
<p>That is just quick example of what is possible, complete reference is available in WooCommerce REST api documentation.</p>
<h2>Generating REST api request for creating auction product</h2>
<pre class="lang:php">$data = [
    'name' =&gt; 'My Auction',
    'type' =&gt; 'auction',
    'status' =&gt; 'draft',          // status can be: draft, published, pending
    'regular_price' =&gt; '90.99',   // buy now price
    'price' =&gt; '90.99', 

    'meta_data' =&gt; array(
        [ 'key' =&gt; '_auction_start_price', 'value' =&gt; '7.99' ],             // starting bid
        [ 'key' =&gt; '_auction_bid_increment', 'value' =&gt; '1.5' ],            // min bid increment
        [ 'key' =&gt; '_auction_reserved_price', 'value' =&gt; '2000.0' ],        // reserve price
        [ 'key' =&gt; '_auction_dates_from', 'value' =&gt; '2023-01-01 00:00' ],  // start date
        [ 'key' =&gt; '_auction_dates_to', 'value' =&gt; '2039-02-27 00:00' ],    // end date
        [ 'key' =&gt; '_auction_proxy', 'value' =&gt; 'no' ],                     // proxy auction, yes | no   
        [ 'key' =&gt; '_auction_sealed', 'value' =&gt; 'no' ],                    // sealed auction, yes | no
        [ 'key' =&gt; '_auction_bid_increment_percentage', 'value' =&gt; 'yes' ], // bid increment in percentage?, yes | no     
        [ 'key' =&gt; '_auction_extend_enable ', 'value' =&gt; 'yes' ],           // e<label for="_auction_extend_enable">xtend auction on bid?</label>, yes | no  
        [ 'key' =&gt; '_auction_extend_in_time', 'value' =&gt; '60' ],            // extend auctions in last 60 seconds
        [ 'key' =&gt; '_auction_extend_for_time', 'value' =&gt; '120' ],          // extend auctions for 120 seconds

    ),

    'description' =&gt; 'This is my new auction added via WooCommerce API',
    'short_description' =&gt; 'Sample test auction added via rest api.',    
];


print_r( $woocommerce-&gt;post( 'products', $data ) );</pre>
<h2>Generating REST api request for modifying auction product</h2>
<pre class="lang:php">$data = [

	'regular_price' =&gt; '100.99', 
	'price' =&gt; '100.99',
	
];

echo "&lt;pre&gt;";
print_r( $woocommerce-&gt;put( 'products/278', $data ) );
echo "&lt;/pre&gt;";</pre>
<p>This is example how to modify buy now price for auction ID 278. You can modify any field regular or custom one, just add attributes to $data array. Example for $data is above, in section about creating new auction product.</p>
<p>When creating or modifying product response is always fresh / updated product data.</p>
<h2>Generating REST api request for creating competition product</h2>
<div>
<pre class="lang:php">$data = [
    'name' =&gt; 'My Competition',
    'type' =&gt; 'competition',
    'status' =&gt; 'draft',          // status can be: draft, published, pending

    'meta_data' =&gt; array(
        [ 'key' =&gt; '_competition_price', 'value' =&gt; '7.99' ],                       // price
        [ 'key' =&gt; '_competition_sale_price', 'value' =&gt; '1.5' ],                   // sale price
        [ 'key' =&gt; '_competition_min_tickets', 'value' =&gt; '99' ],                   // min tickets
        [ 'key' =&gt; '_competition_max_tickets', 'value' =&gt; '100' ],                  // max tickets
        [ 'key' =&gt; '_competition_max_tickets_per_user', 'value' =&gt; '5' ],           // max tickets per user
        [ 'key' =&gt; '_competition_num_winners', 'value' =&gt; '3' ],                    // number of competition winners
        [ 'key' =&gt; '_competition_multiple_winner_per_user', 'value' =&gt; 'no' ],      // multiple prizes per user?, yes | no
        [ 'key' =&gt; '_competition_manualy_winners', 'value' =&gt; 'no' ],               // manually pick winning numbers, yes | no    
        [ 'key' =&gt; '_competition_dates_from', 'value' =&gt; '2023-01-01 00:00' ],      // start date  
        [ 'key' =&gt; '_competition_dates_to', 'value' =&gt; '2024-01-01 00:00' ],        // end date
        [ 'key' =&gt; '_competition_use_pick_numbers', 'value' =&gt; 'yes' ],             // allow ticket numbers?, yes | no
        [ 'key' =&gt; '_competition_pick_number_alphabet', 'value' =&gt; 'no' ],          // use alphabet?, yes | no
        [ 'key' =&gt; '_competition_pick_numbers_random', 'value' =&gt; 'no' ],           // randomly assign ticket numbers?, yes | no
        [ 'key' =&gt; '_competition_pick_number_use_tabs', 'value' =&gt; 'no' ],          // sort tickets in tabs?, yes | no
        [ 'key' =&gt; '_competition_pick_number_tab_qty', 'value' =&gt; 'no' ],           // number of tickets per tab, number
        [ 'key' =&gt; '_competition_use_answers', 'value' =&gt; 'no' ],                   // force user to answer a question?, yes | no
        [ 'key' =&gt; '_competition_only_true_answers', 'value' =&gt; 'no' ],             // only allow true answers?, yes | no
        
        // question / answers should be added manually!
       
    ),


    'description' =&gt; 'This is my new competition added via WooCommerce API',
    'short_description' =&gt; 'Sample test competition added via rest api.',    
];

print_r( $woocommerce-&gt;post( 'products', $data ) );</pre>
</div>
<p>Adding competition is similar to adding auctions, only difference are custom meta fields related to competitions.</p>
<p>&nbsp;</p>
<p>In case you have a question or need support please contact us.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Auctions for WooCommerce &#8211; Elementor Support</title>
		<link>https://wpinstitut.com/auctions-for-woocommerce-elementor-support</link>
		
		<dc:creator><![CDATA[WPInstitut]]></dc:creator>
		<pubDate>Wed, 30 Nov 2022 10:34:08 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">https://wpinstitut.com/?p=1542</guid>

					<description><![CDATA[Auctions for WooCommerce support Elementor starting from version v2.0. Prerequisites are Elementor and Elementor PRO. &#160; Elementor support means that now you have auction related widgets in Elementor widget list which can be used to easily rearrange, design and style single auction page using Elementor visual editor. How To Create Auction Page Template? in wp-admin [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Auctions for WooCommerce support Elementor starting from version v2.0. Prerequisites are Elementor and <a href="https://elementor.com/pricing-plugin/">Elementor PRO</a>.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-1546" src="https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_1.png" alt="" width="1000" height="862" srcset="https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_1.png 1000w, https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_1-300x259.png 300w, https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_1-768x662.png 768w, https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_1-416x359.png 416w" sizes="(max-width: 1000px) 100vw, 1000px"></p>
<p>&nbsp;</p>
<p>Elementor support means that now you have auction related widgets in Elementor widget list which can be used to easily rearrange, design and style single auction page using Elementor visual editor.</p>
<p><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-1547" src="https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_2.png" alt="" width="999" height="909" srcset="https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_2.png 999w, https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_2-300x273.png 300w, https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_2-768x699.png 768w, https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_2-416x379.png 416w" sizes="(max-width: 999px) 100vw, 999px"></p>
<h2>How To Create Auction Page Template?</h2>
<ul>
<li>in wp-admin Products &gt; Categories, then Add New Category &gt; Auctions</li>
<li>in wp-admin Products set couple of auctions to be in Auctions product category</li>
<li>in wp-admin click on Templates &gt; Add New</li>
<li>choose template type &gt; Single Product and enter name for the template</li>
<li>design and style page by dragging widgets from the left toolbar to the page as you would do for any other page</li>
<li>after you have finished click Publish</li>
<li>in publish settings click Add Condition, select In Category, select Auctions category (you need to create Auctions product category priror that)</li>
<li>click Save &amp; Close</li>
</ul>
<p><img decoding="async" loading="lazy" class="aligncenter size-full wp-image-1548" src="https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_3.png" alt="" width="1000" height="875" srcset="https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_3.png 1000w, https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_3-300x263.png 300w, https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_3-768x672.png 768w, https://wpinstitut.com/wp-content/uploads/2022/11/afw_elementor_3-416x364.png 416w" sizes="(max-width: 1000px) 100vw, 1000px"></p>
<p>In order to load and display newly created Elementor template we will define condition where we will load template for all products categorized as Auctions product category. Make sure you have some auctions in Auctions product category.</p>
<p>For end &#8211; one recommendation &#8211; Click Elementor &gt; Settings then go to Performance tab. Disable caching during developing and in production if you have issues. In case you have some questions feel free to open <a href="https://wpinstitut.com/support">support ticket</a>.</p>
<p>&nbsp;</p>
<p>That&#8217;s all!</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
